@aws-sdk/client-iam 3.186.0 → 3.188.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 +8 -0
- package/dist-cjs/models/models_0.js +66 -6
- package/dist-cjs/protocols/Aws_query.js +8 -4
- package/dist-es/IAM.js +634 -641
- package/dist-es/IAMClient.js +22 -28
- package/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +22 -29
- package/dist-es/commands/AddRoleToInstanceProfileCommand.js +22 -29
- package/dist-es/commands/AddUserToGroupCommand.js +22 -29
- package/dist-es/commands/AttachGroupPolicyCommand.js +22 -29
- package/dist-es/commands/AttachRolePolicyCommand.js +22 -29
- package/dist-es/commands/AttachUserPolicyCommand.js +22 -29
- package/dist-es/commands/ChangePasswordCommand.js +22 -29
- package/dist-es/commands/CreateAccessKeyCommand.js +21 -28
- package/dist-es/commands/CreateAccountAliasCommand.js +22 -29
- package/dist-es/commands/CreateGroupCommand.js +21 -28
- package/dist-es/commands/CreateInstanceProfileCommand.js +21 -28
- package/dist-es/commands/CreateLoginProfileCommand.js +21 -28
- package/dist-es/commands/CreateOpenIDConnectProviderCommand.js +21 -28
- package/dist-es/commands/CreatePolicyCommand.js +21 -28
- package/dist-es/commands/CreatePolicyVersionCommand.js +21 -28
- package/dist-es/commands/CreateRoleCommand.js +21 -28
- package/dist-es/commands/CreateSAMLProviderCommand.js +21 -28
- package/dist-es/commands/CreateServiceLinkedRoleCommand.js +21 -28
- package/dist-es/commands/CreateServiceSpecificCredentialCommand.js +21 -28
- package/dist-es/commands/CreateUserCommand.js +21 -28
- package/dist-es/commands/CreateVirtualMFADeviceCommand.js +21 -28
- package/dist-es/commands/DeactivateMFADeviceCommand.js +22 -29
- package/dist-es/commands/DeleteAccessKeyCommand.js +22 -29
- package/dist-es/commands/DeleteAccountAliasCommand.js +22 -29
- package/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +23 -30
- package/dist-es/commands/DeleteGroupCommand.js +22 -29
- package/dist-es/commands/DeleteGroupPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteInstanceProfileCommand.js +22 -29
- package/dist-es/commands/DeleteLoginProfileCommand.js +22 -29
- package/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +22 -29
- package/dist-es/commands/DeletePolicyCommand.js +22 -29
- package/dist-es/commands/DeletePolicyVersionCommand.js +22 -29
- package/dist-es/commands/DeleteRoleCommand.js +22 -29
- package/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +22 -29
- package/dist-es/commands/DeleteRolePolicyCommand.js +22 -29
- package/dist-es/commands/DeleteSAMLProviderCommand.js +22 -29
- package/dist-es/commands/DeleteSSHPublicKeyCommand.js +22 -29
- package/dist-es/commands/DeleteServerCertificateCommand.js +22 -29
- package/dist-es/commands/DeleteServiceLinkedRoleCommand.js +21 -28
- package/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +22 -29
- package/dist-es/commands/DeleteSigningCertificateCommand.js +22 -29
- package/dist-es/commands/DeleteUserCommand.js +22 -29
- package/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +22 -29
- package/dist-es/commands/DeleteUserPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteVirtualMFADeviceCommand.js +22 -29
- package/dist-es/commands/DetachGroupPolicyCommand.js +22 -29
- package/dist-es/commands/DetachRolePolicyCommand.js +22 -29
- package/dist-es/commands/DetachUserPolicyCommand.js +22 -29
- package/dist-es/commands/EnableMFADeviceCommand.js +22 -29
- package/dist-es/commands/GenerateCredentialReportCommand.js +22 -29
- package/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +21 -28
- package/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +21 -28
- package/dist-es/commands/GetAccessKeyLastUsedCommand.js +21 -28
- package/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +21 -28
- package/dist-es/commands/GetAccountPasswordPolicyCommand.js +22 -29
- package/dist-es/commands/GetAccountSummaryCommand.js +22 -29
- package/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +21 -28
- package/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +21 -28
- package/dist-es/commands/GetCredentialReportCommand.js +22 -29
- package/dist-es/commands/GetGroupCommand.js +21 -28
- package/dist-es/commands/GetGroupPolicyCommand.js +21 -28
- package/dist-es/commands/GetInstanceProfileCommand.js +21 -28
- package/dist-es/commands/GetLoginProfileCommand.js +21 -28
- package/dist-es/commands/GetOpenIDConnectProviderCommand.js +21 -28
- package/dist-es/commands/GetOrganizationsAccessReportCommand.js +21 -28
- package/dist-es/commands/GetPolicyCommand.js +21 -28
- package/dist-es/commands/GetPolicyVersionCommand.js +21 -28
- package/dist-es/commands/GetRoleCommand.js +21 -28
- package/dist-es/commands/GetRolePolicyCommand.js +21 -28
- package/dist-es/commands/GetSAMLProviderCommand.js +21 -28
- package/dist-es/commands/GetSSHPublicKeyCommand.js +21 -28
- package/dist-es/commands/GetServerCertificateCommand.js +21 -28
- package/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +21 -28
- package/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +21 -28
- package/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +21 -28
- package/dist-es/commands/GetUserCommand.js +21 -28
- package/dist-es/commands/GetUserPolicyCommand.js +21 -28
- package/dist-es/commands/ListAccessKeysCommand.js +21 -28
- package/dist-es/commands/ListAccountAliasesCommand.js +21 -28
- package/dist-es/commands/ListAttachedGroupPoliciesCommand.js +21 -28
- package/dist-es/commands/ListAttachedRolePoliciesCommand.js +21 -28
- package/dist-es/commands/ListAttachedUserPoliciesCommand.js +21 -28
- package/dist-es/commands/ListEntitiesForPolicyCommand.js +21 -28
- package/dist-es/commands/ListGroupPoliciesCommand.js +21 -28
- package/dist-es/commands/ListGroupsCommand.js +21 -28
- package/dist-es/commands/ListGroupsForUserCommand.js +21 -28
- package/dist-es/commands/ListInstanceProfileTagsCommand.js +21 -28
- package/dist-es/commands/ListInstanceProfilesCommand.js +21 -28
- package/dist-es/commands/ListInstanceProfilesForRoleCommand.js +21 -28
- package/dist-es/commands/ListMFADeviceTagsCommand.js +21 -28
- package/dist-es/commands/ListMFADevicesCommand.js +21 -28
- package/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +21 -28
- package/dist-es/commands/ListOpenIDConnectProvidersCommand.js +21 -28
- package/dist-es/commands/ListPoliciesCommand.js +21 -28
- package/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +21 -28
- package/dist-es/commands/ListPolicyTagsCommand.js +21 -28
- package/dist-es/commands/ListPolicyVersionsCommand.js +21 -28
- package/dist-es/commands/ListRolePoliciesCommand.js +21 -28
- package/dist-es/commands/ListRoleTagsCommand.js +21 -28
- package/dist-es/commands/ListRolesCommand.js +21 -28
- package/dist-es/commands/ListSAMLProviderTagsCommand.js +21 -28
- package/dist-es/commands/ListSAMLProvidersCommand.js +21 -28
- package/dist-es/commands/ListSSHPublicKeysCommand.js +21 -28
- package/dist-es/commands/ListServerCertificateTagsCommand.js +21 -28
- package/dist-es/commands/ListServerCertificatesCommand.js +21 -28
- package/dist-es/commands/ListServiceSpecificCredentialsCommand.js +21 -28
- package/dist-es/commands/ListSigningCertificatesCommand.js +21 -28
- package/dist-es/commands/ListUserPoliciesCommand.js +21 -28
- package/dist-es/commands/ListUserTagsCommand.js +21 -28
- package/dist-es/commands/ListUsersCommand.js +21 -28
- package/dist-es/commands/ListVirtualMFADevicesCommand.js +21 -28
- package/dist-es/commands/PutGroupPolicyCommand.js +22 -29
- package/dist-es/commands/PutRolePermissionsBoundaryCommand.js +22 -29
- package/dist-es/commands/PutRolePolicyCommand.js +22 -29
- package/dist-es/commands/PutUserPermissionsBoundaryCommand.js +22 -29
- package/dist-es/commands/PutUserPolicyCommand.js +22 -29
- package/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +22 -29
- package/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +22 -29
- package/dist-es/commands/RemoveUserFromGroupCommand.js +22 -29
- package/dist-es/commands/ResetServiceSpecificCredentialCommand.js +21 -28
- package/dist-es/commands/ResyncMFADeviceCommand.js +22 -29
- package/dist-es/commands/SetDefaultPolicyVersionCommand.js +22 -29
- package/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +22 -29
- package/dist-es/commands/SimulateCustomPolicyCommand.js +21 -28
- package/dist-es/commands/SimulatePrincipalPolicyCommand.js +21 -28
- package/dist-es/commands/TagInstanceProfileCommand.js +22 -29
- package/dist-es/commands/TagMFADeviceCommand.js +22 -29
- package/dist-es/commands/TagOpenIDConnectProviderCommand.js +22 -29
- package/dist-es/commands/TagPolicyCommand.js +22 -29
- package/dist-es/commands/TagRoleCommand.js +22 -29
- package/dist-es/commands/TagSAMLProviderCommand.js +22 -29
- package/dist-es/commands/TagServerCertificateCommand.js +22 -29
- package/dist-es/commands/TagUserCommand.js +22 -29
- package/dist-es/commands/UntagInstanceProfileCommand.js +22 -29
- package/dist-es/commands/UntagMFADeviceCommand.js +22 -29
- package/dist-es/commands/UntagOpenIDConnectProviderCommand.js +22 -29
- package/dist-es/commands/UntagPolicyCommand.js +22 -29
- package/dist-es/commands/UntagRoleCommand.js +22 -29
- package/dist-es/commands/UntagSAMLProviderCommand.js +22 -29
- package/dist-es/commands/UntagServerCertificateCommand.js +22 -29
- package/dist-es/commands/UntagUserCommand.js +22 -29
- package/dist-es/commands/UpdateAccessKeyCommand.js +22 -29
- package/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +22 -29
- package/dist-es/commands/UpdateAssumeRolePolicyCommand.js +22 -29
- package/dist-es/commands/UpdateGroupCommand.js +22 -29
- package/dist-es/commands/UpdateLoginProfileCommand.js +22 -29
- package/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +22 -29
- package/dist-es/commands/UpdateRoleCommand.js +21 -28
- package/dist-es/commands/UpdateRoleDescriptionCommand.js +21 -28
- package/dist-es/commands/UpdateSAMLProviderCommand.js +21 -28
- package/dist-es/commands/UpdateSSHPublicKeyCommand.js +22 -29
- package/dist-es/commands/UpdateServerCertificateCommand.js +22 -29
- package/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +22 -29
- package/dist-es/commands/UpdateSigningCertificateCommand.js +22 -29
- package/dist-es/commands/UpdateUserCommand.js +22 -29
- package/dist-es/commands/UploadSSHPublicKeyCommand.js +21 -28
- package/dist-es/commands/UploadServerCertificateCommand.js +21 -28
- package/dist-es/commands/UploadSigningCertificateCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IAMServiceException.js +5 -10
- package/dist-es/models/models_0.js +1086 -497
- package/dist-es/models/models_1.js +152 -95
- package/dist-es/pagination/GetAccountAuthorizationDetailsPaginator.js +25 -68
- package/dist-es/pagination/GetGroupPaginator.js +25 -68
- package/dist-es/pagination/ListAccessKeysPaginator.js +25 -68
- package/dist-es/pagination/ListAccountAliasesPaginator.js +25 -68
- package/dist-es/pagination/ListAttachedGroupPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListAttachedRolePoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListAttachedUserPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListEntitiesForPolicyPaginator.js +25 -68
- package/dist-es/pagination/ListGroupPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListGroupsForUserPaginator.js +25 -68
- package/dist-es/pagination/ListGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListInstanceProfilesForRolePaginator.js +25 -68
- package/dist-es/pagination/ListInstanceProfilesPaginator.js +25 -68
- package/dist-es/pagination/ListMFADevicesPaginator.js +25 -68
- package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListPolicyVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListRolePoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListRolesPaginator.js +25 -68
- package/dist-es/pagination/ListSSHPublicKeysPaginator.js +25 -68
- package/dist-es/pagination/ListServerCertificatesPaginator.js +25 -68
- package/dist-es/pagination/ListSigningCertificatesPaginator.js +25 -68
- package/dist-es/pagination/ListUserPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListUserTagsPaginator.js +25 -68
- package/dist-es/pagination/ListUsersPaginator.js +25 -68
- package/dist-es/pagination/ListVirtualMFADevicesPaginator.js +25 -68
- package/dist-es/pagination/SimulateCustomPolicyPaginator.js +25 -68
- package/dist-es/pagination/SimulatePrincipalPolicyPaginator.js +25 -68
- package/dist-es/protocols/Aws_query.js +9075 -12381
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForInstanceProfileExists.js +23 -42
- package/dist-es/waiters/waitForPolicyExists.js +23 -42
- package/dist-es/waiters/waitForRoleExists.js +23 -42
- package/dist-es/waiters/waitForUserExists.js +23 -42
- package/dist-types/IAM.d.ts +4 -4
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +65 -19
- package/dist-types/ts3.4/models/models_0.d.ts +53 -35
- package/package.json +35 -36
|
@@ -1,103 +1,160 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
export class KeyPairMismatchException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "KeyPairMismatchException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "KeyPairMismatchException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, KeyPairMismatchException.prototype);
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
}
|
|
15
|
+
export class MalformedCertificateException extends __BaseException {
|
|
16
|
+
constructor(opts) {
|
|
17
|
+
super({
|
|
18
|
+
name: "MalformedCertificateException",
|
|
19
|
+
$fault: "client",
|
|
20
|
+
...opts,
|
|
21
|
+
});
|
|
22
|
+
this.name = "MalformedCertificateException";
|
|
23
|
+
this.$fault = "client";
|
|
24
|
+
Object.setPrototypeOf(this, MalformedCertificateException.prototype);
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
}
|
|
27
|
+
export class DuplicateCertificateException extends __BaseException {
|
|
28
|
+
constructor(opts) {
|
|
29
|
+
super({
|
|
30
|
+
name: "DuplicateCertificateException",
|
|
31
|
+
$fault: "client",
|
|
32
|
+
...opts,
|
|
33
|
+
});
|
|
34
|
+
this.name = "DuplicateCertificateException";
|
|
35
|
+
this.$fault = "client";
|
|
36
|
+
Object.setPrototypeOf(this, DuplicateCertificateException.prototype);
|
|
36
37
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
}
|
|
39
|
+
export class InvalidCertificateException extends __BaseException {
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "InvalidCertificateException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
this.name = "InvalidCertificateException";
|
|
47
|
+
this.$fault = "client";
|
|
48
|
+
Object.setPrototypeOf(this, InvalidCertificateException.prototype);
|
|
48
49
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
50
|
+
}
|
|
51
|
+
export class DuplicateSSHPublicKeyException extends __BaseException {
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "DuplicateSSHPublicKeyException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
this.name = "DuplicateSSHPublicKeyException";
|
|
59
|
+
this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(this, DuplicateSSHPublicKeyException.prototype);
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
62
|
+
}
|
|
63
|
+
export class InvalidPublicKeyException extends __BaseException {
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "InvalidPublicKeyException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
this.name = "InvalidPublicKeyException";
|
|
71
|
+
this.$fault = "client";
|
|
72
|
+
Object.setPrototypeOf(this, InvalidPublicKeyException.prototype);
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
export
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
export
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
|
|
74
|
+
}
|
|
75
|
+
export const UntagPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
76
|
+
...obj,
|
|
77
|
+
});
|
|
78
|
+
export const UntagRoleRequestFilterSensitiveLog = (obj) => ({
|
|
79
|
+
...obj,
|
|
80
|
+
});
|
|
81
|
+
export const UntagSAMLProviderRequestFilterSensitiveLog = (obj) => ({
|
|
82
|
+
...obj,
|
|
83
|
+
});
|
|
84
|
+
export const UntagServerCertificateRequestFilterSensitiveLog = (obj) => ({
|
|
85
|
+
...obj,
|
|
86
|
+
});
|
|
87
|
+
export const UntagUserRequestFilterSensitiveLog = (obj) => ({
|
|
88
|
+
...obj,
|
|
89
|
+
});
|
|
90
|
+
export const UpdateAccessKeyRequestFilterSensitiveLog = (obj) => ({
|
|
91
|
+
...obj,
|
|
92
|
+
});
|
|
93
|
+
export const UpdateAccountPasswordPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
94
|
+
...obj,
|
|
95
|
+
});
|
|
96
|
+
export const UpdateAssumeRolePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
97
|
+
...obj,
|
|
98
|
+
});
|
|
99
|
+
export const UpdateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
100
|
+
...obj,
|
|
101
|
+
});
|
|
102
|
+
export const UpdateLoginProfileRequestFilterSensitiveLog = (obj) => ({
|
|
103
|
+
...obj,
|
|
104
|
+
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
105
|
+
});
|
|
106
|
+
export const UpdateOpenIDConnectProviderThumbprintRequestFilterSensitiveLog = (obj) => ({
|
|
107
|
+
...obj,
|
|
108
|
+
});
|
|
109
|
+
export const UpdateRoleRequestFilterSensitiveLog = (obj) => ({
|
|
110
|
+
...obj,
|
|
111
|
+
});
|
|
112
|
+
export const UpdateRoleResponseFilterSensitiveLog = (obj) => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
export const UpdateRoleDescriptionRequestFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
});
|
|
118
|
+
export const UpdateRoleDescriptionResponseFilterSensitiveLog = (obj) => ({
|
|
119
|
+
...obj,
|
|
120
|
+
});
|
|
121
|
+
export const UpdateSAMLProviderRequestFilterSensitiveLog = (obj) => ({
|
|
122
|
+
...obj,
|
|
123
|
+
});
|
|
124
|
+
export const UpdateSAMLProviderResponseFilterSensitiveLog = (obj) => ({
|
|
125
|
+
...obj,
|
|
126
|
+
});
|
|
127
|
+
export const UpdateServerCertificateRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
});
|
|
130
|
+
export const UpdateServiceSpecificCredentialRequestFilterSensitiveLog = (obj) => ({
|
|
131
|
+
...obj,
|
|
132
|
+
});
|
|
133
|
+
export const UpdateSigningCertificateRequestFilterSensitiveLog = (obj) => ({
|
|
134
|
+
...obj,
|
|
135
|
+
});
|
|
136
|
+
export const UpdateSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
});
|
|
139
|
+
export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
export const UploadServerCertificateRequestFilterSensitiveLog = (obj) => ({
|
|
143
|
+
...obj,
|
|
144
|
+
...(obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }),
|
|
145
|
+
});
|
|
146
|
+
export const UploadServerCertificateResponseFilterSensitiveLog = (obj) => ({
|
|
147
|
+
...obj,
|
|
148
|
+
});
|
|
149
|
+
export const UploadSigningCertificateRequestFilterSensitiveLog = (obj) => ({
|
|
150
|
+
...obj,
|
|
151
|
+
});
|
|
152
|
+
export const UploadSigningCertificateResponseFilterSensitiveLog = (obj) => ({
|
|
153
|
+
...obj,
|
|
154
|
+
});
|
|
155
|
+
export const UploadSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
});
|
|
158
|
+
export const UploadSSHPublicKeyResponseFilterSensitiveLog = (obj) => ({
|
|
159
|
+
...obj,
|
|
160
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { GetAccountAuthorizationDetailsCommand, } from "../commands/GetAccountAuthorizationDetailsCommand";
|
|
3
2
|
import { IAM } from "../IAM";
|
|
4
3
|
import { IAMClient } from "../IAMClient";
|
|
5
|
-
|
|
6
|
-
|
|
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 GetAccountAuthorizationDetailsCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new GetAccountAuthorizationDetailsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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.getAccountAuthorizationDetails.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.getAccountAuthorizationDetails(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateGetAccountAuthorizationDetails(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateGetAccountAuthorizationDetails(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { GetGroupCommand } from "../commands/GetGroupCommand";
|
|
3
2
|
import { IAM } from "../IAM";
|
|
4
3
|
import { IAMClient } from "../IAMClient";
|
|
5
|
-
|
|
6
|
-
|
|
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 GetGroupCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new GetGroupCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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.getGroup.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.getGroup(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateGetGroup(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateGetGroup(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListAccessKeysCommand, } from "../commands/ListAccessKeysCommand";
|
|
3
2
|
import { IAM } from "../IAM";
|
|
4
3
|
import { IAMClient } from "../IAMClient";
|
|
5
|
-
|
|
6
|
-
|
|
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 ListAccessKeysCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListAccessKeysCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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.listAccessKeys.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listAccessKeys(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListAccessKeys(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListAccessKeys(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|