@aws-sdk/client-iam 3.774.0 → 3.777.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/IAMClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
- package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
- package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
- package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserCommand.d.ts +10 -10
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
- package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
- package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
- package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
- package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
- package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetRoleCommand.d.ts +15 -15
- package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetUserCommand.d.ts +10 -10
- package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
- package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
- package/dist-types/commands/ListRolesCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
- package/dist-types/commands/ListUsersCommand.d.ts +17 -17
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagRoleCommand.d.ts +12 -9
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/TagUserCommand.d.ts +12 -9
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/UntagUserCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
- package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
- package/package.json +34 -34
|
@@ -175,6 +175,7 @@ declare const SimulateCustomPolicyCommand_base: {
|
|
|
175
175
|
* @throws {@link IAMServiceException}
|
|
176
176
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
177
177
|
*
|
|
178
|
+
*
|
|
178
179
|
* @public
|
|
179
180
|
*/
|
|
180
181
|
export declare class SimulateCustomPolicyCommand extends SimulateCustomPolicyCommand_base {
|
|
@@ -188,6 +188,7 @@ declare const SimulatePrincipalPolicyCommand_base: {
|
|
|
188
188
|
* @throws {@link IAMServiceException}
|
|
189
189
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
190
190
|
*
|
|
191
|
+
*
|
|
191
192
|
* @public
|
|
192
193
|
*/
|
|
193
194
|
export declare class SimulatePrincipalPolicyCommand extends SimulatePrincipalPolicyCommand_base {
|
|
@@ -113,6 +113,7 @@ declare const TagInstanceProfileCommand_base: {
|
|
|
113
113
|
* @throws {@link IAMServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class TagInstanceProfileCommand extends TagInstanceProfileCommand_base {
|
|
@@ -114,6 +114,7 @@ declare const TagMFADeviceCommand_base: {
|
|
|
114
114
|
* @throws {@link IAMServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
116
116
|
*
|
|
117
|
+
*
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class TagMFADeviceCommand extends TagMFADeviceCommand_base {
|
|
@@ -115,6 +115,7 @@ declare const TagOpenIDConnectProviderCommand_base: {
|
|
|
115
115
|
* @throws {@link IAMServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class TagOpenIDConnectProviderCommand extends TagOpenIDConnectProviderCommand_base {
|
|
@@ -113,6 +113,7 @@ declare const TagPolicyCommand_base: {
|
|
|
113
113
|
* @throws {@link IAMServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class TagPolicyCommand extends TagPolicyCommand_base {
|
|
@@ -122,28 +122,31 @@ declare const TagRoleCommand_base: {
|
|
|
122
122
|
* @throws {@link IAMServiceException}
|
|
123
123
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
124
124
|
*
|
|
125
|
-
*
|
|
125
|
+
*
|
|
126
126
|
* @example To add a tag key and value to an IAM role
|
|
127
127
|
* ```javascript
|
|
128
128
|
* // The following example shows how to add tags to an existing role.
|
|
129
129
|
* const input = {
|
|
130
|
-
*
|
|
131
|
-
*
|
|
130
|
+
* RoleName: "taggedrole",
|
|
131
|
+
* Tags: [
|
|
132
132
|
* {
|
|
133
|
-
*
|
|
134
|
-
*
|
|
133
|
+
* Key: "Dept",
|
|
134
|
+
* Value: "Accounting"
|
|
135
135
|
* },
|
|
136
136
|
* {
|
|
137
|
-
*
|
|
138
|
-
*
|
|
137
|
+
* Key: "CostCenter",
|
|
138
|
+
* Value: "12345"
|
|
139
139
|
* }
|
|
140
140
|
* ]
|
|
141
141
|
* };
|
|
142
142
|
* const command = new TagRoleCommand(input);
|
|
143
|
-
* await client.send(command);
|
|
144
|
-
*
|
|
143
|
+
* const response = await client.send(command);
|
|
144
|
+
* /* response is
|
|
145
|
+
* { /* metadata only *\/ }
|
|
146
|
+
* *\/
|
|
145
147
|
* ```
|
|
146
148
|
*
|
|
149
|
+
* @public
|
|
147
150
|
*/
|
|
148
151
|
export declare class TagRoleCommand extends TagRoleCommand_base {
|
|
149
152
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -115,6 +115,7 @@ declare const TagSAMLProviderCommand_base: {
|
|
|
115
115
|
* @throws {@link IAMServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class TagSAMLProviderCommand extends TagSAMLProviderCommand_base {
|
|
@@ -125,6 +125,7 @@ declare const TagServerCertificateCommand_base: {
|
|
|
125
125
|
* @throws {@link IAMServiceException}
|
|
126
126
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
127
127
|
*
|
|
128
|
+
*
|
|
128
129
|
* @public
|
|
129
130
|
*/
|
|
130
131
|
export declare class TagServerCertificateCommand extends TagServerCertificateCommand_base {
|
|
@@ -121,28 +121,31 @@ declare const TagUserCommand_base: {
|
|
|
121
121
|
* @throws {@link IAMServiceException}
|
|
122
122
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
123
123
|
*
|
|
124
|
-
*
|
|
124
|
+
*
|
|
125
125
|
* @example To add a tag key and value to an IAM user
|
|
126
126
|
* ```javascript
|
|
127
127
|
* // The following example shows how to add tags to an existing user.
|
|
128
128
|
* const input = {
|
|
129
|
-
*
|
|
129
|
+
* Tags: [
|
|
130
130
|
* {
|
|
131
|
-
*
|
|
132
|
-
*
|
|
131
|
+
* Key: "Dept",
|
|
132
|
+
* Value: "Accounting"
|
|
133
133
|
* },
|
|
134
134
|
* {
|
|
135
|
-
*
|
|
136
|
-
*
|
|
135
|
+
* Key: "CostCenter",
|
|
136
|
+
* Value: "12345"
|
|
137
137
|
* }
|
|
138
138
|
* ],
|
|
139
|
-
*
|
|
139
|
+
* UserName: "anika"
|
|
140
140
|
* };
|
|
141
141
|
* const command = new TagUserCommand(input);
|
|
142
|
-
* await client.send(command);
|
|
143
|
-
*
|
|
142
|
+
* const response = await client.send(command);
|
|
143
|
+
* /* response is
|
|
144
|
+
* { /* metadata only *\/ }
|
|
145
|
+
* *\/
|
|
144
146
|
* ```
|
|
145
147
|
*
|
|
148
|
+
* @public
|
|
146
149
|
*/
|
|
147
150
|
export declare class TagUserCommand extends TagUserCommand_base {
|
|
148
151
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,7 @@ declare const UntagInstanceProfileCommand_base: {
|
|
|
72
72
|
* @throws {@link IAMServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class UntagInstanceProfileCommand extends UntagInstanceProfileCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const UntagMFADeviceCommand_base: {
|
|
|
73
73
|
* @throws {@link IAMServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class UntagMFADeviceCommand extends UntagMFADeviceCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const UntagOpenIDConnectProviderCommand_base: {
|
|
|
74
74
|
* @throws {@link IAMServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class UntagOpenIDConnectProviderCommand extends UntagOpenIDConnectProviderCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const UntagPolicyCommand_base: {
|
|
|
72
72
|
* @throws {@link IAMServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class UntagPolicyCommand extends UntagPolicyCommand_base {
|
|
@@ -68,21 +68,24 @@ declare const UntagRoleCommand_base: {
|
|
|
68
68
|
* @throws {@link IAMServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example To remove a tag from an IAM role
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following example shows how to remove a tag with the key 'Dept' from a role named 'taggedrole'.
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
77
|
-
*
|
|
76
|
+
* RoleName: "taggedrole",
|
|
77
|
+
* TagKeys: [
|
|
78
78
|
* "Dept"
|
|
79
79
|
* ]
|
|
80
80
|
* };
|
|
81
81
|
* const command = new UntagRoleCommand(input);
|
|
82
|
-
* await client.send(command);
|
|
83
|
-
*
|
|
82
|
+
* const response = await client.send(command);
|
|
83
|
+
* /* response is
|
|
84
|
+
* { /* metadata only *\/ }
|
|
85
|
+
* *\/
|
|
84
86
|
* ```
|
|
85
87
|
*
|
|
88
|
+
* @public
|
|
86
89
|
*/
|
|
87
90
|
export declare class UntagRoleCommand extends UntagRoleCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,6 +74,7 @@ declare const UntagSAMLProviderCommand_base: {
|
|
|
74
74
|
* @throws {@link IAMServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class UntagSAMLProviderCommand extends UntagSAMLProviderCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const UntagServerCertificateCommand_base: {
|
|
|
80
80
|
* @throws {@link IAMServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class UntagServerCertificateCommand extends UntagServerCertificateCommand_base {
|
|
@@ -68,21 +68,24 @@ declare const UntagUserCommand_base: {
|
|
|
68
68
|
* @throws {@link IAMServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example To remove a tag from an IAM user
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following example shows how to remove tags that are attached to a user named 'anika'.
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
76
|
+
* TagKeys: [
|
|
77
77
|
* "Dept"
|
|
78
78
|
* ],
|
|
79
|
-
*
|
|
79
|
+
* UserName: "anika"
|
|
80
80
|
* };
|
|
81
81
|
* const command = new UntagUserCommand(input);
|
|
82
|
-
* await client.send(command);
|
|
83
|
-
*
|
|
82
|
+
* const response = await client.send(command);
|
|
83
|
+
* /* response is
|
|
84
|
+
* { /* metadata only *\/ }
|
|
85
|
+
* *\/
|
|
84
86
|
* ```
|
|
85
87
|
*
|
|
88
|
+
* @public
|
|
86
89
|
*/
|
|
87
90
|
export declare class UntagUserCommand extends UntagUserCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,20 +76,23 @@ declare const UpdateAccessKeyCommand_base: {
|
|
|
76
76
|
* @throws {@link IAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
78
78
|
*
|
|
79
|
-
*
|
|
79
|
+
*
|
|
80
80
|
* @example To activate or deactivate an access key for an IAM user
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // The following command deactivates the specified access key (access key ID and secret access key) for the IAM user named Bob.
|
|
83
83
|
* const input = {
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
84
|
+
* AccessKeyId: "AKIAIOSFODNN7EXAMPLE",
|
|
85
|
+
* Status: "Inactive",
|
|
86
|
+
* UserName: "Bob"
|
|
87
87
|
* };
|
|
88
88
|
* const command = new UpdateAccessKeyCommand(input);
|
|
89
|
-
* await client.send(command);
|
|
90
|
-
*
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* { /* metadata only *\/ }
|
|
92
|
+
* *\/
|
|
91
93
|
* ```
|
|
92
94
|
*
|
|
95
|
+
* @public
|
|
93
96
|
*/
|
|
94
97
|
export declare class UpdateAccessKeyCommand extends UpdateAccessKeyCommand_base {
|
|
95
98
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,19 +86,22 @@ declare const UpdateAccountPasswordPolicyCommand_base: {
|
|
|
86
86
|
* @throws {@link IAMServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To set or change the current account password policy
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // The following command sets the password policy to require a minimum length of eight characters and to require one or more numbers in the password:
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* MinimumPasswordLength: 8,
|
|
95
|
+
* RequireNumbers: true
|
|
96
96
|
* };
|
|
97
97
|
* const command = new UpdateAccountPasswordPolicyCommand(input);
|
|
98
|
-
* await client.send(command);
|
|
99
|
-
*
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response is
|
|
100
|
+
* { /* metadata only *\/ }
|
|
101
|
+
* *\/
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @public
|
|
102
105
|
*/
|
|
103
106
|
export declare class UpdateAccountPasswordPolicyCommand extends UpdateAccountPasswordPolicyCommand_base {
|
|
104
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,19 +78,22 @@ declare const UpdateAssumeRolePolicyCommand_base: {
|
|
|
78
78
|
* @throws {@link IAMServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example To update the trust policy for an IAM role
|
|
83
83
|
* ```javascript
|
|
84
84
|
* // The following command updates the role trust policy for the role named Test-Role:
|
|
85
85
|
* const input = {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
86
|
+
* PolicyDocument: `{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"Service":["ec2.amazonaws.com"]},"Action":["sts:AssumeRole"]}]}`,
|
|
87
|
+
* RoleName: "S3AccessForEC2Instances"
|
|
88
88
|
* };
|
|
89
89
|
* const command = new UpdateAssumeRolePolicyCommand(input);
|
|
90
|
-
* await client.send(command);
|
|
91
|
-
*
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response is
|
|
92
|
+
* { /* metadata only *\/ }
|
|
93
|
+
* *\/
|
|
92
94
|
* ```
|
|
93
95
|
*
|
|
96
|
+
* @public
|
|
94
97
|
*/
|
|
95
98
|
export declare class UpdateAssumeRolePolicyCommand extends UpdateAssumeRolePolicyCommand_base {
|
|
96
99
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,19 +84,22 @@ declare const UpdateGroupCommand_base: {
|
|
|
84
84
|
* @throws {@link IAMServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To rename an IAM group
|
|
89
89
|
* ```javascript
|
|
90
90
|
* // The following command changes the name of the IAM group Test to Test-1.
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
92
|
+
* GroupName: "Test",
|
|
93
|
+
* NewGroupName: "Test-1"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new UpdateGroupCommand(input);
|
|
96
|
-
* await client.send(command);
|
|
97
|
-
*
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response is
|
|
98
|
+
* { /* metadata only *\/ }
|
|
99
|
+
* *\/
|
|
98
100
|
* ```
|
|
99
101
|
*
|
|
102
|
+
* @public
|
|
100
103
|
*/
|
|
101
104
|
export declare class UpdateGroupCommand extends UpdateGroupCommand_base {
|
|
102
105
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,19 +82,22 @@ declare const UpdateLoginProfileCommand_base: {
|
|
|
82
82
|
* @throws {@link IAMServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To change the password for an IAM user
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following command creates or changes the password for the IAM user named Bob.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* Password: "SomeKindOfPassword123!@#",
|
|
91
|
+
* UserName: "Bob"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new UpdateLoginProfileCommand(input);
|
|
94
|
-
* await client.send(command);
|
|
95
|
-
*
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* { /* metadata only *\/ }
|
|
97
|
+
* *\/
|
|
96
98
|
* ```
|
|
97
99
|
*
|
|
100
|
+
* @public
|
|
98
101
|
*/
|
|
99
102
|
export declare class UpdateLoginProfileCommand extends UpdateLoginProfileCommand_base {
|
|
100
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -88,6 +88,7 @@ declare const UpdateOpenIDConnectProviderThumbprintCommand_base: {
|
|
|
88
88
|
* @throws {@link IAMServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class UpdateOpenIDConnectProviderThumbprintCommand extends UpdateOpenIDConnectProviderThumbprintCommand_base {
|
|
@@ -68,6 +68,7 @@ declare const UpdateRoleCommand_base: {
|
|
|
68
68
|
* @throws {@link IAMServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class UpdateRoleCommand extends UpdateRoleCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const UpdateRoleDescriptionCommand_base: {
|
|
|
94
94
|
* @throws {@link IAMServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class UpdateRoleDescriptionCommand extends UpdateRoleDescriptionCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const UpdateSAMLProviderCommand_base: {
|
|
|
76
76
|
* @throws {@link IAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class UpdateSAMLProviderCommand extends UpdateSAMLProviderCommand_base {
|
|
@@ -64,6 +64,7 @@ declare const UpdateSSHPublicKeyCommand_base: {
|
|
|
64
64
|
* @throws {@link IAMServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class UpdateSSHPublicKeyCommand extends UpdateSSHPublicKeyCommand_base {
|
|
@@ -89,6 +89,7 @@ declare const UpdateServerCertificateCommand_base: {
|
|
|
89
89
|
* @throws {@link IAMServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class UpdateServerCertificateCommand extends UpdateServerCertificateCommand_base {
|
|
@@ -61,6 +61,7 @@ declare const UpdateServiceSpecificCredentialCommand_base: {
|
|
|
61
61
|
* @throws {@link IAMServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
67
|
export declare class UpdateServiceSpecificCredentialCommand extends UpdateServiceSpecificCredentialCommand_base {
|
|
@@ -73,20 +73,23 @@ declare const UpdateSigningCertificateCommand_base: {
|
|
|
73
73
|
* @throws {@link IAMServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
*
|
|
77
77
|
* @example To change the active status of a signing certificate for an IAM user
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // The following command changes the status of a signing certificate for a user named Bob to Inactive.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
81
|
+
* CertificateId: "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
|
|
82
|
+
* Status: "Inactive",
|
|
83
|
+
* UserName: "Bob"
|
|
84
84
|
* };
|
|
85
85
|
* const command = new UpdateSigningCertificateCommand(input);
|
|
86
|
-
* await client.send(command);
|
|
87
|
-
*
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response is
|
|
88
|
+
* { /* metadata only *\/ }
|
|
89
|
+
* *\/
|
|
88
90
|
* ```
|
|
89
91
|
*
|
|
92
|
+
* @public
|
|
90
93
|
*/
|
|
91
94
|
export declare class UpdateSigningCertificateCommand extends UpdateSigningCertificateCommand_base {
|
|
92
95
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -92,19 +92,22 @@ declare const UpdateUserCommand_base: {
|
|
|
92
92
|
* @throws {@link IAMServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
94
94
|
*
|
|
95
|
-
*
|
|
95
|
+
*
|
|
96
96
|
* @example To change an IAM user's name
|
|
97
97
|
* ```javascript
|
|
98
98
|
* // The following command changes the name of the IAM user Bob to Robert. It does not change the user's path.
|
|
99
99
|
* const input = {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
100
|
+
* NewUserName: "Robert",
|
|
101
|
+
* UserName: "Bob"
|
|
102
102
|
* };
|
|
103
103
|
* const command = new UpdateUserCommand(input);
|
|
104
|
-
* await client.send(command);
|
|
105
|
-
*
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* { /* metadata only *\/ }
|
|
107
|
+
* *\/
|
|
106
108
|
* ```
|
|
107
109
|
*
|
|
110
|
+
* @public
|
|
108
111
|
*/
|
|
109
112
|
export declare class UpdateUserCommand extends UpdateUserCommand_base {
|
|
110
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,6 +85,7 @@ declare const UploadSSHPublicKeyCommand_base: {
|
|
|
85
85
|
* @throws {@link IAMServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class UploadSSHPublicKeyCommand extends UploadSSHPublicKeyCommand_base {
|
|
@@ -128,33 +128,33 @@ declare const UploadServerCertificateCommand_base: {
|
|
|
128
128
|
* @throws {@link IAMServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
130
130
|
*
|
|
131
|
-
*
|
|
131
|
+
*
|
|
132
132
|
* @example To upload a server certificate to your AWS account
|
|
133
133
|
* ```javascript
|
|
134
134
|
* // The following upload-server-certificate command uploads a server certificate to your AWS account:
|
|
135
135
|
* const input = {
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
136
|
+
* CertificateBody: "-----BEGIN CERTIFICATE-----<a very long certificate text string>-----END CERTIFICATE-----",
|
|
137
|
+
* Path: "/company/servercerts/",
|
|
138
|
+
* PrivateKey: "-----BEGIN DSA PRIVATE KEY-----<a very long private key string>-----END DSA PRIVATE KEY-----",
|
|
139
|
+
* ServerCertificateName: "ProdServerCert"
|
|
140
140
|
* };
|
|
141
141
|
* const command = new UploadServerCertificateCommand(input);
|
|
142
142
|
* const response = await client.send(command);
|
|
143
|
-
* /* response
|
|
143
|
+
* /* response is
|
|
144
144
|
* {
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
145
|
+
* ServerCertificateMetadata: {
|
|
146
|
+
* Arn: "arn:aws:iam::123456789012:server-certificate/company/servercerts/ProdServerCert",
|
|
147
|
+
* Expiration: "2012-05-08T01:02:03.004Z",
|
|
148
|
+
* Path: "/company/servercerts/",
|
|
149
|
+
* ServerCertificateId: "ASCA1111111111EXAMPLE",
|
|
150
|
+
* ServerCertificateName: "ProdServerCert",
|
|
151
|
+
* UploadDate: "2010-05-08T01:02:03.004Z"
|
|
152
152
|
* }
|
|
153
153
|
* }
|
|
154
154
|
* *\/
|
|
155
|
-
* // example id: 06eab6d1-ebf2-4bd9-839d-f7508b9a38b6
|
|
156
155
|
* ```
|
|
157
156
|
*
|
|
157
|
+
* @public
|
|
158
158
|
*/
|
|
159
159
|
export declare class UploadServerCertificateCommand extends UploadServerCertificateCommand_base {
|
|
160
160
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -111,30 +111,30 @@ declare const UploadSigningCertificateCommand_base: {
|
|
|
111
111
|
* @throws {@link IAMServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
113
113
|
*
|
|
114
|
-
*
|
|
114
|
+
*
|
|
115
115
|
* @example To upload a signing certificate for an IAM user
|
|
116
116
|
* ```javascript
|
|
117
117
|
* // The following command uploads a signing certificate for the IAM user named Bob.
|
|
118
118
|
* const input = {
|
|
119
|
-
*
|
|
120
|
-
*
|
|
119
|
+
* CertificateBody: "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
|
|
120
|
+
* UserName: "Bob"
|
|
121
121
|
* };
|
|
122
122
|
* const command = new UploadSigningCertificateCommand(input);
|
|
123
123
|
* const response = await client.send(command);
|
|
124
|
-
* /* response
|
|
124
|
+
* /* response is
|
|
125
125
|
* {
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
126
|
+
* Certificate: {
|
|
127
|
+
* CertificateBody: "-----BEGIN CERTIFICATE-----<certificate-body>-----END CERTIFICATE-----",
|
|
128
|
+
* CertificateId: "ID123456789012345EXAMPLE",
|
|
129
|
+
* Status: "Active",
|
|
130
|
+
* UploadDate: "2015-06-06T21:40:08.121Z",
|
|
131
|
+
* UserName: "Bob"
|
|
132
132
|
* }
|
|
133
133
|
* }
|
|
134
134
|
* *\/
|
|
135
|
-
* // example id: e67489b6-7b73-4e30-9ed3-9a9e0231e458
|
|
136
135
|
* ```
|
|
137
136
|
*
|
|
137
|
+
* @public
|
|
138
138
|
*/
|
|
139
139
|
export declare class UploadSigningCertificateCommand extends UploadSigningCertificateCommand_base {
|
|
140
140
|
/** @internal type navigation helper, not in runtime. */
|