@aws-sdk/client-sqs 3.477.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.
- package/dist-cjs/commands/AddPermissionCommand.js +18 -41
- package/dist-cjs/commands/CancelMessageMoveTaskCommand.js +18 -41
- package/dist-cjs/commands/ChangeMessageVisibilityBatchCommand.js +18 -41
- package/dist-cjs/commands/ChangeMessageVisibilityCommand.js +18 -41
- package/dist-cjs/commands/CreateQueueCommand.js +18 -41
- package/dist-cjs/commands/DeleteMessageBatchCommand.js +18 -41
- package/dist-cjs/commands/DeleteMessageCommand.js +18 -41
- package/dist-cjs/commands/DeleteQueueCommand.js +18 -41
- package/dist-cjs/commands/GetQueueAttributesCommand.js +18 -41
- package/dist-cjs/commands/GetQueueUrlCommand.js +18 -41
- package/dist-cjs/commands/ListDeadLetterSourceQueuesCommand.js +18 -41
- package/dist-cjs/commands/ListMessageMoveTasksCommand.js +18 -41
- package/dist-cjs/commands/ListQueueTagsCommand.js +18 -41
- package/dist-cjs/commands/ListQueuesCommand.js +18 -41
- package/dist-cjs/commands/PurgeQueueCommand.js +18 -41
- package/dist-cjs/commands/ReceiveMessageCommand.js +19 -42
- package/dist-cjs/commands/RemovePermissionCommand.js +18 -41
- package/dist-cjs/commands/SendMessageBatchCommand.js +19 -42
- package/dist-cjs/commands/SendMessageCommand.js +19 -42
- package/dist-cjs/commands/SetQueueAttributesCommand.js +18 -41
- package/dist-cjs/commands/StartMessageMoveTaskCommand.js +18 -41
- package/dist-cjs/commands/TagQueueCommand.js +18 -41
- package/dist-cjs/commands/UntagQueueCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListDeadLetterSourceQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueuesPaginator.js +2 -24
- package/dist-es/commands/AddPermissionCommand.js +18 -41
- package/dist-es/commands/CancelMessageMoveTaskCommand.js +18 -41
- package/dist-es/commands/ChangeMessageVisibilityBatchCommand.js +18 -41
- package/dist-es/commands/ChangeMessageVisibilityCommand.js +18 -41
- package/dist-es/commands/CreateQueueCommand.js +18 -41
- package/dist-es/commands/DeleteMessageBatchCommand.js +18 -41
- package/dist-es/commands/DeleteMessageCommand.js +18 -41
- package/dist-es/commands/DeleteQueueCommand.js +18 -41
- package/dist-es/commands/GetQueueAttributesCommand.js +18 -41
- package/dist-es/commands/GetQueueUrlCommand.js +18 -41
- package/dist-es/commands/ListDeadLetterSourceQueuesCommand.js +18 -41
- package/dist-es/commands/ListMessageMoveTasksCommand.js +18 -41
- package/dist-es/commands/ListQueueTagsCommand.js +18 -41
- package/dist-es/commands/ListQueuesCommand.js +18 -41
- package/dist-es/commands/PurgeQueueCommand.js +18 -41
- package/dist-es/commands/ReceiveMessageCommand.js +19 -42
- package/dist-es/commands/RemovePermissionCommand.js +18 -41
- package/dist-es/commands/SendMessageBatchCommand.js +19 -42
- package/dist-es/commands/SendMessageCommand.js +19 -42
- package/dist-es/commands/SetQueueAttributesCommand.js +18 -41
- package/dist-es/commands/StartMessageMoveTaskCommand.js +18 -41
- package/dist-es/commands/TagQueueCommand.js +18 -41
- package/dist-es/commands/UntagQueueCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListDeadLetterSourceQueuesPaginator.js +2 -23
- package/dist-es/pagination/ListQueuesPaginator.js +2 -23
- package/dist-types/commands/AddPermissionCommand.d.ts +6 -21
- package/dist-types/commands/CancelMessageMoveTaskCommand.d.ts +6 -21
- package/dist-types/commands/ChangeMessageVisibilityBatchCommand.d.ts +6 -21
- package/dist-types/commands/ChangeMessageVisibilityCommand.d.ts +6 -21
- package/dist-types/commands/CreateQueueCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMessageBatchCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMessageCommand.d.ts +6 -21
- package/dist-types/commands/DeleteQueueCommand.d.ts +6 -21
- package/dist-types/commands/GetQueueAttributesCommand.d.ts +6 -21
- package/dist-types/commands/GetQueueUrlCommand.d.ts +6 -21
- package/dist-types/commands/ListDeadLetterSourceQueuesCommand.d.ts +6 -21
- package/dist-types/commands/ListMessageMoveTasksCommand.d.ts +6 -21
- package/dist-types/commands/ListQueueTagsCommand.d.ts +6 -21
- package/dist-types/commands/ListQueuesCommand.d.ts +6 -21
- package/dist-types/commands/PurgeQueueCommand.d.ts +6 -21
- package/dist-types/commands/ReceiveMessageCommand.d.ts +6 -21
- package/dist-types/commands/RemovePermissionCommand.d.ts +6 -21
- package/dist-types/commands/SendMessageBatchCommand.d.ts +6 -21
- package/dist-types/commands/SendMessageCommand.d.ts +6 -21
- package/dist-types/commands/SetQueueAttributesCommand.d.ts +6 -21
- package/dist-types/commands/StartMessageMoveTaskCommand.d.ts +6 -21
- package/dist-types/commands/TagQueueCommand.d.ts +6 -21
- package/dist-types/commands/UntagQueueCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListDeadLetterSourceQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueuesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CancelMessageMoveTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ChangeMessageVisibilityBatchCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ChangeMessageVisibilityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMessageBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueueAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueueUrlCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDeadLetterSourceQueuesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMessageMoveTasksCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListQueueTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PurgeQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ReceiveMessageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendMessageBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetQueueAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartMessageMoveTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDeadLetterSourceQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -6,48 +6,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
10
10
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
|
-
class SendMessageCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "SQSClient";
|
|
31
|
-
const commandName = "SendMessageCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "AmazonSQS",
|
|
40
|
-
operation: "SendMessage",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_0_1.se_SendMessageCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_0_1.de_SendMessageCommand)(output, context);
|
|
51
|
-
}
|
|
11
|
+
class SendMessageCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
(0, middleware_sdk_sqs_1.getSendMessagePlugin)(config),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("AmazonSQS", "SendMessage", {})
|
|
24
|
+
.n("SQSClient", "SendMessageCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_0_1.se_SendMessageCommand)
|
|
27
|
+
.de(Aws_json1_0_1.de_SendMessageCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.SendMessageCommand = SendMessageCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class SetQueueAttributesCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SQSClient";
|
|
29
|
-
const commandName = "SetQueueAttributesCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSQS",
|
|
38
|
-
operation: "SetQueueAttributes",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_SetQueueAttributesCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_SetQueueAttributesCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetQueueAttributesCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSQS", "SetQueueAttributes", {})
|
|
22
|
+
.n("SQSClient", "SetQueueAttributesCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_SetQueueAttributesCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_SetQueueAttributesCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetQueueAttributesCommand = SetQueueAttributesCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class StartMessageMoveTaskCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SQSClient";
|
|
29
|
-
const commandName = "StartMessageMoveTaskCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSQS",
|
|
38
|
-
operation: "StartMessageMoveTask",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_StartMessageMoveTaskCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_StartMessageMoveTaskCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class StartMessageMoveTaskCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSQS", "StartMessageMoveTask", {})
|
|
22
|
+
.n("SQSClient", "StartMessageMoveTaskCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_StartMessageMoveTaskCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_StartMessageMoveTaskCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.StartMessageMoveTaskCommand = StartMessageMoveTaskCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class TagQueueCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SQSClient";
|
|
29
|
-
const commandName = "TagQueueCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSQS",
|
|
38
|
-
operation: "TagQueue",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_TagQueueCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_TagQueueCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagQueueCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSQS", "TagQueue", {})
|
|
22
|
+
.n("SQSClient", "TagQueueCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_TagQueueCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_TagQueueCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagQueueCommand = TagQueueCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class UntagQueueCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SQSClient";
|
|
29
|
-
const commandName = "UntagQueueCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonSQS",
|
|
38
|
-
operation: "UntagQueue",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_0_1.se_UntagQueueCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_0_1.de_UntagQueueCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagQueueCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonSQS", "UntagQueue", {})
|
|
22
|
+
.n("SQSClient", "UntagQueueCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_0_1.se_UntagQueueCommand)
|
|
25
|
+
.de(Aws_json1_0_1.de_UntagQueueCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagQueueCommand = UntagQueueCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDeadLetterSourceQueues = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDeadLetterSourceQueuesCommand_1 = require("../commands/ListDeadLetterSourceQueuesCommand");
|
|
5
6
|
const SQSClient_1 = require("../SQSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDeadLetterSourceQueuesCommand_1.ListDeadLetterSourceQueuesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDeadLetterSourceQueues(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SQSClient_1.SQSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SQS | SQSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDeadLetterSourceQueues = paginateListDeadLetterSourceQueues;
|
|
7
|
+
exports.paginateListDeadLetterSourceQueues = (0, core_1.createPaginator)(SQSClient_1.SQSClient, ListDeadLetterSourceQueuesCommand_1.ListDeadLetterSourceQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListQueues = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListQueuesCommand_1 = require("../commands/ListQueuesCommand");
|
|
5
6
|
const SQSClient_1 = require("../SQSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListQueuesCommand_1.ListQueuesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListQueues(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SQSClient_1.SQSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SQS | SQSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListQueues = paginateListQueues;
|
|
7
|
+
exports.paginateListQueues = (0, core_1.createPaginator)(SQSClient_1.SQSClient, ListQueuesCommand_1.ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AddPermissionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SQSClient";
|
|
26
|
-
const commandName = "AddPermissionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "AddPermission",
|
|
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_AddPermissionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AddPermissionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AddPermissionCommand 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", "AddPermission", {})
|
|
19
|
+
.n("SQSClient", "AddPermissionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AddPermissionCommand)
|
|
22
|
+
.de(de_AddPermissionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CancelMessageMoveTaskCommand, se_CancelMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CancelMessageMoveTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SQSClient";
|
|
26
|
-
const commandName = "CancelMessageMoveTaskCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "CancelMessageMoveTask",
|
|
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_CancelMessageMoveTaskCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CancelMessageMoveTaskCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CancelMessageMoveTaskCommand 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", "CancelMessageMoveTask", {})
|
|
19
|
+
.n("SQSClient", "CancelMessageMoveTaskCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CancelMessageMoveTaskCommand)
|
|
22
|
+
.de(de_CancelMessageMoveTaskCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -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 {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ChangeMessageVisibilityBatchCommand, se_ChangeMessageVisibilityBatchCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ChangeMessageVisibilityBatchCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SQSClient";
|
|
26
|
-
const commandName = "ChangeMessageVisibilityBatchCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "ChangeMessageVisibilityBatch",
|
|
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_ChangeMessageVisibilityBatchCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ChangeMessageVisibilityBatchCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ChangeMessageVisibilityBatchCommand 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", "ChangeMessageVisibilityBatch", {})
|
|
19
|
+
.n("SQSClient", "ChangeMessageVisibilityBatchCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ChangeMessageVisibilityBatchCommand)
|
|
22
|
+
.de(de_ChangeMessageVisibilityBatchCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|