@aws-sdk/client-sqs 3.478.0 → 3.481.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 (97) hide show
  1. package/dist-cjs/commands/AddPermissionCommand.js +18 -41
  2. package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +18 -41
  3. package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +18 -41
  4. package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +18 -41
  5. package/dist-cjs/commands/CreateQueueCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteMessageBatchCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteMessageCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteQueueCommand.js +18 -41
  9. package/dist-cjs/commands/GetQueueAttributesCommand.js +18 -41
  10. package/dist-cjs/commands/GetQueueUrlCommand.js +18 -41
  11. package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +18 -41
  12. package/dist-cjs/commands/ListMessageMoveTasksCommand.js +18 -41
  13. package/dist-cjs/commands/ListQueueTagsCommand.js +18 -41
  14. package/dist-cjs/commands/ListQueuesCommand.js +18 -41
  15. package/dist-cjs/commands/PurgeQueueCommand.js +18 -41
  16. package/dist-cjs/commands/ReceiveMessageCommand.js +19 -42
  17. package/dist-cjs/commands/RemovePermissionCommand.js +18 -41
  18. package/dist-cjs/commands/SendMessageBatchCommand.js +19 -42
  19. package/dist-cjs/commands/SendMessageCommand.js +19 -42
  20. package/dist-cjs/commands/SetQueueAttributesCommand.js +18 -41
  21. package/dist-cjs/commands/StartMessageMoveTaskCommand.js +18 -41
  22. package/dist-cjs/commands/TagQueueCommand.js +18 -41
  23. package/dist-cjs/commands/UntagQueueCommand.js +18 -41
  24. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  25. package/dist-es/commands/AddPermissionCommand.js +18 -41
  26. package/dist-es/commands/CancelMessageMoveTaskCommand.js +18 -41
  27. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +18 -41
  28. package/dist-es/commands/ChangeMessageVisibilityCommand.js +18 -41
  29. package/dist-es/commands/CreateQueueCommand.js +18 -41
  30. package/dist-es/commands/DeleteMessageBatchCommand.js +18 -41
  31. package/dist-es/commands/DeleteMessageCommand.js +18 -41
  32. package/dist-es/commands/DeleteQueueCommand.js +18 -41
  33. package/dist-es/commands/GetQueueAttributesCommand.js +18 -41
  34. package/dist-es/commands/GetQueueUrlCommand.js +18 -41
  35. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +18 -41
  36. package/dist-es/commands/ListMessageMoveTasksCommand.js +18 -41
  37. package/dist-es/commands/ListQueueTagsCommand.js +18 -41
  38. package/dist-es/commands/ListQueuesCommand.js +18 -41
  39. package/dist-es/commands/PurgeQueueCommand.js +18 -41
  40. package/dist-es/commands/ReceiveMessageCommand.js +19 -42
  41. package/dist-es/commands/RemovePermissionCommand.js +18 -41
  42. package/dist-es/commands/SendMessageBatchCommand.js +19 -42
  43. package/dist-es/commands/SendMessageCommand.js +19 -42
  44. package/dist-es/commands/SetQueueAttributesCommand.js +18 -41
  45. package/dist-es/commands/StartMessageMoveTaskCommand.js +18 -41
  46. package/dist-es/commands/TagQueueCommand.js +18 -41
  47. package/dist-es/commands/UntagQueueCommand.js +18 -41
  48. package/dist-es/endpoint/EndpointParameters.js +6 -0
  49. package/dist-types/commands/AddPermissionCommand.d.ts +6 -21
  50. package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +6 -21
  51. package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +6 -21
  52. package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +6 -21
  53. package/dist-types/commands/CreateQueueCommand.d.ts +6 -21
  54. package/dist-types/commands/DeleteMessageBatchCommand.d.ts +6 -21
  55. package/dist-types/commands/DeleteMessageCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteQueueCommand.d.ts +6 -21
  57. package/dist-types/commands/GetQueueAttributesCommand.d.ts +6 -21
  58. package/dist-types/commands/GetQueueUrlCommand.d.ts +6 -21
  59. package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +6 -21
  60. package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +6 -21
  61. package/dist-types/commands/ListQueueTagsCommand.d.ts +6 -21
  62. package/dist-types/commands/ListQueuesCommand.d.ts +6 -21
  63. package/dist-types/commands/PurgeQueueCommand.d.ts +6 -21
  64. package/dist-types/commands/ReceiveMessageCommand.d.ts +6 -21
  65. package/dist-types/commands/RemovePermissionCommand.d.ts +6 -21
  66. package/dist-types/commands/SendMessageBatchCommand.d.ts +6 -21
  67. package/dist-types/commands/SendMessageCommand.d.ts +6 -21
  68. package/dist-types/commands/SetQueueAttributesCommand.d.ts +6 -21
  69. package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +6 -21
  70. package/dist-types/commands/TagQueueCommand.d.ts +6 -21
  71. package/dist-types/commands/UntagQueueCommand.d.ts +6 -21
  72. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  73. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +12 -24
  75. package/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/TagQueueCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  97. package/package.json +9 -9
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class AddPermissionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddPermissionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "AddPermissionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "AddPermission",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_AddPermissionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_AddPermissionCommand)(output, context);
49
- }
10
+ class AddPermissionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "AddPermission", {})
22
+ .n("SQSClient", "AddPermissionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_AddPermissionCommand)
25
+ .de(Aws_json1_0_1.de_AddPermissionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddPermissionCommand = AddPermissionCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class CancelMessageMoveTaskCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelMessageMoveTaskCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "CancelMessageMoveTaskCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "CancelMessageMoveTask",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_CancelMessageMoveTaskCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_CancelMessageMoveTaskCommand)(output, context);
49
- }
10
+ class CancelMessageMoveTaskCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "CancelMessageMoveTask", {})
22
+ .n("SQSClient", "CancelMessageMoveTaskCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_CancelMessageMoveTaskCommand)
25
+ .de(Aws_json1_0_1.de_CancelMessageMoveTaskCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CancelMessageMoveTaskCommand = CancelMessageMoveTaskCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class ChangeMessageVisibilityBatchCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ChangeMessageVisibilityBatchCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "ChangeMessageVisibilityBatchCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "ChangeMessageVisibilityBatch",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_ChangeMessageVisibilityBatchCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_ChangeMessageVisibilityBatchCommand)(output, context);
49
- }
10
+ class ChangeMessageVisibilityBatchCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "ChangeMessageVisibilityBatch", {})
22
+ .n("SQSClient", "ChangeMessageVisibilityBatchCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_ChangeMessageVisibilityBatchCommand)
25
+ .de(Aws_json1_0_1.de_ChangeMessageVisibilityBatchCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ChangeMessageVisibilityBatchCommand = ChangeMessageVisibilityBatchCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class ChangeMessageVisibilityCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ChangeMessageVisibilityCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "ChangeMessageVisibilityCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "ChangeMessageVisibility",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_ChangeMessageVisibilityCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_ChangeMessageVisibilityCommand)(output, context);
49
- }
10
+ class ChangeMessageVisibilityCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "ChangeMessageVisibility", {})
22
+ .n("SQSClient", "ChangeMessageVisibilityCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_ChangeMessageVisibilityCommand)
25
+ .de(Aws_json1_0_1.de_ChangeMessageVisibilityCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ChangeMessageVisibilityCommand = ChangeMessageVisibilityCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class CreateQueueCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateQueueCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "CreateQueueCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "CreateQueue",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_CreateQueueCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_CreateQueueCommand)(output, context);
49
- }
10
+ class CreateQueueCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "CreateQueue", {})
22
+ .n("SQSClient", "CreateQueueCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_CreateQueueCommand)
25
+ .de(Aws_json1_0_1.de_CreateQueueCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateQueueCommand = CreateQueueCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class DeleteMessageBatchCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteMessageBatchCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "DeleteMessageBatchCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "DeleteMessageBatch",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_DeleteMessageBatchCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_DeleteMessageBatchCommand)(output, context);
49
- }
10
+ class DeleteMessageBatchCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "DeleteMessageBatch", {})
22
+ .n("SQSClient", "DeleteMessageBatchCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_DeleteMessageBatchCommand)
25
+ .de(Aws_json1_0_1.de_DeleteMessageBatchCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteMessageBatchCommand = DeleteMessageBatchCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class DeleteMessageCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteMessageCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "DeleteMessageCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "DeleteMessage",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_DeleteMessageCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_DeleteMessageCommand)(output, context);
49
- }
10
+ class DeleteMessageCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "DeleteMessage", {})
22
+ .n("SQSClient", "DeleteMessageCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_DeleteMessageCommand)
25
+ .de(Aws_json1_0_1.de_DeleteMessageCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteMessageCommand = DeleteMessageCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class DeleteQueueCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteQueueCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "DeleteQueueCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "DeleteQueue",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_DeleteQueueCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_DeleteQueueCommand)(output, context);
49
- }
10
+ class DeleteQueueCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "DeleteQueue", {})
22
+ .n("SQSClient", "DeleteQueueCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_DeleteQueueCommand)
25
+ .de(Aws_json1_0_1.de_DeleteQueueCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteQueueCommand = DeleteQueueCommand;
@@ -5,47 +5,24 @@ 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
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class GetQueueAttributesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetQueueAttributesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SQSClient";
29
- const commandName = "GetQueueAttributesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonSQS",
38
- operation: "GetQueueAttributes",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_0_1.se_GetQueueAttributesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_0_1.de_GetQueueAttributesCommand)(output, context);
49
- }
10
+ class GetQueueAttributesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonSQS", "GetQueueAttributes", {})
22
+ .n("SQSClient", "GetQueueAttributesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_0_1.se_GetQueueAttributesCommand)
25
+ .de(Aws_json1_0_1.de_GetQueueAttributesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetQueueAttributesCommand = GetQueueAttributesCommand;