@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
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { SendMessageRequest, SendMessageResult } from "../models/models_0";
10
4
  import {
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface SendMessageCommandInput extends SendMessageRequest {}
17
11
  export interface SendMessageCommandOutput
18
12
  extends SendMessageResult,
19
13
  __MetadataBearer {}
20
- export declare class SendMessageCommand extends $Command<
21
- SendMessageCommandInput,
22
- SendMessageCommandOutput,
23
- SQSClientResolvedConfig
24
- > {
25
- readonly input: SendMessageCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: SendMessageCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: SQSClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<SendMessageCommandInput, SendMessageCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const SendMessageCommand_base: {
15
+ new (
16
+ input: SendMessageCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ SendMessageCommandInput,
19
+ SendMessageCommandOutput,
20
+ SQSClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class SendMessageCommand extends SendMessageCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { SetQueueAttributesRequest } from "../models/models_0";
10
4
  import {
11
5
  ServiceInputTypes,
@@ -16,19 +10,16 @@ export { __MetadataBearer, $Command };
16
10
  export interface SetQueueAttributesCommandInput
17
11
  extends SetQueueAttributesRequest {}
18
12
  export interface SetQueueAttributesCommandOutput extends __MetadataBearer {}
19
- export declare class SetQueueAttributesCommand extends $Command<
20
- SetQueueAttributesCommandInput,
21
- SetQueueAttributesCommandOutput,
22
- SQSClientResolvedConfig
23
- > {
24
- readonly input: SetQueueAttributesCommandInput;
25
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
- constructor(input: SetQueueAttributesCommandInput);
27
- resolveMiddleware(
28
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
- configuration: SQSClientResolvedConfig,
30
- options?: __HttpHandlerOptions
31
- ): Handler<SetQueueAttributesCommandInput, SetQueueAttributesCommandOutput>;
32
- private serialize;
33
- private deserialize;
34
- }
13
+ declare const SetQueueAttributesCommand_base: {
14
+ new (
15
+ input: SetQueueAttributesCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
17
+ SetQueueAttributesCommandInput,
18
+ SetQueueAttributesCommandOutput,
19
+ SQSClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
22
+ >;
23
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
24
+ };
25
+ export declare class SetQueueAttributesCommand extends SetQueueAttributesCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  StartMessageMoveTaskRequest,
11
5
  StartMessageMoveTaskResult,
@@ -21,22 +15,16 @@ export interface StartMessageMoveTaskCommandInput
21
15
  export interface StartMessageMoveTaskCommandOutput
22
16
  extends StartMessageMoveTaskResult,
23
17
  __MetadataBearer {}
24
- export declare class StartMessageMoveTaskCommand extends $Command<
25
- StartMessageMoveTaskCommandInput,
26
- StartMessageMoveTaskCommandOutput,
27
- SQSClientResolvedConfig
28
- > {
29
- readonly input: StartMessageMoveTaskCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: StartMessageMoveTaskCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: SQSClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const StartMessageMoveTaskCommand_base: {
19
+ new (
20
+ input: StartMessageMoveTaskCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  StartMessageMoveTaskCommandInput,
38
- StartMessageMoveTaskCommandOutput
23
+ StartMessageMoveTaskCommandOutput,
24
+ SQSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class StartMessageMoveTaskCommand extends StartMessageMoveTaskCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { TagQueueRequest } from "../models/models_0";
10
4
  import {
11
5
  ServiceInputTypes,
@@ -15,19 +9,16 @@ import {
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface TagQueueCommandInput extends TagQueueRequest {}
17
11
  export interface TagQueueCommandOutput extends __MetadataBearer {}
18
- export declare class TagQueueCommand extends $Command<
19
- TagQueueCommandInput,
20
- TagQueueCommandOutput,
21
- SQSClientResolvedConfig
22
- > {
23
- readonly input: TagQueueCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: TagQueueCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: SQSClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<TagQueueCommandInput, TagQueueCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const TagQueueCommand_base: {
13
+ new (
14
+ input: TagQueueCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ TagQueueCommandInput,
17
+ TagQueueCommandOutput,
18
+ SQSClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class TagQueueCommand extends TagQueueCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { UntagQueueRequest } from "../models/models_0";
10
4
  import {
11
5
  ServiceInputTypes,
@@ -15,19 +9,16 @@ import {
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface UntagQueueCommandInput extends UntagQueueRequest {}
17
11
  export interface UntagQueueCommandOutput extends __MetadataBearer {}
18
- export declare class UntagQueueCommand extends $Command<
19
- UntagQueueCommandInput,
20
- UntagQueueCommandOutput,
21
- SQSClientResolvedConfig
22
- > {
23
- readonly input: UntagQueueCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: UntagQueueCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: SQSClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<UntagQueueCommandInput, UntagQueueCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const UntagQueueCommand_base: {
13
+ new (
14
+ input: UntagQueueCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ UntagQueueCommandInput,
17
+ UntagQueueCommandOutput,
18
+ SQSClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class UntagQueueCommand extends UntagQueueCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.478.0",
4
+ "version": "3.481.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -34,27 +34,27 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/md5-js": "^2.0.17",
42
42
  "@smithy/middleware-content-length": "^2.0.17",
43
43
  "@smithy/middleware-endpoint": "^2.2.3",
44
- "@smithy/middleware-retry": "^2.0.24",
44
+ "@smithy/middleware-retry": "^2.0.25",
45
45
  "@smithy/middleware-serde": "^2.0.15",
46
46
  "@smithy/middleware-stack": "^2.0.9",
47
47
  "@smithy/node-config-provider": "^2.1.8",
48
48
  "@smithy/node-http-handler": "^2.2.1",
49
49
  "@smithy/protocol-http": "^3.0.11",
50
- "@smithy/smithy-client": "^2.1.18",
50
+ "@smithy/smithy-client": "^2.2.0",
51
51
  "@smithy/types": "^2.7.0",
52
52
  "@smithy/url-parser": "^2.0.15",
53
53
  "@smithy/util-base64": "^2.0.1",
54
54
  "@smithy/util-body-length-browser": "^2.0.1",
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
- "@smithy/util-defaults-mode-browser": "^2.0.22",
57
- "@smithy/util-defaults-mode-node": "^2.0.29",
56
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
57
+ "@smithy/util-defaults-mode-node": "^2.0.30",
58
58
  "@smithy/util-endpoints": "^1.0.7",
59
59
  "@smithy/util-middleware": "^2.0.8",
60
60
  "@smithy/util-retry": "^2.0.8",