@aws-sdk/client-resource-groups 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 +18 -11
- package/dist-es/ResourceGroups.js +13 -1
- package/dist-types/ResourceGroups.d.ts +36 -1
- package/dist-types/ts3.4/ResourceGroups.d.ts +40 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1140,6 +1140,16 @@ class UpdateGroupQueryCommand extends smithyClient.Command
|
|
|
1140
1140
|
.build() {
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
|
+
const paginateListGroupingStatuses = core.createPaginator(ResourceGroupsClient, ListGroupingStatusesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1144
|
+
|
|
1145
|
+
const paginateListGroupResources = core.createPaginator(ResourceGroupsClient, ListGroupResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1146
|
+
|
|
1147
|
+
const paginateListGroups = core.createPaginator(ResourceGroupsClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1148
|
+
|
|
1149
|
+
const paginateListTagSyncTasks = core.createPaginator(ResourceGroupsClient, ListTagSyncTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1150
|
+
|
|
1151
|
+
const paginateSearchResources = core.createPaginator(ResourceGroupsClient, SearchResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1152
|
+
|
|
1143
1153
|
const commands = {
|
|
1144
1154
|
CancelTagSyncTaskCommand,
|
|
1145
1155
|
CreateGroupCommand,
|
|
@@ -1165,19 +1175,16 @@ const commands = {
|
|
|
1165
1175
|
UpdateGroupCommand,
|
|
1166
1176
|
UpdateGroupQueryCommand,
|
|
1167
1177
|
};
|
|
1178
|
+
const paginators = {
|
|
1179
|
+
paginateListGroupingStatuses,
|
|
1180
|
+
paginateListGroupResources,
|
|
1181
|
+
paginateListGroups,
|
|
1182
|
+
paginateListTagSyncTasks,
|
|
1183
|
+
paginateSearchResources,
|
|
1184
|
+
};
|
|
1168
1185
|
class ResourceGroups extends ResourceGroupsClient {
|
|
1169
1186
|
}
|
|
1170
|
-
smithyClient.createAggregatedClient(commands, ResourceGroups);
|
|
1171
|
-
|
|
1172
|
-
const paginateListGroupingStatuses = core.createPaginator(ResourceGroupsClient, ListGroupingStatusesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1173
|
-
|
|
1174
|
-
const paginateListGroupResources = core.createPaginator(ResourceGroupsClient, ListGroupResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1175
|
-
|
|
1176
|
-
const paginateListGroups = core.createPaginator(ResourceGroupsClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1177
|
-
|
|
1178
|
-
const paginateListTagSyncTasks = core.createPaginator(ResourceGroupsClient, ListTagSyncTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1179
|
-
|
|
1180
|
-
const paginateSearchResources = core.createPaginator(ResourceGroupsClient, SearchResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1187
|
+
smithyClient.createAggregatedClient(commands, ResourceGroups, { paginators });
|
|
1181
1188
|
|
|
1182
1189
|
const GroupLifecycleEventsDesiredStatus = {
|
|
1183
1190
|
ACTIVE: "ACTIVE",
|
|
@@ -22,6 +22,11 @@ import { UntagCommand } from "./commands/UntagCommand";
|
|
|
22
22
|
import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
|
|
23
23
|
import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
|
|
24
24
|
import { UpdateGroupQueryCommand, } from "./commands/UpdateGroupQueryCommand";
|
|
25
|
+
import { paginateListGroupingStatuses } from "./pagination/ListGroupingStatusesPaginator";
|
|
26
|
+
import { paginateListGroupResources } from "./pagination/ListGroupResourcesPaginator";
|
|
27
|
+
import { paginateListGroups } from "./pagination/ListGroupsPaginator";
|
|
28
|
+
import { paginateListTagSyncTasks } from "./pagination/ListTagSyncTasksPaginator";
|
|
29
|
+
import { paginateSearchResources } from "./pagination/SearchResourcesPaginator";
|
|
25
30
|
import { ResourceGroupsClient } from "./ResourceGroupsClient";
|
|
26
31
|
const commands = {
|
|
27
32
|
CancelTagSyncTaskCommand,
|
|
@@ -48,6 +53,13 @@ const commands = {
|
|
|
48
53
|
UpdateGroupCommand,
|
|
49
54
|
UpdateGroupQueryCommand,
|
|
50
55
|
};
|
|
56
|
+
const paginators = {
|
|
57
|
+
paginateListGroupingStatuses,
|
|
58
|
+
paginateListGroupResources,
|
|
59
|
+
paginateListGroups,
|
|
60
|
+
paginateListTagSyncTasks,
|
|
61
|
+
paginateSearchResources,
|
|
62
|
+
};
|
|
51
63
|
export class ResourceGroups extends ResourceGroupsClient {
|
|
52
64
|
}
|
|
53
|
-
createAggregatedClient(commands, ResourceGroups);
|
|
65
|
+
createAggregatedClient(commands, ResourceGroups, { 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 { CancelTagSyncTaskCommandInput, CancelTagSyncTaskCommandOutput } from "./commands/CancelTagSyncTaskCommand";
|
|
3
3
|
import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
|
|
4
4
|
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
@@ -173,6 +173,41 @@ export interface ResourceGroups {
|
|
|
173
173
|
updateGroupQuery(args: UpdateGroupQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGroupQueryCommandOutput>;
|
|
174
174
|
updateGroupQuery(args: UpdateGroupQueryCommandInput, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
|
|
175
175
|
updateGroupQuery(args: UpdateGroupQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link ListGroupingStatusesCommand}
|
|
178
|
+
* @param args - command input.
|
|
179
|
+
* @param paginationConfig - optional pagination config.
|
|
180
|
+
* @returns AsyncIterable of {@link ListGroupingStatusesCommandOutput}.
|
|
181
|
+
*/
|
|
182
|
+
paginateListGroupingStatuses(args: ListGroupingStatusesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGroupingStatusesCommandOutput>;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link ListGroupResourcesCommand}
|
|
185
|
+
* @param args - command input.
|
|
186
|
+
* @param paginationConfig - optional pagination config.
|
|
187
|
+
* @returns AsyncIterable of {@link ListGroupResourcesCommandOutput}.
|
|
188
|
+
*/
|
|
189
|
+
paginateListGroupResources(args?: ListGroupResourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGroupResourcesCommandOutput>;
|
|
190
|
+
/**
|
|
191
|
+
* @see {@link ListGroupsCommand}
|
|
192
|
+
* @param args - command input.
|
|
193
|
+
* @param paginationConfig - optional pagination config.
|
|
194
|
+
* @returns AsyncIterable of {@link ListGroupsCommandOutput}.
|
|
195
|
+
*/
|
|
196
|
+
paginateListGroups(args?: ListGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGroupsCommandOutput>;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link ListTagSyncTasksCommand}
|
|
199
|
+
* @param args - command input.
|
|
200
|
+
* @param paginationConfig - optional pagination config.
|
|
201
|
+
* @returns AsyncIterable of {@link ListTagSyncTasksCommandOutput}.
|
|
202
|
+
*/
|
|
203
|
+
paginateListTagSyncTasks(args?: ListTagSyncTasksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagSyncTasksCommandOutput>;
|
|
204
|
+
/**
|
|
205
|
+
* @see {@link SearchResourcesCommand}
|
|
206
|
+
* @param args - command input.
|
|
207
|
+
* @param paginationConfig - optional pagination config.
|
|
208
|
+
* @returns AsyncIterable of {@link SearchResourcesCommandOutput}.
|
|
209
|
+
*/
|
|
210
|
+
paginateSearchResources(args: SearchResourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchResourcesCommandOutput>;
|
|
176
211
|
}
|
|
177
212
|
/**
|
|
178
213
|
* <p>Resource Groups lets you organize Amazon Web Services resources such as Amazon Elastic Compute Cloud instances, Amazon Relational Database Service
|
|
@@ -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
|
CancelTagSyncTaskCommandInput,
|
|
4
8
|
CancelTagSyncTaskCommandOutput,
|
|
@@ -397,6 +401,41 @@ export interface ResourceGroups {
|
|
|
397
401
|
options: __HttpHandlerOptions,
|
|
398
402
|
cb: (err: any, data?: UpdateGroupQueryCommandOutput) => void
|
|
399
403
|
): void;
|
|
404
|
+
paginateListGroupingStatuses(
|
|
405
|
+
args: ListGroupingStatusesCommandInput,
|
|
406
|
+
paginationConfig?: Pick<
|
|
407
|
+
PaginationConfiguration,
|
|
408
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
409
|
+
>
|
|
410
|
+
): Paginator<ListGroupingStatusesCommandOutput>;
|
|
411
|
+
paginateListGroupResources(
|
|
412
|
+
args?: ListGroupResourcesCommandInput,
|
|
413
|
+
paginationConfig?: Pick<
|
|
414
|
+
PaginationConfiguration,
|
|
415
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
416
|
+
>
|
|
417
|
+
): Paginator<ListGroupResourcesCommandOutput>;
|
|
418
|
+
paginateListGroups(
|
|
419
|
+
args?: ListGroupsCommandInput,
|
|
420
|
+
paginationConfig?: Pick<
|
|
421
|
+
PaginationConfiguration,
|
|
422
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
423
|
+
>
|
|
424
|
+
): Paginator<ListGroupsCommandOutput>;
|
|
425
|
+
paginateListTagSyncTasks(
|
|
426
|
+
args?: ListTagSyncTasksCommandInput,
|
|
427
|
+
paginationConfig?: Pick<
|
|
428
|
+
PaginationConfiguration,
|
|
429
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
430
|
+
>
|
|
431
|
+
): Paginator<ListTagSyncTasksCommandOutput>;
|
|
432
|
+
paginateSearchResources(
|
|
433
|
+
args: SearchResourcesCommandInput,
|
|
434
|
+
paginationConfig?: Pick<
|
|
435
|
+
PaginationConfiguration,
|
|
436
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
437
|
+
>
|
|
438
|
+
): Paginator<SearchResourcesCommandOutput>;
|
|
400
439
|
}
|
|
401
440
|
export declare class ResourceGroups
|
|
402
441
|
extends ResourceGroupsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resource-groups",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resource Groups 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",
|
|
@@ -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",
|