Skip to content

Commit

Permalink
feat(client-sqs): This release enables customers to call SQS using AW…
Browse files Browse the repository at this point in the history
…S JSON-1.0 protocol and bug fix.
  • Loading branch information
awstools committed Nov 9, 2023
1 parent 3caf215 commit 1bcf848
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export interface ListMessageMoveTasksCommandOutput extends ListMessageMoveTasksR
* // Results: [ // ListMessageMoveTasksResultEntryList
* // { // ListMessageMoveTasksResultEntry
* // TaskHandle: "STRING_VALUE",
* // Status: "RUNNING" || "FAILED" || "CANCELLING" || "CANCELLED" || "COMPLETED",
* // Status: "STRING_VALUE",
* // SourceArn: "STRING_VALUE",
* // DestinationArn: "STRING_VALUE",
* // MaxNumberOfMessagesPerSecond: Number("int"),
Expand Down
19 changes: 1 addition & 18 deletions clients/client-sqs/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1468,23 +1468,6 @@ export interface ListMessageMoveTasksRequest {
MaxResults?: number;
}

/**
* @public
* @enum
*/
export const TaskStatus = {
CANCELLED: "CANCELLED",
CANCELLING: "CANCELLING",
COMPLETED: "COMPLETED",
FAILED: "FAILED",
RUNNING: "RUNNING",
} as const;

/**
* @public
*/
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];

/**
* @public
* <p>Contains the details of a message movement task. </p>
Expand All @@ -1503,7 +1486,7 @@ export interface ListMessageMoveTasksResultEntry {
* <p>The status of the message movement task. Possible values are: RUNNING, COMPLETED,
* CANCELLING, CANCELLED, and FAILED.</p>
*/
Status?: TaskStatus;
Status?: string;

/**
* @public
Expand Down
37 changes: 1 addition & 36 deletions codegen/sdk-codegen/aws-models/sqs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,7 @@
}
},
"Status": {
"target": "com.amazonaws.sqs#TaskStatus",
"target": "com.amazonaws.sqs#String",
"traits": {
"smithy.api#documentation": "<p>The status of the message movement task. Possible values are: RUNNING, COMPLETED,\n CANCELLING, CANCELLED, and FAILED.</p>"
}
Expand Down Expand Up @@ -4076,41 +4076,6 @@
"com.amazonaws.sqs#TagValue": {
"type": "string"
},
"com.amazonaws.sqs#TaskStatus": {
"type": "enum",
"members": {
"RUNNING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "RUNNING"
}
},
"FAILED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FAILED"
}
},
"CANCELLING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CANCELLING"
}
},
"CANCELLED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CANCELLED"
}
},
"COMPLETED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "COMPLETED"
}
}
}
},
"com.amazonaws.sqs#Token": {
"type": "string"
},
Expand Down

0 comments on commit 1bcf848

Please sign in to comment.