@aws-sdk/client-iam 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_query.js +2 -2
- package/dist-es/IAM.js +641 -634
- package/dist-es/IAMClient.js +28 -22
- package/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +29 -22
- package/dist-es/commands/AddRoleToInstanceProfileCommand.js +29 -22
- package/dist-es/commands/AddUserToGroupCommand.js +29 -22
- package/dist-es/commands/AttachGroupPolicyCommand.js +29 -22
- package/dist-es/commands/AttachRolePolicyCommand.js +29 -22
- package/dist-es/commands/AttachUserPolicyCommand.js +29 -22
- package/dist-es/commands/ChangePasswordCommand.js +29 -22
- package/dist-es/commands/CreateAccessKeyCommand.js +28 -21
- package/dist-es/commands/CreateAccountAliasCommand.js +29 -22
- package/dist-es/commands/CreateGroupCommand.js +28 -21
- package/dist-es/commands/CreateInstanceProfileCommand.js +28 -21
- package/dist-es/commands/CreateLoginProfileCommand.js +28 -21
- package/dist-es/commands/CreateOpenIDConnectProviderCommand.js +28 -21
- package/dist-es/commands/CreatePolicyCommand.js +28 -21
- package/dist-es/commands/CreatePolicyVersionCommand.js +28 -21
- package/dist-es/commands/CreateRoleCommand.js +28 -21
- package/dist-es/commands/CreateSAMLProviderCommand.js +28 -21
- package/dist-es/commands/CreateServiceLinkedRoleCommand.js +28 -21
- package/dist-es/commands/CreateServiceSpecificCredentialCommand.js +28 -21
- package/dist-es/commands/CreateUserCommand.js +28 -21
- package/dist-es/commands/CreateVirtualMFADeviceCommand.js +28 -21
- package/dist-es/commands/DeactivateMFADeviceCommand.js +29 -22
- package/dist-es/commands/DeleteAccessKeyCommand.js +29 -22
- package/dist-es/commands/DeleteAccountAliasCommand.js +29 -22
- package/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +30 -23
- package/dist-es/commands/DeleteGroupCommand.js +29 -22
- package/dist-es/commands/DeleteGroupPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteInstanceProfileCommand.js +29 -22
- package/dist-es/commands/DeleteLoginProfileCommand.js +29 -22
- package/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +29 -22
- package/dist-es/commands/DeletePolicyCommand.js +29 -22
- package/dist-es/commands/DeletePolicyVersionCommand.js +29 -22
- package/dist-es/commands/DeleteRoleCommand.js +29 -22
- package/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +29 -22
- package/dist-es/commands/DeleteRolePolicyCommand.js +29 -22
- package/dist-es/commands/DeleteSAMLProviderCommand.js +29 -22
- package/dist-es/commands/DeleteSSHPublicKeyCommand.js +29 -22
- package/dist-es/commands/DeleteServerCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteServiceLinkedRoleCommand.js +28 -21
- package/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +29 -22
- package/dist-es/commands/DeleteSigningCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteUserCommand.js +29 -22
- package/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +29 -22
- package/dist-es/commands/DeleteUserPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteVirtualMFADeviceCommand.js +29 -22
- package/dist-es/commands/DetachGroupPolicyCommand.js +29 -22
- package/dist-es/commands/DetachRolePolicyCommand.js +29 -22
- package/dist-es/commands/DetachUserPolicyCommand.js +29 -22
- package/dist-es/commands/EnableMFADeviceCommand.js +29 -22
- package/dist-es/commands/GenerateCredentialReportCommand.js +29 -22
- package/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +28 -21
- package/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +28 -21
- package/dist-es/commands/GetAccessKeyLastUsedCommand.js +28 -21
- package/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +28 -21
- package/dist-es/commands/GetAccountPasswordPolicyCommand.js +29 -22
- package/dist-es/commands/GetAccountSummaryCommand.js +29 -22
- package/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +28 -21
- package/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +28 -21
- package/dist-es/commands/GetCredentialReportCommand.js +29 -22
- package/dist-es/commands/GetGroupCommand.js +28 -21
- package/dist-es/commands/GetGroupPolicyCommand.js +28 -21
- package/dist-es/commands/GetInstanceProfileCommand.js +28 -21
- package/dist-es/commands/GetLoginProfileCommand.js +28 -21
- package/dist-es/commands/GetOpenIDConnectProviderCommand.js +28 -21
- package/dist-es/commands/GetOrganizationsAccessReportCommand.js +28 -21
- package/dist-es/commands/GetPolicyCommand.js +28 -21
- package/dist-es/commands/GetPolicyVersionCommand.js +28 -21
- package/dist-es/commands/GetRoleCommand.js +28 -21
- package/dist-es/commands/GetRolePolicyCommand.js +28 -21
- package/dist-es/commands/GetSAMLProviderCommand.js +28 -21
- package/dist-es/commands/GetSSHPublicKeyCommand.js +28 -21
- package/dist-es/commands/GetServerCertificateCommand.js +28 -21
- package/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +28 -21
- package/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +28 -21
- package/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +28 -21
- package/dist-es/commands/GetUserCommand.js +28 -21
- package/dist-es/commands/GetUserPolicyCommand.js +28 -21
- package/dist-es/commands/ListAccessKeysCommand.js +28 -21
- package/dist-es/commands/ListAccountAliasesCommand.js +28 -21
- package/dist-es/commands/ListAttachedGroupPoliciesCommand.js +28 -21
- package/dist-es/commands/ListAttachedRolePoliciesCommand.js +28 -21
- package/dist-es/commands/ListAttachedUserPoliciesCommand.js +28 -21
- package/dist-es/commands/ListEntitiesForPolicyCommand.js +28 -21
- package/dist-es/commands/ListGroupPoliciesCommand.js +28 -21
- package/dist-es/commands/ListGroupsCommand.js +28 -21
- package/dist-es/commands/ListGroupsForUserCommand.js +28 -21
- package/dist-es/commands/ListInstanceProfileTagsCommand.js +28 -21
- package/dist-es/commands/ListInstanceProfilesCommand.js +28 -21
- package/dist-es/commands/ListInstanceProfilesForRoleCommand.js +28 -21
- package/dist-es/commands/ListMFADeviceTagsCommand.js +28 -21
- package/dist-es/commands/ListMFADevicesCommand.js +28 -21
- package/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +28 -21
- package/dist-es/commands/ListOpenIDConnectProvidersCommand.js +28 -21
- package/dist-es/commands/ListPoliciesCommand.js +28 -21
- package/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +28 -21
- package/dist-es/commands/ListPolicyTagsCommand.js +28 -21
- package/dist-es/commands/ListPolicyVersionsCommand.js +28 -21
- package/dist-es/commands/ListRolePoliciesCommand.js +28 -21
- package/dist-es/commands/ListRoleTagsCommand.js +28 -21
- package/dist-es/commands/ListRolesCommand.js +28 -21
- package/dist-es/commands/ListSAMLProviderTagsCommand.js +28 -21
- package/dist-es/commands/ListSAMLProvidersCommand.js +28 -21
- package/dist-es/commands/ListSSHPublicKeysCommand.js +28 -21
- package/dist-es/commands/ListServerCertificateTagsCommand.js +28 -21
- package/dist-es/commands/ListServerCertificatesCommand.js +28 -21
- package/dist-es/commands/ListServiceSpecificCredentialsCommand.js +28 -21
- package/dist-es/commands/ListSigningCertificatesCommand.js +28 -21
- package/dist-es/commands/ListUserPoliciesCommand.js +28 -21
- package/dist-es/commands/ListUserTagsCommand.js +28 -21
- package/dist-es/commands/ListUsersCommand.js +28 -21
- package/dist-es/commands/ListVirtualMFADevicesCommand.js +28 -21
- package/dist-es/commands/PutGroupPolicyCommand.js +29 -22
- package/dist-es/commands/PutRolePermissionsBoundaryCommand.js +29 -22
- package/dist-es/commands/PutRolePolicyCommand.js +29 -22
- package/dist-es/commands/PutUserPermissionsBoundaryCommand.js +29 -22
- package/dist-es/commands/PutUserPolicyCommand.js +29 -22
- package/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +29 -22
- package/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +29 -22
- package/dist-es/commands/RemoveUserFromGroupCommand.js +29 -22
- package/dist-es/commands/ResetServiceSpecificCredentialCommand.js +28 -21
- package/dist-es/commands/ResyncMFADeviceCommand.js +29 -22
- package/dist-es/commands/SetDefaultPolicyVersionCommand.js +29 -22
- package/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +29 -22
- package/dist-es/commands/SimulateCustomPolicyCommand.js +28 -21
- package/dist-es/commands/SimulatePrincipalPolicyCommand.js +28 -21
- package/dist-es/commands/TagInstanceProfileCommand.js +29 -22
- package/dist-es/commands/TagMFADeviceCommand.js +29 -22
- package/dist-es/commands/TagOpenIDConnectProviderCommand.js +29 -22
- package/dist-es/commands/TagPolicyCommand.js +29 -22
- package/dist-es/commands/TagRoleCommand.js +29 -22
- package/dist-es/commands/TagSAMLProviderCommand.js +29 -22
- package/dist-es/commands/TagServerCertificateCommand.js +29 -22
- package/dist-es/commands/TagUserCommand.js +29 -22
- package/dist-es/commands/UntagInstanceProfileCommand.js +29 -22
- package/dist-es/commands/UntagMFADeviceCommand.js +29 -22
- package/dist-es/commands/UntagOpenIDConnectProviderCommand.js +29 -22
- package/dist-es/commands/UntagPolicyCommand.js +29 -22
- package/dist-es/commands/UntagRoleCommand.js +29 -22
- package/dist-es/commands/UntagSAMLProviderCommand.js +29 -22
- package/dist-es/commands/UntagServerCertificateCommand.js +29 -22
- package/dist-es/commands/UntagUserCommand.js +29 -22
- package/dist-es/commands/UpdateAccessKeyCommand.js +29 -22
- package/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +29 -22
- package/dist-es/commands/UpdateAssumeRolePolicyCommand.js +29 -22
- package/dist-es/commands/UpdateGroupCommand.js +29 -22
- package/dist-es/commands/UpdateLoginProfileCommand.js +29 -22
- package/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +29 -22
- package/dist-es/commands/UpdateRoleCommand.js +28 -21
- package/dist-es/commands/UpdateRoleDescriptionCommand.js +28 -21
- package/dist-es/commands/UpdateSAMLProviderCommand.js +28 -21
- package/dist-es/commands/UpdateSSHPublicKeyCommand.js +29 -22
- package/dist-es/commands/UpdateServerCertificateCommand.js +29 -22
- package/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +29 -22
- package/dist-es/commands/UpdateSigningCertificateCommand.js +29 -22
- package/dist-es/commands/UpdateUserCommand.js +29 -22
- package/dist-es/commands/UploadSSHPublicKeyCommand.js +28 -21
- package/dist-es/commands/UploadServerCertificateCommand.js +28 -21
- package/dist-es/commands/UploadSigningCertificateCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IAMServiceException.js +10 -5
- package/dist-es/models/models_0.js +497 -1026
- package/dist-es/models/models_1.js +95 -152
- package/dist-es/pagination/GetAccountAuthorizationDetailsPaginator.js +68 -25
- package/dist-es/pagination/GetGroupPaginator.js +68 -25
- package/dist-es/pagination/ListAccessKeysPaginator.js +68 -25
- package/dist-es/pagination/ListAccountAliasesPaginator.js +68 -25
- package/dist-es/pagination/ListAttachedGroupPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListAttachedRolePoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListAttachedUserPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListEntitiesForPolicyPaginator.js +68 -25
- package/dist-es/pagination/ListGroupPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsForUserPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListInstanceProfilesForRolePaginator.js +68 -25
- package/dist-es/pagination/ListInstanceProfilesPaginator.js +68 -25
- package/dist-es/pagination/ListMFADevicesPaginator.js +68 -25
- package/dist-es/pagination/ListPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListPolicyVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListRolePoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListRolesPaginator.js +68 -25
- package/dist-es/pagination/ListSSHPublicKeysPaginator.js +68 -25
- package/dist-es/pagination/ListServerCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListSigningCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListUserPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListUserTagsPaginator.js +68 -25
- package/dist-es/pagination/ListUsersPaginator.js +68 -25
- package/dist-es/pagination/ListVirtualMFADevicesPaginator.js +68 -25
- package/dist-es/pagination/SimulateCustomPolicyPaginator.js +68 -25
- package/dist-es/pagination/SimulatePrincipalPolicyPaginator.js +68 -25
- package/dist-es/protocols/Aws_query.js +12379 -9069
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForInstanceProfileExists.js +42 -23
- package/dist-es/waiters/waitForPolicyExists.js +42 -23
- package/dist-es/waiters/waitForRoleExists.js +42 -23
- package/dist-es/waiters/waitForUserExists.js +42 -23
- package/package.json +34 -34
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListUserPoliciesCommand, } from "../commands/ListUserPoliciesCommand";
|
|
2
3
|
import { IAM } from "../IAM";
|
|
3
4
|
import { IAMClient } from "../IAMClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUserPoliciesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listUserPolicies.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.Marker = token;
|
|
16
|
-
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof IAM) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected IAM | IAMClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.Marker;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListUserPolicies(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListUserPolicies_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxItems"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IAM | IAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.Marker;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListUserTagsCommand, } from "../commands/ListUserTagsCommand";
|
|
2
3
|
import { IAM } from "../IAM";
|
|
3
4
|
import { IAMClient } from "../IAMClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUserTagsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listUserTags.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.Marker = token;
|
|
16
|
-
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof IAM) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected IAM | IAMClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.Marker;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListUserTags(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListUserTags_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxItems"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IAM | IAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.Marker;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListUsersCommand } from "../commands/ListUsersCommand";
|
|
2
3
|
import { IAM } from "../IAM";
|
|
3
4
|
import { IAMClient } from "../IAMClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listUsers.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.Marker = token;
|
|
16
|
-
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof IAM) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected IAM | IAMClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.Marker;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListUsers(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListUsers_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxItems"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IAM | IAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.Marker;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListVirtualMFADevicesCommand, } from "../commands/ListVirtualMFADevicesCommand";
|
|
2
3
|
import { IAM } from "../IAM";
|
|
3
4
|
import { IAMClient } from "../IAMClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListVirtualMFADevicesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listVirtualMFADevices.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.Marker = token;
|
|
16
|
-
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof IAM) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected IAM | IAMClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.Marker;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListVirtualMFADevices(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListVirtualMFADevices_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxItems"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IAM | IAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.Marker;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { SimulateCustomPolicyCommand, } from "../commands/SimulateCustomPolicyCommand";
|
|
2
3
|
import { IAM } from "../IAM";
|
|
3
4
|
import { IAMClient } from "../IAMClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SimulateCustomPolicyCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.simulateCustomPolicy.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.Marker = token;
|
|
16
|
-
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof IAM) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected IAM | IAMClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.Marker;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateSimulateCustomPolicy(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateSimulateCustomPolicy_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxItems"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IAM | IAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.Marker;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { SimulatePrincipalPolicyCommand, } from "../commands/SimulatePrincipalPolicyCommand";
|
|
2
3
|
import { IAM } from "../IAM";
|
|
3
4
|
import { IAMClient } from "../IAMClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SimulatePrincipalPolicyCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.simulatePrincipalPolicy.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.Marker = token;
|
|
16
|
-
input["MaxItems"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof IAM) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof IAMClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected IAM | IAMClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.Marker;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateSimulatePrincipalPolicy(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateSimulatePrincipalPolicy_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxItems"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IAM)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IAMClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IAM | IAMClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.Marker;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|