@aws-sdk/client-support 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/Support.js +7 -1
- package/dist-types/Support.d.ts +15 -1
- package/dist-types/ts3.4/Support.d.ts +19 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1031,6 +1031,10 @@ class ResolveCaseCommand extends smithyClient.Command
|
|
|
1031
1031
|
.build() {
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
|
+
const paginateDescribeCases = core.createPaginator(SupportClient, DescribeCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
1035
|
+
|
|
1036
|
+
const paginateDescribeCommunications = core.createPaginator(SupportClient, DescribeCommunicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1037
|
+
|
|
1034
1038
|
const commands = {
|
|
1035
1039
|
AddAttachmentsToSetCommand,
|
|
1036
1040
|
AddCommunicationToCaseCommand,
|
|
@@ -1049,13 +1053,13 @@ const commands = {
|
|
|
1049
1053
|
RefreshTrustedAdvisorCheckCommand,
|
|
1050
1054
|
ResolveCaseCommand,
|
|
1051
1055
|
};
|
|
1056
|
+
const paginators = {
|
|
1057
|
+
paginateDescribeCases,
|
|
1058
|
+
paginateDescribeCommunications,
|
|
1059
|
+
};
|
|
1052
1060
|
class Support extends SupportClient {
|
|
1053
1061
|
}
|
|
1054
|
-
smithyClient.createAggregatedClient(commands, Support);
|
|
1055
|
-
|
|
1056
|
-
const paginateDescribeCases = core.createPaginator(SupportClient, DescribeCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
1057
|
-
|
|
1058
|
-
const paginateDescribeCommunications = core.createPaginator(SupportClient, DescribeCommunicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1062
|
+
smithyClient.createAggregatedClient(commands, Support, { paginators });
|
|
1059
1063
|
|
|
1060
1064
|
Object.defineProperty(exports, "$Command", {
|
|
1061
1065
|
enumerable: true,
|
package/dist-es/Support.js
CHANGED
|
@@ -15,6 +15,8 @@ import { DescribeTrustedAdvisorChecksCommand, } from "./commands/DescribeTrusted
|
|
|
15
15
|
import { DescribeTrustedAdvisorCheckSummariesCommand, } from "./commands/DescribeTrustedAdvisorCheckSummariesCommand";
|
|
16
16
|
import { RefreshTrustedAdvisorCheckCommand, } from "./commands/RefreshTrustedAdvisorCheckCommand";
|
|
17
17
|
import { ResolveCaseCommand } from "./commands/ResolveCaseCommand";
|
|
18
|
+
import { paginateDescribeCases } from "./pagination/DescribeCasesPaginator";
|
|
19
|
+
import { paginateDescribeCommunications } from "./pagination/DescribeCommunicationsPaginator";
|
|
18
20
|
import { SupportClient } from "./SupportClient";
|
|
19
21
|
const commands = {
|
|
20
22
|
AddAttachmentsToSetCommand,
|
|
@@ -34,6 +36,10 @@ const commands = {
|
|
|
34
36
|
RefreshTrustedAdvisorCheckCommand,
|
|
35
37
|
ResolveCaseCommand,
|
|
36
38
|
};
|
|
39
|
+
const paginators = {
|
|
40
|
+
paginateDescribeCases,
|
|
41
|
+
paginateDescribeCommunications,
|
|
42
|
+
};
|
|
37
43
|
export class Support extends SupportClient {
|
|
38
44
|
}
|
|
39
|
-
createAggregatedClient(commands, Support);
|
|
45
|
+
createAggregatedClient(commands, Support, { paginators });
|
package/dist-types/Support.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 { AddAttachmentsToSetCommandInput, AddAttachmentsToSetCommandOutput } from "./commands/AddAttachmentsToSetCommand";
|
|
3
3
|
import { AddCommunicationToCaseCommandInput, AddCommunicationToCaseCommandOutput } from "./commands/AddCommunicationToCaseCommand";
|
|
4
4
|
import { CreateCaseCommandInput, CreateCaseCommandOutput } from "./commands/CreateCaseCommand";
|
|
@@ -117,6 +117,20 @@ export interface Support {
|
|
|
117
117
|
resolveCase(args: ResolveCaseCommandInput, options?: __HttpHandlerOptions): Promise<ResolveCaseCommandOutput>;
|
|
118
118
|
resolveCase(args: ResolveCaseCommandInput, cb: (err: any, data?: ResolveCaseCommandOutput) => void): void;
|
|
119
119
|
resolveCase(args: ResolveCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResolveCaseCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* @see {@link DescribeCasesCommand}
|
|
122
|
+
* @param args - command input.
|
|
123
|
+
* @param paginationConfig - optional pagination config.
|
|
124
|
+
* @returns AsyncIterable of {@link DescribeCasesCommandOutput}.
|
|
125
|
+
*/
|
|
126
|
+
paginateDescribeCases(args?: DescribeCasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeCasesCommandOutput>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link DescribeCommunicationsCommand}
|
|
129
|
+
* @param args - command input.
|
|
130
|
+
* @param paginationConfig - optional pagination config.
|
|
131
|
+
* @returns AsyncIterable of {@link DescribeCommunicationsCommandOutput}.
|
|
132
|
+
*/
|
|
133
|
+
paginateDescribeCommunications(args: DescribeCommunicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeCommunicationsCommandOutput>;
|
|
120
134
|
}
|
|
121
135
|
/**
|
|
122
136
|
* <fullname>Amazon Web Services Support</fullname>
|
|
@@ -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
|
AddAttachmentsToSetCommandInput,
|
|
4
8
|
AddAttachmentsToSetCommandOutput,
|
|
@@ -295,5 +299,19 @@ export interface Support {
|
|
|
295
299
|
options: __HttpHandlerOptions,
|
|
296
300
|
cb: (err: any, data?: ResolveCaseCommandOutput) => void
|
|
297
301
|
): void;
|
|
302
|
+
paginateDescribeCases(
|
|
303
|
+
args?: DescribeCasesCommandInput,
|
|
304
|
+
paginationConfig?: Pick<
|
|
305
|
+
PaginationConfiguration,
|
|
306
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
307
|
+
>
|
|
308
|
+
): Paginator<DescribeCasesCommandOutput>;
|
|
309
|
+
paginateDescribeCommunications(
|
|
310
|
+
args: DescribeCommunicationsCommandInput,
|
|
311
|
+
paginationConfig?: Pick<
|
|
312
|
+
PaginationConfiguration,
|
|
313
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
314
|
+
>
|
|
315
|
+
): Paginator<DescribeCommunicationsCommandOutput>;
|
|
298
316
|
}
|
|
299
317
|
export declare class Support extends SupportClient implements Support {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support 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-support",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|