@aws-sdk/client-sqs 3.414.0 → 3.421.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.
Files changed (48) hide show
  1. package/README.md +7 -7
  2. package/dist-cjs/commands/AddPermissionCommand.js +5 -0
  3. package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +5 -0
  4. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +5 -0
  5. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +5 -0
  6. package/dist-cjs/commands/CreateQueueCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteMessageBatchCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteMessageCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteQueueCommand.js +5 -0
  10. package/dist-cjs/commands/GetQueueAttributesCommand.js +5 -0
  11. package/dist-cjs/commands/GetQueueUrlCommand.js +5 -0
  12. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +5 -0
  13. package/dist-cjs/commands/ListMessageMoveTasksCommand.js +5 -0
  14. package/dist-cjs/commands/ListQueueTagsCommand.js +5 -0
  15. package/dist-cjs/commands/ListQueuesCommand.js +5 -0
  16. package/dist-cjs/commands/PurgeQueueCommand.js +5 -0
  17. package/dist-cjs/commands/ReceiveMessageCommand.js +5 -0
  18. package/dist-cjs/commands/RemovePermissionCommand.js +5 -0
  19. package/dist-cjs/commands/SendMessageBatchCommand.js +5 -0
  20. package/dist-cjs/commands/SendMessageCommand.js +5 -0
  21. package/dist-cjs/commands/SetQueueAttributesCommand.js +5 -0
  22. package/dist-cjs/commands/StartMessageMoveTaskCommand.js +5 -0
  23. package/dist-cjs/commands/TagQueueCommand.js +5 -0
  24. package/dist-cjs/commands/UntagQueueCommand.js +5 -0
  25. package/dist-es/commands/AddPermissionCommand.js +5 -0
  26. package/dist-es/commands/CancelMessageMoveTaskCommand.js +5 -0
  27. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +5 -0
  28. package/dist-es/commands/ChangeMessageVisibilityCommand.js +5 -0
  29. package/dist-es/commands/CreateQueueCommand.js +5 -0
  30. package/dist-es/commands/DeleteMessageBatchCommand.js +5 -0
  31. package/dist-es/commands/DeleteMessageCommand.js +5 -0
  32. package/dist-es/commands/DeleteQueueCommand.js +5 -0
  33. package/dist-es/commands/GetQueueAttributesCommand.js +5 -0
  34. package/dist-es/commands/GetQueueUrlCommand.js +5 -0
  35. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +5 -0
  36. package/dist-es/commands/ListMessageMoveTasksCommand.js +5 -0
  37. package/dist-es/commands/ListQueueTagsCommand.js +5 -0
  38. package/dist-es/commands/ListQueuesCommand.js +5 -0
  39. package/dist-es/commands/PurgeQueueCommand.js +5 -0
  40. package/dist-es/commands/ReceiveMessageCommand.js +5 -0
  41. package/dist-es/commands/RemovePermissionCommand.js +5 -0
  42. package/dist-es/commands/SendMessageBatchCommand.js +5 -0
  43. package/dist-es/commands/SendMessageCommand.js +5 -0
  44. package/dist-es/commands/SetQueueAttributesCommand.js +5 -0
  45. package/dist-es/commands/StartMessageMoveTaskCommand.js +5 -0
  46. package/dist-es/commands/TagQueueCommand.js +5 -0
  47. package/dist-es/commands/UntagQueueCommand.js +5 -0
  48. package/package.json +33 -33
package/README.md CHANGED
@@ -94,16 +94,16 @@ using your favorite package manager:
94
94
 
95
95
  The AWS SDK is modulized by clients and commands.
96
96
  To send a request, you only need to import the `SQSClient` and
97
- the commands you need, for example `AddPermissionCommand`:
97
+ the commands you need, for example `ListQueuesCommand`:
98
98
 
99
99
  ```js
100
100
  // ES5 example
101
- const { SQSClient, AddPermissionCommand } = require("@aws-sdk/client-sqs");
101
+ const { SQSClient, ListQueuesCommand } = require("@aws-sdk/client-sqs");
102
102
  ```
103
103
 
104
104
  ```ts
105
105
  // ES6+ example
106
- import { SQSClient, AddPermissionCommand } from "@aws-sdk/client-sqs";
106
+ import { SQSClient, ListQueuesCommand } from "@aws-sdk/client-sqs";
107
107
  ```
108
108
 
109
109
  ### Usage
@@ -122,7 +122,7 @@ const client = new SQSClient({ region: "REGION" });
122
122
  const params = {
123
123
  /** input parameters */
124
124
  };
125
- const command = new AddPermissionCommand(params);
125
+ const command = new ListQueuesCommand(params);
126
126
  ```
127
127
 
128
128
  #### Async/await
@@ -201,7 +201,7 @@ const client = new AWS.SQS({ region: "REGION" });
201
201
 
202
202
  // async/await.
203
203
  try {
204
- const data = await client.addPermission(params);
204
+ const data = await client.listQueues(params);
205
205
  // process data.
206
206
  } catch (error) {
207
207
  // error handling.
@@ -209,7 +209,7 @@ try {
209
209
 
210
210
  // Promises.
211
211
  client
212
- .addPermission(params)
212
+ .listQueues(params)
213
213
  .then((data) => {
214
214
  // process data.
215
215
  })
@@ -218,7 +218,7 @@ client
218
218
  });
219
219
 
220
220
  // callbacks.
221
- client.addPermission(params, (err, data) => {
221
+ client.listQueues(params, (err, data) => {
222
222
  // process err and data.
223
223
  });
224
224
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class AddPermissionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class AddPermissionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "AddPermission",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CancelMessageMoveTaskCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CancelMessageMoveTaskCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "CancelMessageMoveTask",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ChangeMessageVisibilityBatchCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ChangeMessageVisibilityBatchCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "ChangeMessageVisibilityBatch",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ChangeMessageVisibilityCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ChangeMessageVisibilityCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "ChangeMessageVisibility",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class CreateQueueCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateQueueCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "CreateQueue",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteMessageBatchCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteMessageBatchCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "DeleteMessageBatch",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteMessageCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteMessageCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "DeleteMessage",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class DeleteQueueCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteQueueCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "DeleteQueue",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetQueueAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetQueueAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "GetQueueAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class GetQueueUrlCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetQueueUrlCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "GetQueueUrl",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListDeadLetterSourceQueuesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListDeadLetterSourceQueuesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "ListDeadLetterSourceQueues",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListMessageMoveTasksCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListMessageMoveTasksCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "ListMessageMoveTasks",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListQueueTagsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListQueueTagsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "ListQueueTags",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class ListQueuesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListQueuesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "ListQueues",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class PurgeQueueCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class PurgeQueueCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "PurgeQueue",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class ReceiveMessageCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class ReceiveMessageCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "AmazonSQS",
40
+ operation: "ReceiveMessage",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class RemovePermissionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class RemovePermissionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "RemovePermission",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class SendMessageBatchCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class SendMessageBatchCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "AmazonSQS",
40
+ operation: "SendMessageBatch",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class SendMessageCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -34,6 +35,10 @@ class SendMessageCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: (_) => _,
36
37
  outputFilterSensitiveLog: (_) => _,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "AmazonSQS",
40
+ operation: "SendMessage",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class SetQueueAttributesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class SetQueueAttributesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "SetQueueAttributes",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class StartMessageMoveTaskCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class StartMessageMoveTaskCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "StartMessageMoveTask",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class TagQueueCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class TagQueueCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "TagQueue",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_query_1 = require("../protocols/Aws_query");
9
10
  class UntagQueueCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UntagQueueCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonSQS",
38
+ operation: "UntagQueue",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class AddPermissionCommand extends $Command {
@@ -29,6 +30,10 @@ export class AddPermissionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "AddPermission",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class CancelMessageMoveTaskCommand extends $Command {
@@ -29,6 +30,10 @@ export class CancelMessageMoveTaskCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "CancelMessageMoveTask",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ChangeMessageVisibilityBatchCommand extends $Command {
@@ -29,6 +30,10 @@ export class ChangeMessageVisibilityBatchCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "ChangeMessageVisibilityBatch",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ChangeMessageVisibilityCommand, se_ChangeMessageVisibilityCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ChangeMessageVisibilityCommand extends $Command {
@@ -29,6 +30,10 @@ export class ChangeMessageVisibilityCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "ChangeMessageVisibility",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class CreateQueueCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateQueueCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "CreateQueue",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteMessageBatchCommand, se_DeleteMessageBatchCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class DeleteMessageBatchCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteMessageBatchCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "DeleteMessageBatch",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class DeleteMessageCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteMessageCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "DeleteMessage",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class DeleteQueueCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteQueueCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "DeleteQueue",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetQueueAttributesCommand, se_GetQueueAttributesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class GetQueueAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetQueueAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "GetQueueAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetQueueUrlCommand, se_GetQueueUrlCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class GetQueueUrlCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetQueueUrlCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "GetQueueUrl",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListDeadLetterSourceQueuesCommand, se_ListDeadLetterSourceQueuesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListDeadLetterSourceQueuesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListDeadLetterSourceQueuesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "ListDeadLetterSourceQueues",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListMessageMoveTasksCommand, se_ListMessageMoveTasksCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListMessageMoveTasksCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListMessageMoveTasksCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "ListMessageMoveTasks",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListQueueTagsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListQueueTagsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "ListQueueTags",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class ListQueuesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListQueuesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "ListQueues",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class PurgeQueueCommand extends $Command {
@@ -29,6 +30,10 @@ export class PurgeQueueCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "PurgeQueue",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getReceiveMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class ReceiveMessageCommand extends $Command {
@@ -31,6 +32,10 @@ export class ReceiveMessageCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AmazonSQS",
37
+ operation: "ReceiveMessage",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class RemovePermissionCommand extends $Command {
@@ -29,6 +30,10 @@ export class RemovePermissionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "RemovePermission",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getSendMessageBatchPlugin } from "@aws-sdk/middleware-sdk-sqs";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class SendMessageBatchCommand extends $Command {
@@ -31,6 +32,10 @@ export class SendMessageBatchCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AmazonSQS",
37
+ operation: "SendMessageBatch",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getSendMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class SendMessageCommand extends $Command {
@@ -31,6 +32,10 @@ export class SendMessageCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AmazonSQS",
37
+ operation: "SendMessage",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class SetQueueAttributesCommand extends $Command {
@@ -29,6 +30,10 @@ export class SetQueueAttributesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "SetQueueAttributes",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartMessageMoveTaskCommand, se_StartMessageMoveTaskCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class StartMessageMoveTaskCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartMessageMoveTaskCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "StartMessageMoveTask",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagQueueCommand, se_TagQueueCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class TagQueueCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagQueueCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "TagQueue",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_query";
5
6
  export { $Command };
6
7
  export class UntagQueueCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagQueueCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonSQS",
35
+ operation: "UntagQueue",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sqs",
3
3
  "description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
4
- "version": "3.414.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-sdk-sqs": "3.413.0",
30
- "@aws-sdk/middleware-signing": "3.413.0",
31
- "@aws-sdk/middleware-user-agent": "3.413.0",
32
- "@aws-sdk/region-config-resolver": "3.413.0",
33
- "@aws-sdk/types": "3.413.0",
34
- "@aws-sdk/util-endpoints": "3.413.0",
35
- "@aws-sdk/util-user-agent-browser": "3.413.0",
36
- "@aws-sdk/util-user-agent-node": "3.413.0",
37
- "@smithy/config-resolver": "^2.0.8",
38
- "@smithy/fetch-http-handler": "^2.1.3",
39
- "@smithy/hash-node": "^2.0.7",
40
- "@smithy/invalid-dependency": "^2.0.7",
41
- "@smithy/md5-js": "^2.0.7",
42
- "@smithy/middleware-content-length": "^2.0.9",
43
- "@smithy/middleware-endpoint": "^2.0.7",
44
- "@smithy/middleware-retry": "^2.0.10",
45
- "@smithy/middleware-serde": "^2.0.7",
46
- "@smithy/middleware-stack": "^2.0.0",
47
- "@smithy/node-config-provider": "^2.0.10",
48
- "@smithy/node-http-handler": "^2.1.3",
49
- "@smithy/protocol-http": "^3.0.3",
50
- "@smithy/smithy-client": "^2.1.4",
51
- "@smithy/types": "^2.3.1",
52
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-sdk-sqs": "3.418.0",
30
+ "@aws-sdk/middleware-signing": "3.418.0",
31
+ "@aws-sdk/middleware-user-agent": "3.418.0",
32
+ "@aws-sdk/region-config-resolver": "3.418.0",
33
+ "@aws-sdk/types": "3.418.0",
34
+ "@aws-sdk/util-endpoints": "3.418.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
36
+ "@aws-sdk/util-user-agent-node": "3.418.0",
37
+ "@smithy/config-resolver": "^2.0.10",
38
+ "@smithy/fetch-http-handler": "^2.1.5",
39
+ "@smithy/hash-node": "^2.0.9",
40
+ "@smithy/invalid-dependency": "^2.0.9",
41
+ "@smithy/md5-js": "^2.0.9",
42
+ "@smithy/middleware-content-length": "^2.0.11",
43
+ "@smithy/middleware-endpoint": "^2.0.9",
44
+ "@smithy/middleware-retry": "^2.0.12",
45
+ "@smithy/middleware-serde": "^2.0.9",
46
+ "@smithy/middleware-stack": "^2.0.2",
47
+ "@smithy/node-config-provider": "^2.0.12",
48
+ "@smithy/node-http-handler": "^2.1.5",
49
+ "@smithy/protocol-http": "^3.0.5",
50
+ "@smithy/smithy-client": "^2.1.6",
51
+ "@smithy/types": "^2.3.3",
52
+ "@smithy/url-parser": "^2.0.9",
53
53
  "@smithy/util-base64": "^2.0.0",
54
54
  "@smithy/util-body-length-browser": "^2.0.0",
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
- "@smithy/util-defaults-mode-browser": "^2.0.8",
57
- "@smithy/util-defaults-mode-node": "^2.0.10",
58
- "@smithy/util-retry": "^2.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
57
+ "@smithy/util-defaults-mode-node": "^2.0.12",
58
+ "@smithy/util-retry": "^2.0.2",
59
59
  "@smithy/util-utf8": "^2.0.0",
60
60
  "fast-xml-parser": "4.2.5",
61
61
  "tslib": "^2.5.0"