@aws-sdk/client-sqs 3.975.0 → 3.978.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/index.js +9 -5
- package/dist-es/SQS.js +7 -1
- package/dist-types/SQS.d.ts +15 -1
- package/dist-types/ts3.4/SQS.d.ts +19 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1486,6 +1486,10 @@ class UntagQueueCommand extends smithyClient.Command
|
|
|
1486
1486
|
.build() {
|
|
1487
1487
|
}
|
|
1488
1488
|
|
|
1489
|
+
const paginateListDeadLetterSourceQueues = core.createPaginator(SQSClient, ListDeadLetterSourceQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1490
|
+
|
|
1491
|
+
const paginateListQueues = core.createPaginator(SQSClient, ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1492
|
+
|
|
1489
1493
|
const commands = {
|
|
1490
1494
|
AddPermissionCommand,
|
|
1491
1495
|
CancelMessageMoveTaskCommand,
|
|
@@ -1511,13 +1515,13 @@ const commands = {
|
|
|
1511
1515
|
TagQueueCommand,
|
|
1512
1516
|
UntagQueueCommand,
|
|
1513
1517
|
};
|
|
1518
|
+
const paginators = {
|
|
1519
|
+
paginateListDeadLetterSourceQueues,
|
|
1520
|
+
paginateListQueues,
|
|
1521
|
+
};
|
|
1514
1522
|
class SQS extends SQSClient {
|
|
1515
1523
|
}
|
|
1516
|
-
smithyClient.createAggregatedClient(commands, SQS);
|
|
1517
|
-
|
|
1518
|
-
const paginateListDeadLetterSourceQueues = core.createPaginator(SQSClient, ListDeadLetterSourceQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1519
|
-
|
|
1520
|
-
const paginateListQueues = core.createPaginator(SQSClient, ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1524
|
+
smithyClient.createAggregatedClient(commands, SQS, { paginators });
|
|
1521
1525
|
|
|
1522
1526
|
const QueueAttributeName = {
|
|
1523
1527
|
All: "All",
|
package/dist-es/SQS.js
CHANGED
|
@@ -22,6 +22,8 @@ import { SetQueueAttributesCommand, } from "./commands/SetQueueAttributesCommand
|
|
|
22
22
|
import { StartMessageMoveTaskCommand, } from "./commands/StartMessageMoveTaskCommand";
|
|
23
23
|
import { TagQueueCommand } from "./commands/TagQueueCommand";
|
|
24
24
|
import { UntagQueueCommand } from "./commands/UntagQueueCommand";
|
|
25
|
+
import { paginateListDeadLetterSourceQueues } from "./pagination/ListDeadLetterSourceQueuesPaginator";
|
|
26
|
+
import { paginateListQueues } from "./pagination/ListQueuesPaginator";
|
|
25
27
|
import { SQSClient } from "./SQSClient";
|
|
26
28
|
const commands = {
|
|
27
29
|
AddPermissionCommand,
|
|
@@ -48,6 +50,10 @@ const commands = {
|
|
|
48
50
|
TagQueueCommand,
|
|
49
51
|
UntagQueueCommand,
|
|
50
52
|
};
|
|
53
|
+
const paginators = {
|
|
54
|
+
paginateListDeadLetterSourceQueues,
|
|
55
|
+
paginateListQueues,
|
|
56
|
+
};
|
|
51
57
|
export class SQS extends SQSClient {
|
|
52
58
|
}
|
|
53
|
-
createAggregatedClient(commands, SQS);
|
|
59
|
+
createAggregatedClient(commands, SQS, { paginators });
|
package/dist-types/SQS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
3
3
|
import { CancelMessageMoveTaskCommandInput, CancelMessageMoveTaskCommandOutput } from "./commands/CancelMessageMoveTaskCommand";
|
|
4
4
|
import { ChangeMessageVisibilityBatchCommandInput, ChangeMessageVisibilityBatchCommandOutput } from "./commands/ChangeMessageVisibilityBatchCommand";
|
|
@@ -163,6 +163,20 @@ export interface SQS {
|
|
|
163
163
|
untagQueue(args: UntagQueueCommandInput, options?: __HttpHandlerOptions): Promise<UntagQueueCommandOutput>;
|
|
164
164
|
untagQueue(args: UntagQueueCommandInput, cb: (err: any, data?: UntagQueueCommandOutput) => void): void;
|
|
165
165
|
untagQueue(args: UntagQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagQueueCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* @see {@link ListDeadLetterSourceQueuesCommand}
|
|
168
|
+
* @param args - command input.
|
|
169
|
+
* @param paginationConfig - optional pagination config.
|
|
170
|
+
* @returns AsyncIterable of {@link ListDeadLetterSourceQueuesCommandOutput}.
|
|
171
|
+
*/
|
|
172
|
+
paginateListDeadLetterSourceQueues(args: ListDeadLetterSourceQueuesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeadLetterSourceQueuesCommandOutput>;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link ListQueuesCommand}
|
|
175
|
+
* @param args - command input.
|
|
176
|
+
* @param paginationConfig - optional pagination config.
|
|
177
|
+
* @returns AsyncIterable of {@link ListQueuesCommandOutput}.
|
|
178
|
+
*/
|
|
179
|
+
paginateListQueues(args?: ListQueuesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListQueuesCommandOutput>;
|
|
166
180
|
}
|
|
167
181
|
/**
|
|
168
182
|
* <p>Welcome to the <i>Amazon SQS API Reference</i>.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AddPermissionCommandInput,
|
|
4
8
|
AddPermissionCommandOutput,
|
|
@@ -393,5 +397,19 @@ export interface SQS {
|
|
|
393
397
|
options: __HttpHandlerOptions,
|
|
394
398
|
cb: (err: any, data?: UntagQueueCommandOutput) => void
|
|
395
399
|
): void;
|
|
400
|
+
paginateListDeadLetterSourceQueues(
|
|
401
|
+
args: ListDeadLetterSourceQueuesCommandInput,
|
|
402
|
+
paginationConfig?: Pick<
|
|
403
|
+
PaginationConfiguration,
|
|
404
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
405
|
+
>
|
|
406
|
+
): Paginator<ListDeadLetterSourceQueuesCommandOutput>;
|
|
407
|
+
paginateListQueues(
|
|
408
|
+
args?: ListQueuesCommandInput,
|
|
409
|
+
paginationConfig?: Pick<
|
|
410
|
+
PaginationConfiguration,
|
|
411
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
412
|
+
>
|
|
413
|
+
): Paginator<ListQueuesCommandOutput>;
|
|
396
414
|
}
|
|
397
415
|
export declare class SQS extends SQSClient implements SQS {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sqs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sqs",
|
|
@@ -23,40 +23,40 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-sdk-sqs": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
34
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.973.4",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
31
|
+
"@aws-sdk/middleware-sdk-sqs": "^3.972.4",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
34
|
+
"@aws-sdk/types": "^3.973.1",
|
|
35
35
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
38
38
|
"@smithy/config-resolver": "^4.4.6",
|
|
39
|
-
"@smithy/core": "^3.
|
|
39
|
+
"@smithy/core": "^3.22.0",
|
|
40
40
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
41
41
|
"@smithy/hash-node": "^4.2.8",
|
|
42
42
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
43
43
|
"@smithy/md5-js": "^4.2.8",
|
|
44
44
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
45
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
46
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
46
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
47
47
|
"@smithy/middleware-serde": "^4.2.9",
|
|
48
48
|
"@smithy/middleware-stack": "^4.2.8",
|
|
49
49
|
"@smithy/node-config-provider": "^4.3.8",
|
|
50
50
|
"@smithy/node-http-handler": "^4.4.8",
|
|
51
51
|
"@smithy/protocol-http": "^5.3.8",
|
|
52
|
-
"@smithy/smithy-client": "^4.
|
|
52
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
53
53
|
"@smithy/types": "^4.12.0",
|
|
54
54
|
"@smithy/url-parser": "^4.2.8",
|
|
55
55
|
"@smithy/util-base64": "^4.3.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
60
60
|
"@smithy/util-endpoints": "^3.2.8",
|
|
61
61
|
"@smithy/util-middleware": "^4.2.8",
|
|
62
62
|
"@smithy/util-retry": "^4.2.8",
|