@aws-sdk/client-resource-groups 3.31.0 → 3.35.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/CHANGELOG.md +39 -0
- package/{dist/cjs → dist-cjs}/ResourceGroups.js +1 -1
- package/dist-cjs/ResourceGroups.js.map +1 -0
- package/{dist/cjs → dist-cjs}/ResourceGroupsClient.js +14 -14
- package/dist-cjs/ResourceGroupsClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateGroupCommand.js +5 -5
- package/dist-cjs/commands/CreateGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteGroupCommand.js +5 -5
- package/dist-cjs/commands/DeleteGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetGroupCommand.js +5 -5
- package/dist-cjs/commands/GetGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetGroupConfigurationCommand.js +5 -5
- package/dist-cjs/commands/GetGroupConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetGroupQueryCommand.js +5 -5
- package/dist-cjs/commands/GetGroupQueryCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetTagsCommand.js +5 -5
- package/dist-cjs/commands/GetTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GroupResourcesCommand.js +5 -5
- package/dist-cjs/commands/GroupResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListGroupResourcesCommand.js +5 -5
- package/dist-cjs/commands/ListGroupResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListGroupsCommand.js +5 -5
- package/dist-cjs/commands/ListGroupsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutGroupConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutGroupConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/SearchResourcesCommand.js +5 -5
- package/dist-cjs/commands/SearchResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/TagCommand.js +5 -5
- package/dist-cjs/commands/TagCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UngroupResourcesCommand.js +5 -5
- package/dist-cjs/commands/UngroupResourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagCommand.js +5 -5
- package/dist-cjs/commands/UntagCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateGroupCommand.js +5 -5
- package/dist-cjs/commands/UpdateGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateGroupQueryCommand.js +5 -5
- package/dist-cjs/commands/UpdateGroupQueryCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +27 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListGroupResourcesPaginator.js +1 -1
- package/dist-cjs/pagination/ListGroupResourcesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListGroupsPaginator.js +1 -1
- package/dist-cjs/pagination/ListGroupsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/SearchResourcesPaginator.js +1 -1
- package/dist-cjs/pagination/SearchResourcesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +69 -69
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/ResourceGroups.js +2 -40
- package/dist-es/ResourceGroups.js.map +1 -0
- package/dist-es/ResourceGroupsClient.js +38 -0
- package/dist-es/ResourceGroupsClient.js.map +1 -0
- package/dist-es/commands/CreateGroupCommand.js +40 -0
- package/dist-es/commands/CreateGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteGroupCommand.js +4 -41
- package/dist-es/commands/DeleteGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetGroupCommand.js +4 -40
- package/dist-es/commands/GetGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetGroupConfigurationCommand.js +4 -42
- package/dist-es/commands/GetGroupConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetGroupQueryCommand.js +4 -42
- package/dist-es/commands/GetGroupQueryCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetTagsCommand.js +4 -41
- package/dist-es/commands/GetTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GroupResourcesCommand.js +4 -40
- package/dist-es/commands/GroupResourcesCommand.js.map +1 -0
- package/dist-es/commands/ListGroupResourcesCommand.js +40 -0
- package/dist-es/commands/ListGroupResourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListGroupsCommand.js +4 -40
- package/dist-es/commands/ListGroupsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutGroupConfigurationCommand.js +4 -42
- package/dist-es/commands/PutGroupConfigurationCommand.js.map +1 -0
- package/dist-es/commands/SearchResourcesCommand.js +40 -0
- package/dist-es/commands/SearchResourcesCommand.js.map +1 -0
- package/dist-es/commands/TagCommand.js +40 -0
- package/dist-es/commands/TagCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UngroupResourcesCommand.js +4 -40
- package/dist-es/commands/UngroupResourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagCommand.js +4 -40
- package/dist-es/commands/UntagCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateGroupCommand.js +4 -41
- package/dist-es/commands/UpdateGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateGroupQueryCommand.js +4 -41
- package/dist-es/commands/UpdateGroupQueryCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -162
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListGroupResourcesPaginator.js +17 -29
- package/dist-es/pagination/ListGroupResourcesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListGroupsPaginator.js +17 -29
- package/dist-es/pagination/ListGroupsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/SearchResourcesPaginator.js +17 -29
- package/dist-es/pagination/SearchResourcesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +531 -536
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/ResourceGroups.d.ts +2 -2
- package/{dist/types → dist-types}/ResourceGroupsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListGroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SearchResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UngroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListGroupResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/SearchResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ResourceGroups.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/ResourceGroupsClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DeleteGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetTagsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListGroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListGroupsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/PutGroupConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/SearchResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/TagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UngroupResourcesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UntagCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateGroupCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/UpdateGroupQueryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListGroupResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/SearchResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{ResourceGroups.ts → src/ResourceGroups.ts} +3 -2
- package/{ResourceGroupsClient.ts → src/ResourceGroupsClient.ts} +37 -36
- package/{commands → src/commands}/CreateGroupCommand.ts +8 -7
- package/{commands → src/commands}/DeleteGroupCommand.ts +8 -7
- package/{commands → src/commands}/GetGroupCommand.ts +8 -7
- package/{commands → src/commands}/GetGroupConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/GetGroupQueryCommand.ts +8 -7
- package/{commands → src/commands}/GetTagsCommand.ts +8 -7
- package/{commands → src/commands}/GroupResourcesCommand.ts +8 -7
- package/{commands → src/commands}/ListGroupResourcesCommand.ts +8 -7
- package/{commands → src/commands}/ListGroupsCommand.ts +8 -7
- package/{commands → src/commands}/PutGroupConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/SearchResourcesCommand.ts +8 -7
- package/{commands → src/commands}/TagCommand.ts +5 -4
- package/{commands → src/commands}/UngroupResourcesCommand.ts +8 -7
- package/{commands → src/commands}/UntagCommand.ts +5 -4
- package/{commands → src/commands}/UpdateGroupCommand.ts +8 -7
- package/{commands → src/commands}/UpdateGroupQueryCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListGroupResourcesPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListGroupsPaginator.ts +3 -2
- package/{pagination → src/pagination}/SearchResourcesPaginator.ts +4 -3
- package/{protocols → src/protocols}/Aws_restJson1.ts +46 -43
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/ResourceGroups.js.map +0 -1
- package/dist/cjs/ResourceGroupsClient.js.map +0 -1
- package/dist/cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetGroupQueryCommand.js.map +0 -1
- package/dist/cjs/commands/GetTagsCommand.js.map +0 -1
- package/dist/cjs/commands/GroupResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/PutGroupConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/SearchResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/TagCommand.js.map +0 -1
- package/dist/cjs/commands/UngroupResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/UntagCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGroupQueryCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -27
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/ListGroupResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/SearchResourcesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ResourceGroups.js.map +0 -1
- package/dist/es/ResourceGroupsClient.js +0 -81
- package/dist/es/ResourceGroupsClient.js.map +0 -1
- package/dist/es/commands/CreateGroupCommand.js +0 -80
- package/dist/es/commands/CreateGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/es/commands/GetGroupCommand.js.map +0 -1
- package/dist/es/commands/GetGroupConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetGroupQueryCommand.js.map +0 -1
- package/dist/es/commands/GetTagsCommand.js.map +0 -1
- package/dist/es/commands/GroupResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupResourcesCommand.js +0 -92
- package/dist/es/commands/ListGroupResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupsCommand.js.map +0 -1
- package/dist/es/commands/PutGroupConfigurationCommand.js.map +0 -1
- package/dist/es/commands/SearchResourcesCommand.js +0 -93
- package/dist/es/commands/SearchResourcesCommand.js.map +0 -1
- package/dist/es/commands/TagCommand.js +0 -83
- package/dist/es/commands/TagCommand.js.map +0 -1
- package/dist/es/commands/UngroupResourcesCommand.js.map +0 -1
- package/dist/es/commands/UntagCommand.js.map +0 -1
- package/dist/es/commands/UpdateGroupCommand.js.map +0 -1
- package/dist/es/commands/UpdateGroupQueryCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/ListGroupResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/SearchResourcesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListGroupResourcesCommand, } from "../commands/ListGroupResourcesCommand";
|
|
2
3
|
import { ResourceGroups } from "../ResourceGroups";
|
|
3
4
|
import { ResourceGroupsClient } from "../ResourceGroupsClient";
|
|
4
|
-
import { ListGroupResourcesCommand, } from "../commands/ListGroupResourcesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListGroupResourcesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listGroupResources.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateListGroupResources(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof ResourceGroups)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof ResourceGroups)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof ResourceGroupsClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof ResourceGroupsClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected ResourceGroups | ResourceGroupsClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListGroupResourcesPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListGroupResourcesPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EACL,yBAAyB,GAG1B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAM/D,IAAM,sBAAsB,GAAG,UAC7B,MAA4B,EAC5B,KAAqC;IACrC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,yBAAyB,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAAvE,WAAO,SAAgE,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,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
2
3
|
import { ResourceGroups } from "../ResourceGroups";
|
|
3
4
|
import { ResourceGroupsClient } from "../ResourceGroupsClient";
|
|
4
|
-
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListGroupsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateListGroups(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof ResourceGroups)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof ResourceGroups)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof ResourceGroupsClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof ResourceGroupsClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected ResourceGroups | ResourceGroupsClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined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,CAAA,MAAM,CAAC,MAAM,YAAY,cAAc,CAAA,EAAvC,cAAuC;oBAClC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,oBAAoB,CAAA,EAA7C,cAA6C;oBAC/C,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;2CAE9E,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { SearchResourcesCommand, } from "../commands/SearchResourcesCommand";
|
|
2
3
|
import { ResourceGroups } from "../ResourceGroups";
|
|
3
4
|
import { ResourceGroupsClient } from "../ResourceGroupsClient";
|
|
4
|
-
import { SearchResourcesCommand, } from "../commands/SearchResourcesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SearchResourcesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.searchResources.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateSearchResources(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.NextToken = token;
|
|
59
49
|
input["MaxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof ResourceGroups)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof ResourceGroups)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof ResourceGroupsClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof ResourceGroupsClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected ResourceGroups | ResourceGroupsClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.NextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchResourcesPaginator.js","sourceRoot":"","sources":["../../src/pagination/SearchResourcesPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EACL,sBAAsB,GAGvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAM/D,IAAM,sBAAsB,GAAG,UAC7B,MAA4B,EAC5B,KAAkC;IAClC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,sBAAsB,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAApE,WAAO,SAA6D,EAAC;;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