Skip to content

Commit

Permalink
feat(client-datasync): Task executions now display a CANCELLING statu…
Browse files Browse the repository at this point in the history
…s when an execution is in the process of being cancelled.
  • Loading branch information
awstools committed May 15, 2024
1 parent 91b3891 commit ef2c2a5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface DescribeTaskExecutionCommandOutput extends DescribeTaskExecutio
* const response = await client.send(command);
* // { // DescribeTaskExecutionResponse
* // TaskExecutionArn: "STRING_VALUE",
* // Status: "QUEUED" || "LAUNCHING" || "PREPARING" || "TRANSFERRING" || "VERIFYING" || "SUCCESS" || "ERROR",
* // Status: "QUEUED" || "CANCELLING" || "LAUNCHING" || "PREPARING" || "TRANSFERRING" || "VERIFYING" || "SUCCESS" || "ERROR",
* // Options: { // Options
* // VerifyMode: "POINT_IN_TIME_CONSISTENT" || "ONLY_FILES_TRANSFERRED" || "NONE",
* // OverwriteMode: "ALWAYS" || "NEVER",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsRespo
* // TaskExecutions: [ // TaskExecutionList
* // { // TaskExecutionListEntry
* // TaskExecutionArn: "STRING_VALUE",
* // Status: "QUEUED" || "LAUNCHING" || "PREPARING" || "TRANSFERRING" || "VERIFYING" || "SUCCESS" || "ERROR",
* // Status: "QUEUED" || "CANCELLING" || "LAUNCHING" || "PREPARING" || "TRANSFERRING" || "VERIFYING" || "SUCCESS" || "ERROR",
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
1 change: 1 addition & 0 deletions clients/client-datasync/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4871,6 +4871,7 @@ export interface TaskExecutionResultDetail {
* @enum
*/
export const TaskExecutionStatus = {
CANCELLING: "CANCELLING",
ERROR: "ERROR",
LAUNCHING: "LAUNCHING",
PREPARING: "PREPARING",
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/datasync.json
Original file line number Diff line number Diff line change
Expand Up @@ -8533,6 +8533,12 @@
"smithy.api#enumValue": "QUEUED"
}
},
"CANCELLING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CANCELLING"
}
},
"LAUNCHING": {
"target": "smithy.api#Unit",
"traits": {
Expand Down

0 comments on commit ef2c2a5

Please sign in to comment.