@aws-sdk/client-resource-groups-tagging-api 3.974.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
CHANGED
|
@@ -612,6 +612,16 @@ class UntagResourcesCommand extends smithyClient.Command
|
|
|
612
612
|
.build() {
|
|
613
613
|
}
|
|
614
614
|
|
|
615
|
+
const paginateGetComplianceSummary = core.createPaginator(ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand, "PaginationToken", "PaginationToken", "MaxResults");
|
|
616
|
+
|
|
617
|
+
const paginateGetResources = core.createPaginator(ResourceGroupsTaggingAPIClient, GetResourcesCommand, "PaginationToken", "PaginationToken", "ResourcesPerPage");
|
|
618
|
+
|
|
619
|
+
const paginateGetTagKeys = core.createPaginator(ResourceGroupsTaggingAPIClient, GetTagKeysCommand, "PaginationToken", "PaginationToken", "");
|
|
620
|
+
|
|
621
|
+
const paginateGetTagValues = core.createPaginator(ResourceGroupsTaggingAPIClient, GetTagValuesCommand, "PaginationToken", "PaginationToken", "");
|
|
622
|
+
|
|
623
|
+
const paginateListRequiredTags = core.createPaginator(ResourceGroupsTaggingAPIClient, ListRequiredTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
624
|
+
|
|
615
625
|
const commands = {
|
|
616
626
|
DescribeReportCreationCommand,
|
|
617
627
|
GetComplianceSummaryCommand,
|
|
@@ -623,19 +633,16 @@ const commands = {
|
|
|
623
633
|
TagResourcesCommand,
|
|
624
634
|
UntagResourcesCommand,
|
|
625
635
|
};
|
|
636
|
+
const paginators = {
|
|
637
|
+
paginateGetComplianceSummary,
|
|
638
|
+
paginateGetResources,
|
|
639
|
+
paginateGetTagKeys,
|
|
640
|
+
paginateGetTagValues,
|
|
641
|
+
paginateListRequiredTags,
|
|
642
|
+
};
|
|
626
643
|
class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
|
|
627
644
|
}
|
|
628
|
-
smithyClient.createAggregatedClient(commands, ResourceGroupsTaggingAPI);
|
|
629
|
-
|
|
630
|
-
const paginateGetComplianceSummary = core.createPaginator(ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand, "PaginationToken", "PaginationToken", "MaxResults");
|
|
631
|
-
|
|
632
|
-
const paginateGetResources = core.createPaginator(ResourceGroupsTaggingAPIClient, GetResourcesCommand, "PaginationToken", "PaginationToken", "ResourcesPerPage");
|
|
633
|
-
|
|
634
|
-
const paginateGetTagKeys = core.createPaginator(ResourceGroupsTaggingAPIClient, GetTagKeysCommand, "PaginationToken", "PaginationToken", "");
|
|
635
|
-
|
|
636
|
-
const paginateGetTagValues = core.createPaginator(ResourceGroupsTaggingAPIClient, GetTagValuesCommand, "PaginationToken", "PaginationToken", "");
|
|
637
|
-
|
|
638
|
-
const paginateListRequiredTags = core.createPaginator(ResourceGroupsTaggingAPIClient, ListRequiredTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
645
|
+
smithyClient.createAggregatedClient(commands, ResourceGroupsTaggingAPI, { paginators });
|
|
639
646
|
|
|
640
647
|
const ErrorCode = {
|
|
641
648
|
INTERNAL_SERVICE_EXCEPTION: "InternalServiceException",
|
|
@@ -8,6 +8,11 @@ import { ListRequiredTagsCommand, } from "./commands/ListRequiredTagsCommand";
|
|
|
8
8
|
import { StartReportCreationCommand, } from "./commands/StartReportCreationCommand";
|
|
9
9
|
import { TagResourcesCommand, } from "./commands/TagResourcesCommand";
|
|
10
10
|
import { UntagResourcesCommand, } from "./commands/UntagResourcesCommand";
|
|
11
|
+
import { paginateGetComplianceSummary } from "./pagination/GetComplianceSummaryPaginator";
|
|
12
|
+
import { paginateGetResources } from "./pagination/GetResourcesPaginator";
|
|
13
|
+
import { paginateGetTagKeys } from "./pagination/GetTagKeysPaginator";
|
|
14
|
+
import { paginateGetTagValues } from "./pagination/GetTagValuesPaginator";
|
|
15
|
+
import { paginateListRequiredTags } from "./pagination/ListRequiredTagsPaginator";
|
|
11
16
|
import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
|
|
12
17
|
const commands = {
|
|
13
18
|
DescribeReportCreationCommand,
|
|
@@ -20,6 +25,13 @@ const commands = {
|
|
|
20
25
|
TagResourcesCommand,
|
|
21
26
|
UntagResourcesCommand,
|
|
22
27
|
};
|
|
28
|
+
const paginators = {
|
|
29
|
+
paginateGetComplianceSummary,
|
|
30
|
+
paginateGetResources,
|
|
31
|
+
paginateGetTagKeys,
|
|
32
|
+
paginateGetTagValues,
|
|
33
|
+
paginateListRequiredTags,
|
|
34
|
+
};
|
|
23
35
|
export class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
|
|
24
36
|
}
|
|
25
|
-
createAggregatedClient(commands, ResourceGroupsTaggingAPI);
|
|
37
|
+
createAggregatedClient(commands, ResourceGroupsTaggingAPI, { paginators });
|
|
@@ -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 { DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput } from "./commands/DescribeReportCreationCommand";
|
|
3
3
|
import { GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput } from "./commands/GetComplianceSummaryCommand";
|
|
4
4
|
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
|
|
@@ -69,6 +69,41 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
69
69
|
untagResources(args: UntagResourcesCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourcesCommandOutput>;
|
|
70
70
|
untagResources(args: UntagResourcesCommandInput, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
|
|
71
71
|
untagResources(args: UntagResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourcesCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* @see {@link GetComplianceSummaryCommand}
|
|
74
|
+
* @param args - command input.
|
|
75
|
+
* @param paginationConfig - optional pagination config.
|
|
76
|
+
* @returns AsyncIterable of {@link GetComplianceSummaryCommandOutput}.
|
|
77
|
+
*/
|
|
78
|
+
paginateGetComplianceSummary(args?: GetComplianceSummaryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetComplianceSummaryCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link GetResourcesCommand}
|
|
81
|
+
* @param args - command input.
|
|
82
|
+
* @param paginationConfig - optional pagination config.
|
|
83
|
+
* @returns AsyncIterable of {@link GetResourcesCommandOutput}.
|
|
84
|
+
*/
|
|
85
|
+
paginateGetResources(args?: GetResourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetResourcesCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link GetTagKeysCommand}
|
|
88
|
+
* @param args - command input.
|
|
89
|
+
* @param paginationConfig - optional pagination config.
|
|
90
|
+
* @returns AsyncIterable of {@link GetTagKeysCommandOutput}.
|
|
91
|
+
*/
|
|
92
|
+
paginateGetTagKeys(args?: GetTagKeysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetTagKeysCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @see {@link GetTagValuesCommand}
|
|
95
|
+
* @param args - command input.
|
|
96
|
+
* @param paginationConfig - optional pagination config.
|
|
97
|
+
* @returns AsyncIterable of {@link GetTagValuesCommandOutput}.
|
|
98
|
+
*/
|
|
99
|
+
paginateGetTagValues(args: GetTagValuesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetTagValuesCommandOutput>;
|
|
100
|
+
/**
|
|
101
|
+
* @see {@link ListRequiredTagsCommand}
|
|
102
|
+
* @param args - command input.
|
|
103
|
+
* @param paginationConfig - optional pagination config.
|
|
104
|
+
* @returns AsyncIterable of {@link ListRequiredTagsCommandOutput}.
|
|
105
|
+
*/
|
|
106
|
+
paginateListRequiredTags(args?: ListRequiredTagsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRequiredTagsCommandOutput>;
|
|
72
107
|
}
|
|
73
108
|
/**
|
|
74
109
|
* <fullname>Resource Groups Tagging API</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
|
DescribeReportCreationCommandInput,
|
|
4
8
|
DescribeReportCreationCommandOutput,
|
|
@@ -159,6 +163,41 @@ export interface ResourceGroupsTaggingAPI {
|
|
|
159
163
|
options: __HttpHandlerOptions,
|
|
160
164
|
cb: (err: any, data?: UntagResourcesCommandOutput) => void
|
|
161
165
|
): void;
|
|
166
|
+
paginateGetComplianceSummary(
|
|
167
|
+
args?: GetComplianceSummaryCommandInput,
|
|
168
|
+
paginationConfig?: Pick<
|
|
169
|
+
PaginationConfiguration,
|
|
170
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
171
|
+
>
|
|
172
|
+
): Paginator<GetComplianceSummaryCommandOutput>;
|
|
173
|
+
paginateGetResources(
|
|
174
|
+
args?: GetResourcesCommandInput,
|
|
175
|
+
paginationConfig?: Pick<
|
|
176
|
+
PaginationConfiguration,
|
|
177
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
178
|
+
>
|
|
179
|
+
): Paginator<GetResourcesCommandOutput>;
|
|
180
|
+
paginateGetTagKeys(
|
|
181
|
+
args?: GetTagKeysCommandInput,
|
|
182
|
+
paginationConfig?: Pick<
|
|
183
|
+
PaginationConfiguration,
|
|
184
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
185
|
+
>
|
|
186
|
+
): Paginator<GetTagKeysCommandOutput>;
|
|
187
|
+
paginateGetTagValues(
|
|
188
|
+
args: GetTagValuesCommandInput,
|
|
189
|
+
paginationConfig?: Pick<
|
|
190
|
+
PaginationConfiguration,
|
|
191
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
192
|
+
>
|
|
193
|
+
): Paginator<GetTagValuesCommandOutput>;
|
|
194
|
+
paginateListRequiredTags(
|
|
195
|
+
args?: ListRequiredTagsCommandInput,
|
|
196
|
+
paginationConfig?: Pick<
|
|
197
|
+
PaginationConfiguration,
|
|
198
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
199
|
+
>
|
|
200
|
+
): Paginator<ListRequiredTagsCommandOutput>;
|
|
162
201
|
}
|
|
163
202
|
export declare class ResourceGroupsTaggingAPI
|
|
164
203
|
extends ResourceGroupsTaggingAPIClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups-tagging-api",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups Tagging Api 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-resource-groups-tagging-api",
|
|
@@ -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",
|