@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,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagQueueCommand, se_UntagQueueCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class UntagQueueCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagQueueCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SQSClient";
26
- const commandName = "UntagQueueCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonSQS",
35
- operation: "UntagQueue",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagQueueCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagQueueCommand(output, context);
46
- }
7
+ export class UntagQueueCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonSQS", "UntagQueue", {})
19
+ .n("SQSClient", "UntagQueueCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagQueueCommand)
22
+ .de(de_UntagQueueCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "sqs",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AddPermissionRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddPermissionCommandInput extends AddPermissionRequest {
21
20
  */
22
21
  export interface AddPermissionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AddPermissionCommand_base: {
24
+ new (input: AddPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddPermissionCommandInput, AddPermissionCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a permission to a queue for a specific <a href="https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P">principal</a>. This allows sharing
@@ -130,23 +133,5 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
130
133
  * <p>Base exception class for all service exceptions from SQS service.</p>
131
134
  *
132
135
  */
133
- export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SQSClientResolvedConfig> {
134
- readonly input: AddPermissionCommandInput;
135
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
136
- /**
137
- * @public
138
- */
139
- constructor(input: AddPermissionCommandInput);
140
- /**
141
- * @internal
142
- */
143
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
144
- /**
145
- * @internal
146
- */
147
- private serialize;
148
- /**
149
- * @internal
150
- */
151
- private deserialize;
136
+ export declare class AddPermissionCommand extends AddPermissionCommand_base {
152
137
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CancelMessageMoveTaskRequest, CancelMessageMoveTaskResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelMessageMoveTaskCommandInput extends CancelMessageMoveTask
21
20
  */
22
21
  export interface CancelMessageMoveTaskCommandOutput extends CancelMessageMoveTaskResult, __MetadataBearer {
23
22
  }
23
+ declare const CancelMessageMoveTaskCommand_base: {
24
+ new (input: CancelMessageMoveTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelMessageMoveTaskCommandInput, CancelMessageMoveTaskCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels a specified message movement task. A message movement can only be cancelled
@@ -102,23 +105,5 @@ export interface CancelMessageMoveTaskCommandOutput extends CancelMessageMoveTas
102
105
  * <p>Base exception class for all service exceptions from SQS service.</p>
103
106
  *
104
107
  */
105
- export declare class CancelMessageMoveTaskCommand extends $Command<CancelMessageMoveTaskCommandInput, CancelMessageMoveTaskCommandOutput, SQSClientResolvedConfig> {
106
- readonly input: CancelMessageMoveTaskCommandInput;
107
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
- /**
109
- * @public
110
- */
111
- constructor(input: CancelMessageMoveTaskCommandInput);
112
- /**
113
- * @internal
114
- */
115
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelMessageMoveTaskCommandInput, CancelMessageMoveTaskCommandOutput>;
116
- /**
117
- * @internal
118
- */
119
- private serialize;
120
- /**
121
- * @internal
122
- */
123
- private deserialize;
108
+ export declare class CancelMessageMoveTaskCommand extends CancelMessageMoveTaskCommand_base {
124
109
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ChangeMessageVisibilityBatchRequest, ChangeMessageVisibilityBatchResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ChangeMessageVisibilityBatchCommandInput extends ChangeMessageV
21
20
  */
22
21
  export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessageVisibilityBatchResult, __MetadataBearer {
23
22
  }
23
+ declare const ChangeMessageVisibilityBatchCommand_base: {
24
+ new (input: ChangeMessageVisibilityBatchCommandInput): import("@smithy/smithy-client").CommandImpl<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Changes the visibility timeout of multiple messages. This is a batch version of
@@ -126,23 +129,5 @@ export interface ChangeMessageVisibilityBatchCommandOutput extends ChangeMessage
126
129
  * <p>Base exception class for all service exceptions from SQS service.</p>
127
130
  *
128
131
  */
129
- export declare class ChangeMessageVisibilityBatchCommand extends $Command<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig> {
130
- readonly input: ChangeMessageVisibilityBatchCommandInput;
131
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
132
- /**
133
- * @public
134
- */
135
- constructor(input: ChangeMessageVisibilityBatchCommandInput);
136
- /**
137
- * @internal
138
- */
139
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput>;
140
- /**
141
- * @internal
142
- */
143
- private serialize;
144
- /**
145
- * @internal
146
- */
147
- private deserialize;
132
+ export declare class ChangeMessageVisibilityBatchCommand extends ChangeMessageVisibilityBatchCommand_base {
148
133
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ChangeMessageVisibilityRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ChangeMessageVisibilityCommandInput extends ChangeMessageVisibi
21
20
  */
22
21
  export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const ChangeMessageVisibilityCommand_base: {
24
+ new (input: ChangeMessageVisibilityCommandInput): import("@smithy/smithy-client").CommandImpl<ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Changes the visibility timeout of a specified message in a queue to a new value. The
@@ -138,23 +141,5 @@ export interface ChangeMessageVisibilityCommandOutput extends __MetadataBearer {
138
141
  * <p>Base exception class for all service exceptions from SQS service.</p>
139
142
  *
140
143
  */
141
- export declare class ChangeMessageVisibilityCommand extends $Command<ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput, SQSClientResolvedConfig> {
142
- readonly input: ChangeMessageVisibilityCommandInput;
143
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
144
- /**
145
- * @public
146
- */
147
- constructor(input: ChangeMessageVisibilityCommandInput);
148
- /**
149
- * @internal
150
- */
151
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ChangeMessageVisibilityCommandInput, ChangeMessageVisibilityCommandOutput>;
152
- /**
153
- * @internal
154
- */
155
- private serialize;
156
- /**
157
- * @internal
158
- */
159
- private deserialize;
144
+ export declare class ChangeMessageVisibilityCommand extends ChangeMessageVisibilityCommand_base {
160
145
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateQueueRequest, CreateQueueResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateQueueCommandInput extends CreateQueueRequest {
21
20
  */
22
21
  export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateQueueCommand_base: {
24
+ new (input: CreateQueueCommandInput): import("@smithy/smithy-client").CommandImpl<CreateQueueCommandInput, CreateQueueCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new standard or FIFO queue. You can pass one or more attributes in the
@@ -151,23 +154,5 @@ export interface CreateQueueCommandOutput extends CreateQueueResult, __MetadataB
151
154
  * <p>Base exception class for all service exceptions from SQS service.</p>
152
155
  *
153
156
  */
154
- export declare class CreateQueueCommand extends $Command<CreateQueueCommandInput, CreateQueueCommandOutput, SQSClientResolvedConfig> {
155
- readonly input: CreateQueueCommandInput;
156
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
157
- /**
158
- * @public
159
- */
160
- constructor(input: CreateQueueCommandInput);
161
- /**
162
- * @internal
163
- */
164
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateQueueCommandInput, CreateQueueCommandOutput>;
165
- /**
166
- * @internal
167
- */
168
- private serialize;
169
- /**
170
- * @internal
171
- */
172
- private deserialize;
157
+ export declare class CreateQueueCommand extends CreateQueueCommand_base {
173
158
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteMessageBatchRequest, DeleteMessageBatchResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteMessageBatchCommandInput extends DeleteMessageBatchReques
21
20
  */
22
21
  export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteMessageBatchCommand_base: {
24
+ new (input: DeleteMessageBatchCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes up to ten messages from the specified queue. This is a batch version of
@@ -121,23 +124,5 @@ export interface DeleteMessageBatchCommandOutput extends DeleteMessageBatchResul
121
124
  * <p>Base exception class for all service exceptions from SQS service.</p>
122
125
  *
123
126
  */
124
- export declare class DeleteMessageBatchCommand extends $Command<DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput, SQSClientResolvedConfig> {
125
- readonly input: DeleteMessageBatchCommandInput;
126
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
127
- /**
128
- * @public
129
- */
130
- constructor(input: DeleteMessageBatchCommandInput);
131
- /**
132
- * @internal
133
- */
134
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMessageBatchCommandInput, DeleteMessageBatchCommandOutput>;
135
- /**
136
- * @internal
137
- */
138
- private serialize;
139
- /**
140
- * @internal
141
- */
142
- private deserialize;
127
+ export declare class DeleteMessageBatchCommand extends DeleteMessageBatchCommand_base {
143
128
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteMessageRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteMessageCommandInput extends DeleteMessageRequest {
21
20
  */
22
21
  export interface DeleteMessageCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteMessageCommand_base: {
24
+ new (input: DeleteMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMessageCommandInput, DeleteMessageCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified message from the specified queue. To select the message to
@@ -106,23 +109,5 @@ export interface DeleteMessageCommandOutput extends __MetadataBearer {
106
109
  * <p>Base exception class for all service exceptions from SQS service.</p>
107
110
  *
108
111
  */
109
- export declare class DeleteMessageCommand extends $Command<DeleteMessageCommandInput, DeleteMessageCommandOutput, SQSClientResolvedConfig> {
110
- readonly input: DeleteMessageCommandInput;
111
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
112
- /**
113
- * @public
114
- */
115
- constructor(input: DeleteMessageCommandInput);
116
- /**
117
- * @internal
118
- */
119
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMessageCommandInput, DeleteMessageCommandOutput>;
120
- /**
121
- * @internal
122
- */
123
- private serialize;
124
- /**
125
- * @internal
126
- */
127
- private deserialize;
112
+ export declare class DeleteMessageCommand extends DeleteMessageCommand_base {
128
113
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteQueueRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteQueueCommandInput extends DeleteQueueRequest {
21
20
  */
22
21
  export interface DeleteQueueCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteQueueCommand_base: {
24
+ new (input: DeleteQueueCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueueCommandInput, DeleteQueueCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the queue specified by the <code>QueueUrl</code>, regardless of the queue's
@@ -99,23 +102,5 @@ export interface DeleteQueueCommandOutput extends __MetadataBearer {
99
102
  * <p>Base exception class for all service exceptions from SQS service.</p>
100
103
  *
101
104
  */
102
- export declare class DeleteQueueCommand extends $Command<DeleteQueueCommandInput, DeleteQueueCommandOutput, SQSClientResolvedConfig> {
103
- readonly input: DeleteQueueCommandInput;
104
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
105
- /**
106
- * @public
107
- */
108
- constructor(input: DeleteQueueCommandInput);
109
- /**
110
- * @internal
111
- */
112
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteQueueCommandInput, DeleteQueueCommandOutput>;
113
- /**
114
- * @internal
115
- */
116
- private serialize;
117
- /**
118
- * @internal
119
- */
120
- private deserialize;
105
+ export declare class DeleteQueueCommand extends DeleteQueueCommand_base {
121
106
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetQueueAttributesRequest, GetQueueAttributesResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetQueueAttributesCommandInput extends GetQueueAttributesReques
21
20
  */
22
21
  export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResult, __MetadataBearer {
23
22
  }
23
+ declare const GetQueueAttributesCommand_base: {
24
+ new (input: GetQueueAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets attributes for the specified queue.</p>
@@ -94,23 +97,5 @@ export interface GetQueueAttributesCommandOutput extends GetQueueAttributesResul
94
97
  * <p>Base exception class for all service exceptions from SQS service.</p>
95
98
  *
96
99
  */
97
- export declare class GetQueueAttributesCommand extends $Command<GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput, SQSClientResolvedConfig> {
98
- readonly input: GetQueueAttributesCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: GetQueueAttributesCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueueAttributesCommandInput, GetQueueAttributesCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class GetQueueAttributesCommand extends GetQueueAttributesCommand_base {
116
101
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetQueueUrlRequest, GetQueueUrlResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetQueueUrlCommandInput extends GetQueueUrlRequest {
21
20
  */
22
21
  export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataBearer {
23
22
  }
23
+ declare const GetQueueUrlCommand_base: {
24
+ new (input: GetQueueUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueueUrlCommandInput, GetQueueUrlCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the URL of an existing Amazon SQS queue.</p>
@@ -91,23 +94,5 @@ export interface GetQueueUrlCommandOutput extends GetQueueUrlResult, __MetadataB
91
94
  * <p>Base exception class for all service exceptions from SQS service.</p>
92
95
  *
93
96
  */
94
- export declare class GetQueueUrlCommand extends $Command<GetQueueUrlCommandInput, GetQueueUrlCommandOutput, SQSClientResolvedConfig> {
95
- readonly input: GetQueueUrlCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: GetQueueUrlCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueueUrlCommandInput, GetQueueUrlCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class GetQueueUrlCommand extends GetQueueUrlCommand_base {
113
98
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListDeadLetterSourceQueuesRequest, ListDeadLetterSourceQueuesResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListDeadLetterSourceQueuesCommandInput extends ListDeadLetterSo
21
20
  */
22
21
  export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterSourceQueuesResult, __MetadataBearer {
23
22
  }
23
+ declare const ListDeadLetterSourceQueuesCommand_base: {
24
+ new (input: ListDeadLetterSourceQueuesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of your queues that have the <code>RedrivePolicy</code> queue attribute
@@ -97,23 +100,5 @@ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterS
97
100
  * <p>Base exception class for all service exceptions from SQS service.</p>
98
101
  *
99
102
  */
100
- export declare class ListDeadLetterSourceQueuesCommand extends $Command<ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput, SQSClientResolvedConfig> {
101
- readonly input: ListDeadLetterSourceQueuesCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: ListDeadLetterSourceQueuesCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDeadLetterSourceQueuesCommandInput, ListDeadLetterSourceQueuesCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class ListDeadLetterSourceQueuesCommand extends ListDeadLetterSourceQueuesCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListMessageMoveTasksRequest, ListMessageMoveTasksResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListMessageMoveTasksCommandInput extends ListMessageMoveTasksRe
21
20
  */
22
21
  export interface ListMessageMoveTasksCommandOutput extends ListMessageMoveTasksResult, __MetadataBearer {
23
22
  }
23
+ declare const ListMessageMoveTasksCommand_base: {
24
+ new (input: ListMessageMoveTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListMessageMoveTasksCommandInput, ListMessageMoveTasksCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the most recent message movement tasks (up to 10) under a specific source
@@ -113,23 +116,5 @@ export interface ListMessageMoveTasksCommandOutput extends ListMessageMoveTasksR
113
116
  * <p>Base exception class for all service exceptions from SQS service.</p>
114
117
  *
115
118
  */
116
- export declare class ListMessageMoveTasksCommand extends $Command<ListMessageMoveTasksCommandInput, ListMessageMoveTasksCommandOutput, SQSClientResolvedConfig> {
117
- readonly input: ListMessageMoveTasksCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: ListMessageMoveTasksCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMessageMoveTasksCommandInput, ListMessageMoveTasksCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class ListMessageMoveTasksCommand extends ListMessageMoveTasksCommand_base {
135
120
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListQueueTagsRequest, ListQueueTagsResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListQueueTagsCommandInput extends ListQueueTagsRequest {
21
20
  */
22
21
  export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __MetadataBearer {
23
22
  }
23
+ declare const ListQueueTagsCommand_base: {
24
+ new (input: ListQueueTagsCommandInput): import("@smithy/smithy-client").CommandImpl<ListQueueTagsCommandInput, ListQueueTagsCommandOutput, SQSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>List all cost allocation tags added to the specified Amazon SQS queue. For an
@@ -92,23 +95,5 @@ export interface ListQueueTagsCommandOutput extends ListQueueTagsResult, __Metad
92
95
  * <p>Base exception class for all service exceptions from SQS service.</p>
93
96
  *
94
97
  */
95
- export declare class ListQueueTagsCommand extends $Command<ListQueueTagsCommandInput, ListQueueTagsCommandOutput, SQSClientResolvedConfig> {
96
- readonly input: ListQueueTagsCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: ListQueueTagsCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListQueueTagsCommandInput, ListQueueTagsCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class ListQueueTagsCommand extends ListQueueTagsCommand_base {
114
99
  }