@aws-sdk/client-sqs 3.927.0 → 3.929.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 (44) hide show
  1. package/dist-cjs/index.js +1509 -1437
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SQSClient.js +2 -0
  4. package/dist-es/commands/AddPermissionCommand.js +3 -9
  5. package/dist-es/commands/CancelMessageMoveTaskCommand.js +3 -9
  6. package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +3 -9
  7. package/dist-es/commands/ChangeMessageVisibilityCommand.js +3 -9
  8. package/dist-es/commands/CreateQueueCommand.js +3 -9
  9. package/dist-es/commands/DeleteMessageBatchCommand.js +3 -9
  10. package/dist-es/commands/DeleteMessageCommand.js +3 -9
  11. package/dist-es/commands/DeleteQueueCommand.js +3 -9
  12. package/dist-es/commands/GetQueueAttributesCommand.js +3 -9
  13. package/dist-es/commands/GetQueueUrlCommand.js +3 -9
  14. package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +3 -9
  15. package/dist-es/commands/ListMessageMoveTasksCommand.js +3 -9
  16. package/dist-es/commands/ListQueueTagsCommand.js +3 -9
  17. package/dist-es/commands/ListQueuesCommand.js +3 -9
  18. package/dist-es/commands/PurgeQueueCommand.js +3 -9
  19. package/dist-es/commands/ReceiveMessageCommand.js +3 -10
  20. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  21. package/dist-es/commands/SendMessageBatchCommand.js +3 -10
  22. package/dist-es/commands/SendMessageCommand.js +3 -10
  23. package/dist-es/commands/SetQueueAttributesCommand.js +3 -9
  24. package/dist-es/commands/StartMessageMoveTaskCommand.js +3 -9
  25. package/dist-es/commands/TagQueueCommand.js +3 -9
  26. package/dist-es/commands/UntagQueueCommand.js +3 -9
  27. package/dist-es/runtimeConfig.shared.js +7 -0
  28. package/dist-es/schemas/schemas_0.js +1384 -0
  29. package/dist-types/SQSClient.d.ts +10 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +125 -0
  35. package/dist-types/ts3.4/SQSClient.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +131 -0
  41. package/package.json +5 -5
  42. package/dist-es/protocols/Aws_json1_0.js +0 -1193
  43. package/dist-types/protocols/Aws_json1_0.d.ts +0 -209
  44. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -281
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_0Protocol({
31
+ defaultNamespace: "com.amazonaws.sqs",
32
+ serviceTarget: "AmazonSQS",
33
+ awsQueryCompatible: true,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "SQS",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -5,6 +5,7 @@ import { getQueueUrlPlugin, resolveQueueUrlConfig, } from "@aws-sdk/middleware-s
5
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
6
  import { resolveRegionConfig } from "@smithy/config-resolver";
7
7
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
8
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
10
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
11
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -30,6 +31,7 @@ export class SQSClient extends __Client {
30
31
  const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
31
32
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
32
33
  this.config = _config_9;
34
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
35
  this.middlewareStack.use(getUserAgentPlugin(this.config));
34
36
  this.middlewareStack.use(getRetryPlugin(this.config));
35
37
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_json1_0";
4
+ import { AddPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddPermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "AddPermission", {})
17
13
  .n("SQSClient", "AddPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddPermissionCommand)
20
- .de(de_AddPermissionCommand)
14
+ .sc(AddPermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
4
+ import { CancelMessageMoveTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelMessageMoveTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "CancelMessageMoveTask", {})
17
13
  .n("SQSClient", "CancelMessageMoveTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelMessageMoveTaskCommand)
20
- .de(de_CancelMessageMoveTaskCommand)
14
+ .sc(CancelMessageMoveTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand, } from "../protocols/Aws_json1_0";
4
+ import { ChangeMessageVisibilityBatch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ChangeMessageVisibilityBatchCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "ChangeMessageVisibilityBatch", {})
17
13
  .n("SQSClient", "ChangeMessageVisibilityBatchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ChangeMessageVisibilityBatchCommand)
20
- .de(de_ChangeMessageVisibilityBatchCommand)
14
+ .sc(ChangeMessageVisibilityBatch)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ChangeMessageVisibilityCommand, se_ChangeMessageVisibilityCommand } from "../protocols/Aws_json1_0";
4
+ import { ChangeMessageVisibility } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ChangeMessageVisibilityCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "ChangeMessageVisibility", {})
17
13
  .n("SQSClient", "ChangeMessageVisibilityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ChangeMessageVisibilityCommand)
20
- .de(de_ChangeMessageVisibilityCommand)
14
+ .sc(ChangeMessageVisibility)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateQueueCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "CreateQueue", {})
17
13
  .n("SQSClient", "CreateQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateQueueCommand)
20
- .de(de_CreateQueueCommand)
14
+ .sc(CreateQueue)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteMessageBatchCommand, se_DeleteMessageBatchCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteMessageBatch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteMessageBatchCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "DeleteMessageBatch", {})
17
13
  .n("SQSClient", "DeleteMessageBatchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteMessageBatchCommand)
20
- .de(de_DeleteMessageBatchCommand)
14
+ .sc(DeleteMessageBatch)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteMessageCommand, se_DeleteMessageCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteMessage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteMessageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "DeleteMessage", {})
17
13
  .n("SQSClient", "DeleteMessageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteMessageCommand)
20
- .de(de_DeleteMessageCommand)
14
+ .sc(DeleteMessage)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteQueueCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "DeleteQueue", {})
17
13
  .n("SQSClient", "DeleteQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteQueueCommand)
20
- .de(de_DeleteQueueCommand)
14
+ .sc(DeleteQueue)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetQueueAttributesCommand, se_GetQueueAttributesCommand } from "../protocols/Aws_json1_0";
4
+ import { GetQueueAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetQueueAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "GetQueueAttributes", {})
17
13
  .n("SQSClient", "GetQueueAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetQueueAttributesCommand)
20
- .de(de_GetQueueAttributesCommand)
14
+ .sc(GetQueueAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetQueueUrlCommand, se_GetQueueUrlCommand } from "../protocols/Aws_json1_0";
4
+ import { GetQueueUrl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetQueueUrlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "GetQueueUrl", {})
17
13
  .n("SQSClient", "GetQueueUrlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetQueueUrlCommand)
20
- .de(de_GetQueueUrlCommand)
14
+ .sc(GetQueueUrl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDeadLetterSourceQueuesCommand, se_ListDeadLetterSourceQueuesCommand } from "../protocols/Aws_json1_0";
4
+ import { ListDeadLetterSourceQueues } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDeadLetterSourceQueuesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "ListDeadLetterSourceQueues", {})
17
13
  .n("SQSClient", "ListDeadLetterSourceQueuesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDeadLetterSourceQueuesCommand)
20
- .de(de_ListDeadLetterSourceQueuesCommand)
14
+ .sc(ListDeadLetterSourceQueues)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListMessageMoveTasksCommand, se_ListMessageMoveTasksCommand } from "../protocols/Aws_json1_0";
4
+ import { ListMessageMoveTasks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMessageMoveTasksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "ListMessageMoveTasks", {})
17
13
  .n("SQSClient", "ListMessageMoveTasksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMessageMoveTasksCommand)
20
- .de(de_ListMessageMoveTasksCommand)
14
+ .sc(ListMessageMoveTasks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_json1_0";
4
+ import { ListQueueTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListQueueTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "ListQueueTags", {})
17
13
  .n("SQSClient", "ListQueueTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListQueueTagsCommand)
20
- .de(de_ListQueueTagsCommand)
14
+ .sc(ListQueueTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_json1_0";
4
+ import { ListQueues } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListQueuesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "ListQueues", {})
17
13
  .n("SQSClient", "ListQueuesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListQueuesCommand)
20
- .de(de_ListQueuesCommand)
14
+ .sc(ListQueues)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_json1_0";
4
+ import { PurgeQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PurgeQueueCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "PurgeQueue", {})
17
13
  .n("SQSClient", "PurgeQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PurgeQueueCommand)
20
- .de(de_PurgeQueueCommand)
14
+ .sc(PurgeQueue)
21
15
  .build() {
22
16
  }
@@ -1,24 +1,17 @@
1
1
  import { getReceiveMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_json1_0";
5
+ import { ReceiveMessage } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class ReceiveMessageCommand extends $Command
9
8
  .classBuilder()
10
9
  .ep(commonParams)
11
10
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getReceiveMessagePlugin(config),
16
- ];
11
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getReceiveMessagePlugin(config)];
17
12
  })
18
13
  .s("AmazonSQS", "ReceiveMessage", {})
19
14
  .n("SQSClient", "ReceiveMessageCommand")
20
- .f(void 0, void 0)
21
- .ser(se_ReceiveMessageCommand)
22
- .de(de_ReceiveMessageCommand)
15
+ .sc(ReceiveMessage)
23
16
  .build() {
24
17
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_json1_0";
4
+ import { RemovePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemovePermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "RemovePermission", {})
17
13
  .n("SQSClient", "RemovePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemovePermissionCommand)
20
- .de(de_RemovePermissionCommand)
14
+ .sc(RemovePermission)
21
15
  .build() {
22
16
  }
@@ -1,24 +1,17 @@
1
1
  import { getSendMessageBatchPlugin } from "@aws-sdk/middleware-sdk-sqs";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_json1_0";
5
+ import { SendMessageBatch } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class SendMessageBatchCommand extends $Command
9
8
  .classBuilder()
10
9
  .ep(commonParams)
11
10
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getSendMessageBatchPlugin(config),
16
- ];
11
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getSendMessageBatchPlugin(config)];
17
12
  })
18
13
  .s("AmazonSQS", "SendMessageBatch", {})
19
14
  .n("SQSClient", "SendMessageBatchCommand")
20
- .f(void 0, void 0)
21
- .ser(se_SendMessageBatchCommand)
22
- .de(de_SendMessageBatchCommand)
15
+ .sc(SendMessageBatch)
23
16
  .build() {
24
17
  }
@@ -1,24 +1,17 @@
1
1
  import { getSendMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
- import { getSerdePlugin } from "@smithy/middleware-serde";
4
3
  import { Command as $Command } from "@smithy/smithy-client";
5
4
  import { commonParams } from "../endpoint/EndpointParameters";
6
- import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_json1_0";
5
+ import { SendMessage } from "../schemas/schemas_0";
7
6
  export { $Command };
8
7
  export class SendMessageCommand extends $Command
9
8
  .classBuilder()
10
9
  .ep(commonParams)
11
10
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getSendMessagePlugin(config),
16
- ];
11
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getSendMessagePlugin(config)];
17
12
  })
18
13
  .s("AmazonSQS", "SendMessage", {})
19
14
  .n("SQSClient", "SendMessageCommand")
20
- .f(void 0, void 0)
21
- .ser(se_SendMessageCommand)
22
- .de(de_SendMessageCommand)
15
+ .sc(SendMessage)
23
16
  .build() {
24
17
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_json1_0";
4
+ import { SetQueueAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetQueueAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "SetQueueAttributes", {})
17
13
  .n("SQSClient", "SetQueueAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetQueueAttributesCommand)
20
- .de(de_SetQueueAttributesCommand)
14
+ .sc(SetQueueAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartMessageMoveTaskCommand, se_StartMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
4
+ import { StartMessageMoveTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartMessageMoveTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "StartMessageMoveTask", {})
17
13
  .n("SQSClient", "StartMessageMoveTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartMessageMoveTaskCommand)
20
- .de(de_StartMessageMoveTaskCommand)
14
+ .sc(StartMessageMoveTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagQueueCommand, se_TagQueueCommand } from "../protocols/Aws_json1_0";
4
+ import { TagQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagQueueCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSQS", "TagQueue", {})
17
13
  .n("SQSClient", "TagQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagQueueCommand)
20
- .de(de_TagQueueCommand)
14
+ .sc(TagQueue)
21
15
  .build() {
22
16
  }