@aws-sdk/client-sqs 3.344.0 → 3.347.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.
- package/README.md +34 -6
- package/dist-cjs/SQS.js +6 -0
- package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +46 -0
- package/dist-cjs/commands/ListMessageMoveTasksCommand.js +46 -0
- package/dist-cjs/commands/StartMessageMoveTaskCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +28 -14
- package/dist-cjs/protocols/Aws_query.js +247 -1
- package/dist-es/SQS.js +6 -0
- package/dist-es/commands/CancelMessageMoveTaskCommand.js +42 -0
- package/dist-es/commands/ListMessageMoveTasksCommand.js +42 -0
- package/dist-es/commands/StartMessageMoveTaskCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +25 -12
- package/dist-es/protocols/Aws_query.js +242 -2
- package/dist-types/SQS.d.ts +31 -6
- package/dist-types/SQSClient.d.ts +15 -8
- package/dist-types/commands/AddPermissionCommand.d.ts +17 -23
- package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +92 -0
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +9 -12
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +22 -13
- package/dist-types/commands/CreateQueueCommand.d.ts +17 -16
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +6 -10
- package/dist-types/commands/DeleteMessageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +13 -8
- package/dist-types/commands/GetQueueUrlCommand.d.ts +7 -4
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +11 -10
- package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +93 -0
- package/dist-types/commands/ListQueueTagsCommand.d.ts +3 -2
- package/dist-types/commands/ListQueuesCommand.d.ts +12 -10
- package/dist-types/commands/PurgeQueueCommand.d.ts +7 -5
- package/dist-types/commands/ReceiveMessageCommand.d.ts +25 -14
- package/dist-types/commands/RemovePermissionCommand.d.ts +3 -2
- package/dist-types/commands/SendMessageBatchCommand.d.ts +14 -13
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +7 -3
- package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +100 -0
- package/dist-types/commands/TagQueueCommand.d.ts +1 -1
- package/dist-types/commands/UntagQueueCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +10 -6
- package/dist-types/models/models_0.d.ts +852 -359
- package/dist-types/protocols/Aws_query.d.ts +27 -0
- package/dist-types/ts3.4/SQS.d.ts +51 -0
- package/dist-types/ts3.4/SQSClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -7
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +36 -0
- package/package.json +30 -30
package/README.md
CHANGED
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
AWS SDK for JavaScript SQS Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
|
|
10
|
-
<p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
access management</a> in the <i>Amazon SQS Developer
|
|
10
|
+
<p>Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel
|
|
11
|
+
between applications or microservices. Amazon SQS moves data between distributed application
|
|
12
|
+
components and helps you decouple these components.</p>
|
|
13
|
+
<p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-authentication-and-access-control.html">Identity and access management</a> in the <i>Amazon SQS Developer
|
|
14
|
+
Guide.</i>
|
|
14
15
|
</p>
|
|
15
|
-
<p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
|
|
16
|
+
<p>You can use <a href="http://aws.amazon.com/tools/#sdk">Amazon Web Services SDKs</a> to access
|
|
17
|
+
Amazon SQS using your favorite programming language. The SDKs perform tasks such as the
|
|
18
|
+
following automatically:</p>
|
|
16
19
|
<ul>
|
|
17
20
|
<li>
|
|
18
21
|
<p>Cryptographically sign your service requests</p>
|
|
@@ -68,7 +71,8 @@ access management</a> in the <i>Amazon SQS Developer Guide.</i>
|
|
|
68
71
|
<ul>
|
|
69
72
|
<li>
|
|
70
73
|
<p>
|
|
71
|
-
<a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region">Regions and
|
|
74
|
+
<a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region">Regions and
|
|
75
|
+
Endpoints</a>
|
|
72
76
|
</p>
|
|
73
77
|
</li>
|
|
74
78
|
</ul>
|
|
@@ -277,6 +281,14 @@ AddPermission
|
|
|
277
281
|
|
|
278
282
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/classes/addpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/addpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/addpermissioncommandoutput.html)
|
|
279
283
|
|
|
284
|
+
</details>
|
|
285
|
+
<details>
|
|
286
|
+
<summary>
|
|
287
|
+
CancelMessageMoveTask
|
|
288
|
+
</summary>
|
|
289
|
+
|
|
290
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/classes/cancelmessagemovetaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/cancelmessagemovetaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/cancelmessagemovetaskcommandoutput.html)
|
|
291
|
+
|
|
280
292
|
</details>
|
|
281
293
|
<details>
|
|
282
294
|
<summary>
|
|
@@ -349,6 +361,14 @@ ListDeadLetterSourceQueues
|
|
|
349
361
|
|
|
350
362
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/classes/listdeadlettersourcequeuescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/listdeadlettersourcequeuescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/listdeadlettersourcequeuescommandoutput.html)
|
|
351
363
|
|
|
364
|
+
</details>
|
|
365
|
+
<details>
|
|
366
|
+
<summary>
|
|
367
|
+
ListMessageMoveTasks
|
|
368
|
+
</summary>
|
|
369
|
+
|
|
370
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/classes/listmessagemovetaskscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/listmessagemovetaskscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/listmessagemovetaskscommandoutput.html)
|
|
371
|
+
|
|
352
372
|
</details>
|
|
353
373
|
<details>
|
|
354
374
|
<summary>
|
|
@@ -413,6 +433,14 @@ SetQueueAttributes
|
|
|
413
433
|
|
|
414
434
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/classes/setqueueattributescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/setqueueattributescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/setqueueattributescommandoutput.html)
|
|
415
435
|
|
|
436
|
+
</details>
|
|
437
|
+
<details>
|
|
438
|
+
<summary>
|
|
439
|
+
StartMessageMoveTask
|
|
440
|
+
</summary>
|
|
441
|
+
|
|
442
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/classes/startmessagemovetaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/startmessagemovetaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/interfaces/startmessagemovetaskcommandoutput.html)
|
|
443
|
+
|
|
416
444
|
</details>
|
|
417
445
|
<details>
|
|
418
446
|
<summary>
|
package/dist-cjs/SQS.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SQS = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const AddPermissionCommand_1 = require("./commands/AddPermissionCommand");
|
|
6
|
+
const CancelMessageMoveTaskCommand_1 = require("./commands/CancelMessageMoveTaskCommand");
|
|
6
7
|
const ChangeMessageVisibilityBatchCommand_1 = require("./commands/ChangeMessageVisibilityBatchCommand");
|
|
7
8
|
const ChangeMessageVisibilityCommand_1 = require("./commands/ChangeMessageVisibilityCommand");
|
|
8
9
|
const CreateQueueCommand_1 = require("./commands/CreateQueueCommand");
|
|
@@ -12,6 +13,7 @@ const DeleteQueueCommand_1 = require("./commands/DeleteQueueCommand");
|
|
|
12
13
|
const GetQueueAttributesCommand_1 = require("./commands/GetQueueAttributesCommand");
|
|
13
14
|
const GetQueueUrlCommand_1 = require("./commands/GetQueueUrlCommand");
|
|
14
15
|
const ListDeadLetterSourceQueuesCommand_1 = require("./commands/ListDeadLetterSourceQueuesCommand");
|
|
16
|
+
const ListMessageMoveTasksCommand_1 = require("./commands/ListMessageMoveTasksCommand");
|
|
15
17
|
const ListQueuesCommand_1 = require("./commands/ListQueuesCommand");
|
|
16
18
|
const ListQueueTagsCommand_1 = require("./commands/ListQueueTagsCommand");
|
|
17
19
|
const PurgeQueueCommand_1 = require("./commands/PurgeQueueCommand");
|
|
@@ -20,11 +22,13 @@ const RemovePermissionCommand_1 = require("./commands/RemovePermissionCommand");
|
|
|
20
22
|
const SendMessageBatchCommand_1 = require("./commands/SendMessageBatchCommand");
|
|
21
23
|
const SendMessageCommand_1 = require("./commands/SendMessageCommand");
|
|
22
24
|
const SetQueueAttributesCommand_1 = require("./commands/SetQueueAttributesCommand");
|
|
25
|
+
const StartMessageMoveTaskCommand_1 = require("./commands/StartMessageMoveTaskCommand");
|
|
23
26
|
const TagQueueCommand_1 = require("./commands/TagQueueCommand");
|
|
24
27
|
const UntagQueueCommand_1 = require("./commands/UntagQueueCommand");
|
|
25
28
|
const SQSClient_1 = require("./SQSClient");
|
|
26
29
|
const commands = {
|
|
27
30
|
AddPermissionCommand: AddPermissionCommand_1.AddPermissionCommand,
|
|
31
|
+
CancelMessageMoveTaskCommand: CancelMessageMoveTaskCommand_1.CancelMessageMoveTaskCommand,
|
|
28
32
|
ChangeMessageVisibilityCommand: ChangeMessageVisibilityCommand_1.ChangeMessageVisibilityCommand,
|
|
29
33
|
ChangeMessageVisibilityBatchCommand: ChangeMessageVisibilityBatchCommand_1.ChangeMessageVisibilityBatchCommand,
|
|
30
34
|
CreateQueueCommand: CreateQueueCommand_1.CreateQueueCommand,
|
|
@@ -34,6 +38,7 @@ const commands = {
|
|
|
34
38
|
GetQueueAttributesCommand: GetQueueAttributesCommand_1.GetQueueAttributesCommand,
|
|
35
39
|
GetQueueUrlCommand: GetQueueUrlCommand_1.GetQueueUrlCommand,
|
|
36
40
|
ListDeadLetterSourceQueuesCommand: ListDeadLetterSourceQueuesCommand_1.ListDeadLetterSourceQueuesCommand,
|
|
41
|
+
ListMessageMoveTasksCommand: ListMessageMoveTasksCommand_1.ListMessageMoveTasksCommand,
|
|
37
42
|
ListQueuesCommand: ListQueuesCommand_1.ListQueuesCommand,
|
|
38
43
|
ListQueueTagsCommand: ListQueueTagsCommand_1.ListQueueTagsCommand,
|
|
39
44
|
PurgeQueueCommand: PurgeQueueCommand_1.PurgeQueueCommand,
|
|
@@ -42,6 +47,7 @@ const commands = {
|
|
|
42
47
|
SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
|
|
43
48
|
SendMessageBatchCommand: SendMessageBatchCommand_1.SendMessageBatchCommand,
|
|
44
49
|
SetQueueAttributesCommand: SetQueueAttributesCommand_1.SetQueueAttributesCommand,
|
|
50
|
+
StartMessageMoveTaskCommand: StartMessageMoveTaskCommand_1.StartMessageMoveTaskCommand,
|
|
45
51
|
TagQueueCommand: TagQueueCommand_1.TagQueueCommand,
|
|
46
52
|
UntagQueueCommand: UntagQueueCommand_1.UntagQueueCommand,
|
|
47
53
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelMessageMoveTaskCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class CancelMessageMoveTaskCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelMessageMoveTaskCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SQSClient";
|
|
28
|
+
const commandName = "CancelMessageMoveTaskCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_CancelMessageMoveTaskCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_CancelMessageMoveTaskCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CancelMessageMoveTaskCommand = CancelMessageMoveTaskCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListMessageMoveTasksCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class ListMessageMoveTasksCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListMessageMoveTasksCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SQSClient";
|
|
28
|
+
const commandName = "ListMessageMoveTasksCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_ListMessageMoveTasksCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_ListMessageMoveTasksCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListMessageMoveTasksCommand = ListMessageMoveTasksCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartMessageMoveTaskCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class StartMessageMoveTaskCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartMessageMoveTaskCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SQSClient";
|
|
28
|
+
const commandName = "StartMessageMoveTaskCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_StartMessageMoveTaskCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_StartMessageMoveTaskCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StartMessageMoveTaskCommand = StartMessageMoveTaskCommand;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AddPermissionCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelMessageMoveTaskCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ChangeMessageVisibilityBatchCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ChangeMessageVisibilityCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
|
|
@@ -11,6 +12,7 @@ tslib_1.__exportStar(require("./DeleteQueueCommand"), exports);
|
|
|
11
12
|
tslib_1.__exportStar(require("./GetQueueAttributesCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./GetQueueUrlCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./ListDeadLetterSourceQueuesCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListMessageMoveTasksCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./ListQueueTagsCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./ListQueuesCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./PurgeQueueCommand"), exports);
|
|
@@ -19,5 +21,6 @@ tslib_1.__exportStar(require("./RemovePermissionCommand"), exports);
|
|
|
19
21
|
tslib_1.__exportStar(require("./SendMessageBatchCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./SetQueueAttributesCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./StartMessageMoveTaskCommand"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./TagQueueCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./UntagQueueCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchRequestTooLong = exports.
|
|
3
|
+
exports.BatchRequestTooLong = exports.MessageSystemAttributeNameForSends = exports.InvalidMessageContents = exports.MessageSystemAttributeName = exports.PurgeQueueInProgress = exports.QueueDoesNotExist = exports.InvalidAttributeName = exports.InvalidIdFormat = exports.QueueNameExists = exports.QueueDeletedRecently = exports.QueueAttributeName = exports.TooManyEntriesInBatchRequest = exports.InvalidBatchEntryId = exports.EmptyBatchRequest = exports.BatchEntryIdsNotDistinct = exports.ReceiptHandleIsInvalid = exports.MessageNotInflight = exports.UnsupportedOperation = exports.ResourceNotFoundException = exports.OverLimit = void 0;
|
|
4
4
|
const SQSServiceException_1 = require("./SQSServiceException");
|
|
5
5
|
class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -15,6 +15,32 @@ class OverLimit extends SQSServiceException_1.SQSServiceException {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.OverLimit = OverLimit;
|
|
18
|
+
class ResourceNotFoundException extends SQSServiceException_1.SQSServiceException {
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ResourceNotFoundException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
this.name = "ResourceNotFoundException";
|
|
26
|
+
this.$fault = "client";
|
|
27
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
31
|
+
class UnsupportedOperation extends SQSServiceException_1.SQSServiceException {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "UnsupportedOperation",
|
|
35
|
+
$fault: "client",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
this.name = "UnsupportedOperation";
|
|
39
|
+
this.$fault = "client";
|
|
40
|
+
Object.setPrototypeOf(this, UnsupportedOperation.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.UnsupportedOperation = UnsupportedOperation;
|
|
18
44
|
class MessageNotInflight extends SQSServiceException_1.SQSServiceException {
|
|
19
45
|
constructor(opts) {
|
|
20
46
|
super({
|
|
@@ -199,6 +225,7 @@ exports.MessageSystemAttributeName = {
|
|
|
199
225
|
AWSTraceHeader: "AWSTraceHeader",
|
|
200
226
|
ApproximateFirstReceiveTimestamp: "ApproximateFirstReceiveTimestamp",
|
|
201
227
|
ApproximateReceiveCount: "ApproximateReceiveCount",
|
|
228
|
+
DeadLetterQueueSourceArn: "DeadLetterQueueSourceArn",
|
|
202
229
|
MessageDeduplicationId: "MessageDeduplicationId",
|
|
203
230
|
MessageGroupId: "MessageGroupId",
|
|
204
231
|
SenderId: "SenderId",
|
|
@@ -221,19 +248,6 @@ exports.InvalidMessageContents = InvalidMessageContents;
|
|
|
221
248
|
exports.MessageSystemAttributeNameForSends = {
|
|
222
249
|
AWSTraceHeader: "AWSTraceHeader",
|
|
223
250
|
};
|
|
224
|
-
class UnsupportedOperation extends SQSServiceException_1.SQSServiceException {
|
|
225
|
-
constructor(opts) {
|
|
226
|
-
super({
|
|
227
|
-
name: "UnsupportedOperation",
|
|
228
|
-
$fault: "client",
|
|
229
|
-
...opts,
|
|
230
|
-
});
|
|
231
|
-
this.name = "UnsupportedOperation";
|
|
232
|
-
this.$fault = "client";
|
|
233
|
-
Object.setPrototypeOf(this, UnsupportedOperation.prototype);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
exports.UnsupportedOperation = UnsupportedOperation;
|
|
237
251
|
class BatchRequestTooLong extends SQSServiceException_1.SQSServiceException {
|
|
238
252
|
constructor(opts) {
|
|
239
253
|
super({
|