@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
|
@@ -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_ListQueueTagsCommand, se_ListQueueTagsCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListQueueTagsCommand 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 = "ListQueueTagsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "ListQueueTags",
|
|
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_ListQueueTagsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListQueueTagsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListQueueTagsCommand 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", "ListQueueTags", {})
|
|
19
|
+
.n("SQSClient", "ListQueueTagsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListQueueTagsCommand)
|
|
22
|
+
.de(de_ListQueueTagsCommand)
|
|
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_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListQueuesCommand 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 = "ListQueuesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "ListQueues",
|
|
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_ListQueuesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListQueuesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListQueuesCommand 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", "ListQueues", {})
|
|
19
|
+
.n("SQSClient", "ListQueuesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListQueuesCommand)
|
|
22
|
+
.de(de_ListQueuesCommand)
|
|
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_PurgeQueueCommand, se_PurgeQueueCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class PurgeQueueCommand 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 = "PurgeQueueCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "PurgeQueue",
|
|
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_PurgeQueueCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_PurgeQueueCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class PurgeQueueCommand 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", "PurgeQueue", {})
|
|
19
|
+
.n("SQSClient", "PurgeQueueCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_PurgeQueueCommand)
|
|
22
|
+
.de(de_PurgeQueueCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -2,48 +2,25 @@ import { getReceiveMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_ReceiveMessageCommand, se_ReceiveMessageCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class ReceiveMessageCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "SQSClient";
|
|
28
|
-
const commandName = "ReceiveMessageCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AmazonSQS",
|
|
37
|
-
operation: "ReceiveMessage",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_ReceiveMessageCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_ReceiveMessageCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class ReceiveMessageCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getReceiveMessagePlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AmazonSQS", "ReceiveMessage", {})
|
|
21
|
+
.n("SQSClient", "ReceiveMessageCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_ReceiveMessageCommand)
|
|
24
|
+
.de(de_ReceiveMessageCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -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_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RemovePermissionCommand 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 = "RemovePermissionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "RemovePermission",
|
|
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_RemovePermissionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RemovePermissionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RemovePermissionCommand 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", "RemovePermission", {})
|
|
19
|
+
.n("SQSClient", "RemovePermissionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RemovePermissionCommand)
|
|
22
|
+
.de(de_RemovePermissionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -2,48 +2,25 @@ import { getSendMessageBatchPlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_SendMessageBatchCommand, se_SendMessageBatchCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class SendMessageBatchCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "SQSClient";
|
|
28
|
-
const commandName = "SendMessageBatchCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AmazonSQS",
|
|
37
|
-
operation: "SendMessageBatch",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_SendMessageBatchCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_SendMessageBatchCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class SendMessageBatchCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getSendMessageBatchPlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AmazonSQS", "SendMessageBatch", {})
|
|
21
|
+
.n("SQSClient", "SendMessageBatchCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_SendMessageBatchCommand)
|
|
24
|
+
.de(de_SendMessageBatchCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -2,48 +2,25 @@ import { getSendMessagePlugin } from "@aws-sdk/middleware-sdk-sqs";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_json1_0";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class SendMessageCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "SQSClient";
|
|
28
|
-
const commandName = "SendMessageCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "AmazonSQS",
|
|
37
|
-
operation: "SendMessage",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_SendMessageCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_SendMessageCommand(output, context);
|
|
48
|
-
}
|
|
8
|
+
export class SendMessageCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
getSendMessagePlugin(config),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AmazonSQS", "SendMessage", {})
|
|
21
|
+
.n("SQSClient", "SendMessageCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_SendMessageCommand)
|
|
24
|
+
.de(de_SendMessageCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -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_SetQueueAttributesCommand, se_SetQueueAttributesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SetQueueAttributesCommand 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 = "SetQueueAttributesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "SetQueueAttributes",
|
|
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_SetQueueAttributesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SetQueueAttributesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SetQueueAttributesCommand 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", "SetQueueAttributes", {})
|
|
19
|
+
.n("SQSClient", "SetQueueAttributesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SetQueueAttributesCommand)
|
|
22
|
+
.de(de_SetQueueAttributesCommand)
|
|
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_StartMessageMoveTaskCommand, se_StartMessageMoveTaskCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartMessageMoveTaskCommand 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 = "StartMessageMoveTaskCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonSQS",
|
|
35
|
-
operation: "StartMessageMoveTask",
|
|
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_StartMessageMoveTaskCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartMessageMoveTaskCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartMessageMoveTaskCommand 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", "StartMessageMoveTask", {})
|
|
19
|
+
.n("SQSClient", "StartMessageMoveTaskCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartMessageMoveTaskCommand)
|
|
22
|
+
.de(de_StartMessageMoveTaskCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|