@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,160 +1,103 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.$fault = "client";
|
|
12
|
-
Object.setPrototypeOf(this, KeyPairMismatchException.prototype);
|
|
4
|
+
var KeyPairMismatchException = (function (_super) {
|
|
5
|
+
__extends(KeyPairMismatchException, _super);
|
|
6
|
+
function KeyPairMismatchException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "KeyPairMismatchException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "KeyPairMismatchException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, KeyPairMismatchException.prototype);
|
|
11
|
+
return _this;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
return KeyPairMismatchException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { KeyPairMismatchException };
|
|
16
|
+
var MalformedCertificateException = (function (_super) {
|
|
17
|
+
__extends(MalformedCertificateException, _super);
|
|
18
|
+
function MalformedCertificateException(opts) {
|
|
19
|
+
var _this = _super.call(this, __assign({ name: "MalformedCertificateException", $fault: "client" }, opts)) || this;
|
|
20
|
+
_this.name = "MalformedCertificateException";
|
|
21
|
+
_this.$fault = "client";
|
|
22
|
+
Object.setPrototypeOf(_this, MalformedCertificateException.prototype);
|
|
23
|
+
return _this;
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
return MalformedCertificateException;
|
|
26
|
+
}(__BaseException));
|
|
27
|
+
export { MalformedCertificateException };
|
|
28
|
+
var DuplicateCertificateException = (function (_super) {
|
|
29
|
+
__extends(DuplicateCertificateException, _super);
|
|
30
|
+
function DuplicateCertificateException(opts) {
|
|
31
|
+
var _this = _super.call(this, __assign({ name: "DuplicateCertificateException", $fault: "client" }, opts)) || this;
|
|
32
|
+
_this.name = "DuplicateCertificateException";
|
|
33
|
+
_this.$fault = "client";
|
|
34
|
+
Object.setPrototypeOf(_this, DuplicateCertificateException.prototype);
|
|
35
|
+
return _this;
|
|
37
36
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
37
|
+
return DuplicateCertificateException;
|
|
38
|
+
}(__BaseException));
|
|
39
|
+
export { DuplicateCertificateException };
|
|
40
|
+
var InvalidCertificateException = (function (_super) {
|
|
41
|
+
__extends(InvalidCertificateException, _super);
|
|
42
|
+
function InvalidCertificateException(opts) {
|
|
43
|
+
var _this = _super.call(this, __assign({ name: "InvalidCertificateException", $fault: "client" }, opts)) || this;
|
|
44
|
+
_this.name = "InvalidCertificateException";
|
|
45
|
+
_this.$fault = "client";
|
|
46
|
+
Object.setPrototypeOf(_this, InvalidCertificateException.prototype);
|
|
47
|
+
return _this;
|
|
49
48
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
49
|
+
return InvalidCertificateException;
|
|
50
|
+
}(__BaseException));
|
|
51
|
+
export { InvalidCertificateException };
|
|
52
|
+
var DuplicateSSHPublicKeyException = (function (_super) {
|
|
53
|
+
__extends(DuplicateSSHPublicKeyException, _super);
|
|
54
|
+
function DuplicateSSHPublicKeyException(opts) {
|
|
55
|
+
var _this = _super.call(this, __assign({ name: "DuplicateSSHPublicKeyException", $fault: "client" }, opts)) || this;
|
|
56
|
+
_this.name = "DuplicateSSHPublicKeyException";
|
|
57
|
+
_this.$fault = "client";
|
|
58
|
+
Object.setPrototypeOf(_this, DuplicateSSHPublicKeyException.prototype);
|
|
59
|
+
return _this;
|
|
61
60
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
61
|
+
return DuplicateSSHPublicKeyException;
|
|
62
|
+
}(__BaseException));
|
|
63
|
+
export { DuplicateSSHPublicKeyException };
|
|
64
|
+
var InvalidPublicKeyException = (function (_super) {
|
|
65
|
+
__extends(InvalidPublicKeyException, _super);
|
|
66
|
+
function InvalidPublicKeyException(opts) {
|
|
67
|
+
var _this = _super.call(this, __assign({ name: "InvalidPublicKeyException", $fault: "client" }, opts)) || this;
|
|
68
|
+
_this.name = "InvalidPublicKeyException";
|
|
69
|
+
_this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(_this, InvalidPublicKeyException.prototype);
|
|
71
|
+
return _this;
|
|
73
72
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
});
|
|
78
|
-
export
|
|
79
|
-
|
|
80
|
-
});
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
});
|
|
84
|
-
export
|
|
85
|
-
|
|
86
|
-
});
|
|
87
|
-
export
|
|
88
|
-
|
|
89
|
-
});
|
|
90
|
-
export
|
|
91
|
-
|
|
92
|
-
});
|
|
93
|
-
export
|
|
94
|
-
|
|
95
|
-
});
|
|
96
|
-
export
|
|
97
|
-
|
|
98
|
-
});
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
});
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
|
|
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
|
-
});
|
|
73
|
+
return InvalidPublicKeyException;
|
|
74
|
+
}(__BaseException));
|
|
75
|
+
export { InvalidPublicKeyException };
|
|
76
|
+
export var UntagPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
+
export var UntagRoleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
|
+
export var UntagSAMLProviderRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
|
+
export var UntagServerCertificateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
|
+
export var UntagUserRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
|
+
export var UpdateAccessKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
82
|
+
export var UpdateAccountPasswordPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
+
export var UpdateAssumeRolePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
+
export var UpdateGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
export var UpdateLoginProfileRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
|
|
86
|
+
export var UpdateOpenIDConnectProviderThumbprintRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
export var UpdateRoleRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
+
export var UpdateRoleResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
export var UpdateRoleDescriptionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
|
+
export var UpdateRoleDescriptionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
+
export var UpdateSAMLProviderRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
export var UpdateSAMLProviderResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
export var UpdateServerCertificateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
+
export var UpdateServiceSpecificCredentialRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
+
export var UpdateSigningCertificateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
+
export var UpdateSSHPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
export var UpdateUserRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
+
export var UploadServerCertificateRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }))); };
|
|
99
|
+
export var UploadServerCertificateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
100
|
+
export var UploadSigningCertificateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
export var UploadSigningCertificateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
export var UploadSSHPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
+
export var UploadSSHPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { GetAccountAuthorizationDetailsCommand, } from "../commands/GetAccountAuthorizationDetailsCommand";
|
|
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 GetAccountAuthorizationDetailsCommand(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.getAccountAuthorizationDetails.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 paginateGetAccountAuthorizationDetails(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 paginateGetAccountAuthorizationDetails_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 { GetGroupCommand } from "../commands/GetGroupCommand";
|
|
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 GetGroupCommand(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.getGroup.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 paginateGetGroup(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 paginateGetGroup_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 { ListAccessKeysCommand, } from "../commands/ListAccessKeysCommand";
|
|
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 ListAccessKeysCommand(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.listAccessKeys.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 paginateListAccessKeys(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 paginateListAccessKeys_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
|
}
|