From b3f5a9d536b2b92c9e0a6856b90dfaed0d3b7db1 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 4 May 2023 19:41:12 +0000 Subject: [PATCH] feat(client-sqs): This release enables customers to call SQS using AWS JSON-1.0 protocol. --- clients/client-sqs/README.md | 17 +- clients/client-sqs/package.json | 1 - clients/client-sqs/src/SQS.ts | 45 +- clients/client-sqs/src/SQSClient.ts | 45 +- .../src/commands/AddPermissionCommand.ts | 79 +- .../ChangeMessageVisibilityBatchCommand.ts | 51 +- .../ChangeMessageVisibilityCommand.ts | 65 +- .../src/commands/CreateQueueCommand.ts | 84 +- .../src/commands/DeleteMessageBatchCommand.ts | 43 +- .../src/commands/DeleteMessageCommand.ts | 32 +- .../src/commands/DeleteQueueCommand.ts | 54 +- .../src/commands/GetQueueAttributesCommand.ts | 32 +- .../src/commands/GetQueueUrlCommand.ts | 41 +- .../ListDeadLetterSourceQueuesCommand.ts | 52 +- .../src/commands/ListQueueTagsCommand.ts | 42 +- .../src/commands/ListQueuesCommand.ts | 54 +- .../src/commands/PurgeQueueCommand.ts | 45 +- .../src/commands/ReceiveMessageCommand.ts | 105 +- .../src/commands/RemovePermissionCommand.ts | 44 +- .../src/commands/SendMessageBatchCommand.ts | 94 +- .../src/commands/SendMessageCommand.ts | 67 +- .../src/commands/SetQueueAttributesCommand.ts | 58 +- .../src/commands/TagQueueCommand.ts | 40 +- .../src/commands/UntagQueueCommand.ts | 39 +- clients/client-sqs/src/endpoint/ruleset.ts | 32 +- clients/client-sqs/src/models/models_0.ts | 1704 ++++++--- .../client-sqs/src/protocols/Aws_json1_0.ts | 2472 +++++++++++++ clients/client-sqs/src/protocols/Aws_query.ts | 3082 ----------------- 28 files changed, 4617 insertions(+), 3902 deletions(-) create mode 100644 clients/client-sqs/src/protocols/Aws_json1_0.ts delete mode 100644 clients/client-sqs/src/protocols/Aws_query.ts diff --git a/clients/client-sqs/README.md b/clients/client-sqs/README.md index da5aba00e7d1..65a6acfd48d8 100644 --- a/clients/client-sqs/README.md +++ b/clients/client-sqs/README.md @@ -10,12 +10,15 @@ AWS SDK for JavaScript SQS Client for Node.js, Browser and React Native.

Welcome to the Amazon SQS API Reference.

-

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.

-

For information on the permissions you need to use this API, see -Identity and -access management in the Amazon SQS Developer Guide. +

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel +between applications or microservices. Amazon SQS moves data between distributed application +components and helps you decouple these components.

+

For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer +Guide.

-

You can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:

+

You can use Amazon Web Services SDKs to access +Amazon SQS using your favorite programming language. The SDKs perform tasks such as the +following automatically:

-

Additional information

@@ -72,7 +74,8 @@ access management in the Amazon SQS Developer Guide. diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index b47a20257898..37bbb919a05f 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -55,7 +55,6 @@ "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", "@aws-sdk/util-utf8": "*", - "fast-xml-parser": "4.1.2", "tslib": "^2.5.0" }, "devDependencies": { diff --git a/clients/client-sqs/src/SQS.ts b/clients/client-sqs/src/SQS.ts index e00930d4afc9..329bd80d22aa 100644 --- a/clients/client-sqs/src/SQS.ts +++ b/clients/client-sqs/src/SQS.ts @@ -371,38 +371,40 @@ export interface SQS { /** * @public *

Welcome to the Amazon SQS API Reference.

- *

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.

- *

For information on the permissions you need to use this API, see - * Identity and - * access management in the Amazon SQS Developer Guide. + *

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel + * between applications or microservices. Amazon SQS moves data between distributed application + * components and helps you decouple these components.

+ *

For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer + * Guide. *

- *

You can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:

- *