@aws-sdk/client-sqs 3.927.0 → 3.928.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
@@ -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_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_json1_0";
4
+ import { UntagQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagQueueCommand 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", "UntagQueue", {})
17
13
  .n("SQSClient", "UntagQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagQueueCommand)
20
- .de(de_UntagQueueCommand)
14
+ .sc(UntagQueue)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_0Protocol({
28
+ defaultNamespace: "com.amazonaws.sqs",
29
+ serviceTarget: "AmazonSQS",
30
+ awsQueryCompatible: true,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "SQS",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,