@aws-sdk/client-sqs 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/SQSClient.js +13 -13
- package/dist-cjs/commands/AddPermissionCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +3 -3
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +3 -3
- package/dist-cjs/commands/CreateQueueCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +3 -3
- package/dist-cjs/commands/DeleteMessageCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +3 -3
- package/dist-cjs/commands/GetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/GetQueueUrlCommand.js +3 -3
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +3 -3
- package/dist-cjs/commands/ListQueueTagsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuesCommand.js +3 -3
- package/dist-cjs/commands/PurgeQueueCommand.js +3 -3
- package/dist-cjs/commands/ReceiveMessageCommand.js +4 -4
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SendMessageBatchCommand.js +4 -4
- package/dist-cjs/commands/SendMessageCommand.js +4 -4
- package/dist-cjs/commands/SetQueueAttributesCommand.js +3 -3
- package/dist-cjs/commands/TagQueueCommand.js +3 -3
- package/dist-cjs/commands/UntagQueueCommand.js +3 -3
- package/dist-cjs/endpoints.js +2 -2
- package/dist-cjs/protocols/Aws_query.js +88 -88
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/SQS.js +20 -20
- package/dist-es/endpoints.js +1 -1
- package/dist-es/pagination/ListDeadLetterSourceQueuesPaginator.js +4 -4
- package/dist-es/pagination/ListQueuesPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +39 -39
- package/dist-types/SQSClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/SQSClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +36 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sqs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-sqs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
34
|
|
|
8
35
|
|
package/dist-cjs/SQSClient.js
CHANGED
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class SQSClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class AddPermissionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class AddPermissionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryAddPermissionCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryAddPermissionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryAddPermissionCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryAddPermissionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.AddPermissionCommand = AddPermissionCommand;
|
|
@@ -11,7 +11,7 @@ class ChangeMessageVisibilityBatchCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class ChangeMessageVisibilityBatchCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryChangeMessageVisibilityBatchCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryChangeMessageVisibilityBatchCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryChangeMessageVisibilityBatchCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryChangeMessageVisibilityBatchCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ChangeMessageVisibilityBatchCommand = ChangeMessageVisibilityBatchCommand;
|
|
@@ -11,7 +11,7 @@ class ChangeMessageVisibilityCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class ChangeMessageVisibilityCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryChangeMessageVisibilityCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryChangeMessageVisibilityCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryChangeMessageVisibilityCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryChangeMessageVisibilityCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ChangeMessageVisibilityCommand = ChangeMessageVisibilityCommand;
|
|
@@ -11,7 +11,7 @@ class CreateQueueCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class CreateQueueCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryCreateQueueCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryCreateQueueCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryCreateQueueCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryCreateQueueCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateQueueCommand = CreateQueueCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteMessageBatchCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class DeleteMessageBatchCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryDeleteMessageBatchCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryDeleteMessageBatchCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryDeleteMessageBatchCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryDeleteMessageBatchCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteMessageBatchCommand = DeleteMessageBatchCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteMessageCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class DeleteMessageCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryDeleteMessageCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryDeleteMessageCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryDeleteMessageCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryDeleteMessageCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteMessageCommand = DeleteMessageCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteQueueCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class DeleteQueueCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryDeleteQueueCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryDeleteQueueCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryDeleteQueueCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryDeleteQueueCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteQueueCommand = DeleteQueueCommand;
|
|
@@ -11,7 +11,7 @@ class GetQueueAttributesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class GetQueueAttributesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryGetQueueAttributesCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryGetQueueAttributesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryGetQueueAttributesCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryGetQueueAttributesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetQueueAttributesCommand = GetQueueAttributesCommand;
|
|
@@ -11,7 +11,7 @@ class GetQueueUrlCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class GetQueueUrlCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryGetQueueUrlCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryGetQueueUrlCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryGetQueueUrlCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryGetQueueUrlCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetQueueUrlCommand = GetQueueUrlCommand;
|
|
@@ -11,7 +11,7 @@ class ListDeadLetterSourceQueuesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class ListDeadLetterSourceQueuesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryListDeadLetterSourceQueuesCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryListDeadLetterSourceQueuesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryListDeadLetterSourceQueuesCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryListDeadLetterSourceQueuesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListDeadLetterSourceQueuesCommand = ListDeadLetterSourceQueuesCommand;
|
|
@@ -11,7 +11,7 @@ class ListQueueTagsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class ListQueueTagsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryListQueueTagsCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryListQueueTagsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryListQueueTagsCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryListQueueTagsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListQueueTagsCommand = ListQueueTagsCommand;
|
|
@@ -11,7 +11,7 @@ class ListQueuesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class ListQueuesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryListQueuesCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryListQueuesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryListQueuesCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryListQueuesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListQueuesCommand = ListQueuesCommand;
|
|
@@ -11,7 +11,7 @@ class PurgeQueueCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class PurgeQueueCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryPurgeQueueCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryPurgeQueueCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryPurgeQueueCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryPurgeQueueCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.PurgeQueueCommand = PurgeQueueCommand;
|
|
@@ -12,8 +12,8 @@ class ReceiveMessageCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_sdk_sqs_1.getReceiveMessagePlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_sdk_sqs_1.getReceiveMessagePlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "SQSClient";
|
|
@@ -29,10 +29,10 @@ class ReceiveMessageCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_query_1.serializeAws_queryReceiveMessageCommand(input, context);
|
|
32
|
+
return (0, Aws_query_1.serializeAws_queryReceiveMessageCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_query_1.deserializeAws_queryReceiveMessageCommand(output, context);
|
|
35
|
+
return (0, Aws_query_1.deserializeAws_queryReceiveMessageCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ReceiveMessageCommand = ReceiveMessageCommand;
|
|
@@ -11,7 +11,7 @@ class RemovePermissionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class RemovePermissionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryRemovePermissionCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryRemovePermissionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryRemovePermissionCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryRemovePermissionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.RemovePermissionCommand = RemovePermissionCommand;
|
|
@@ -12,8 +12,8 @@ class SendMessageBatchCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_sdk_sqs_1.getSendMessageBatchPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_sdk_sqs_1.getSendMessageBatchPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "SQSClient";
|
|
@@ -29,10 +29,10 @@ class SendMessageBatchCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_query_1.serializeAws_querySendMessageBatchCommand(input, context);
|
|
32
|
+
return (0, Aws_query_1.serializeAws_querySendMessageBatchCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_query_1.deserializeAws_querySendMessageBatchCommand(output, context);
|
|
35
|
+
return (0, Aws_query_1.deserializeAws_querySendMessageBatchCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.SendMessageBatchCommand = SendMessageBatchCommand;
|
|
@@ -12,8 +12,8 @@ class SendMessageCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_sdk_sqs_1.getSendMessagePlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_sdk_sqs_1.getSendMessagePlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "SQSClient";
|
|
@@ -29,10 +29,10 @@ class SendMessageCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_query_1.serializeAws_querySendMessageCommand(input, context);
|
|
32
|
+
return (0, Aws_query_1.serializeAws_querySendMessageCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_query_1.deserializeAws_querySendMessageCommand(output, context);
|
|
35
|
+
return (0, Aws_query_1.deserializeAws_querySendMessageCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.SendMessageCommand = SendMessageCommand;
|
|
@@ -11,7 +11,7 @@ class SetQueueAttributesCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class SetQueueAttributesCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_querySetQueueAttributesCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_querySetQueueAttributesCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_querySetQueueAttributesCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_querySetQueueAttributesCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.SetQueueAttributesCommand = SetQueueAttributesCommand;
|
|
@@ -11,7 +11,7 @@ class TagQueueCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class TagQueueCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryTagQueueCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryTagQueueCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryTagQueueCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryTagQueueCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagQueueCommand = TagQueueCommand;
|
|
@@ -11,7 +11,7 @@ class UntagQueueCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SQSClient";
|
|
@@ -27,10 +27,10 @@ class UntagQueueCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_query_1.serializeAws_queryUntagQueueCommand(input, context);
|
|
30
|
+
return (0, Aws_query_1.serializeAws_queryUntagQueueCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_query_1.deserializeAws_queryUntagQueueCommand(output, context);
|
|
33
|
+
return (0, Aws_query_1.deserializeAws_queryUntagQueueCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagQueueCommand = UntagQueueCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -163,7 +163,7 @@ const partitionHash = {
|
|
|
163
163
|
tags: [],
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
hostname: "sqs
|
|
166
|
+
hostname: "sqs.{region}.amazonaws.com",
|
|
167
167
|
tags: ["fips"],
|
|
168
168
|
},
|
|
169
169
|
{
|
|
@@ -177,7 +177,7 @@ const partitionHash = {
|
|
|
177
177
|
],
|
|
178
178
|
},
|
|
179
179
|
};
|
|
180
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
180
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
181
181
|
...options,
|
|
182
182
|
signingService: "sqs",
|
|
183
183
|
regionHash,
|