@aws-sdk/client-iam 3.775.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/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- 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 +2 -2
|
@@ -105,29 +105,29 @@ declare const CreateUserCommand_base: {
|
|
|
105
105
|
* @throws {@link IAMServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
107
107
|
*
|
|
108
|
-
*
|
|
108
|
+
*
|
|
109
109
|
* @example To create an IAM user
|
|
110
110
|
* ```javascript
|
|
111
111
|
* // The following create-user command creates an IAM user named Bob in the current account.
|
|
112
112
|
* const input = {
|
|
113
|
-
*
|
|
113
|
+
* UserName: "Bob"
|
|
114
114
|
* };
|
|
115
115
|
* const command = new CreateUserCommand(input);
|
|
116
116
|
* const response = await client.send(command);
|
|
117
|
-
* /* response
|
|
117
|
+
* /* response is
|
|
118
118
|
* {
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
119
|
+
* User: {
|
|
120
|
+
* Arn: "arn:aws:iam::123456789012:user/Bob",
|
|
121
|
+
* CreateDate: "2013-06-08T03:20:41.270Z",
|
|
122
|
+
* Path: "/",
|
|
123
|
+
* UserId: "AKIAIOSFODNN7EXAMPLE",
|
|
124
|
+
* UserName: "Bob"
|
|
125
125
|
* }
|
|
126
126
|
* }
|
|
127
127
|
* *\/
|
|
128
|
-
* // example id: eb15f90b-e5f5-4af8-a594-e4e82b181a62
|
|
129
128
|
* ```
|
|
130
129
|
*
|
|
130
|
+
* @public
|
|
131
131
|
*/
|
|
132
132
|
export declare class CreateUserCommand extends CreateUserCommand_base {
|
|
133
133
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -122,6 +122,7 @@ declare const CreateVirtualMFADeviceCommand_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
|
* @public
|
|
126
127
|
*/
|
|
127
128
|
export declare class CreateVirtualMFADeviceCommand extends CreateVirtualMFADeviceCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const DeactivateMFADeviceCommand_base: {
|
|
|
79
79
|
* @throws {@link IAMServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class DeactivateMFADeviceCommand extends DeactivateMFADeviceCommand_base {
|
|
@@ -69,19 +69,22 @@ declare const DeleteAccessKeyCommand_base: {
|
|
|
69
69
|
* @throws {@link IAMServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
*
|
|
73
73
|
* @example To delete an access key for an IAM user
|
|
74
74
|
* ```javascript
|
|
75
75
|
* // The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.
|
|
76
76
|
* const input = {
|
|
77
|
-
*
|
|
78
|
-
*
|
|
77
|
+
* AccessKeyId: "AKIDPMS9RO4H3FEXAMPLE",
|
|
78
|
+
* UserName: "Bob"
|
|
79
79
|
* };
|
|
80
80
|
* const command = new DeleteAccessKeyCommand(input);
|
|
81
|
-
* await client.send(command);
|
|
82
|
-
*
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* /* response is
|
|
83
|
+
* { /* metadata only *\/ }
|
|
84
|
+
* *\/
|
|
83
85
|
* ```
|
|
84
86
|
*
|
|
87
|
+
* @public
|
|
85
88
|
*/
|
|
86
89
|
export declare class DeleteAccessKeyCommand extends DeleteAccessKeyCommand_base {
|
|
87
90
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,18 +71,21 @@ declare const DeleteAccountAliasCommand_base: {
|
|
|
71
71
|
* @throws {@link IAMServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* @example To delete an account alias
|
|
76
76
|
* ```javascript
|
|
77
77
|
* // The following command removes the alias mycompany from the current AWS account:
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
79
|
+
* AccountAlias: "mycompany"
|
|
80
80
|
* };
|
|
81
81
|
* const command = new DeleteAccountAliasCommand(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 DeleteAccountAliasCommand extends DeleteAccountAliasCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,16 +61,19 @@ declare const DeleteAccountPasswordPolicyCommand_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
65
|
* @example To delete the current account password policy
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // The following command removes the password policy from the current AWS account:
|
|
68
|
-
* const input = {};
|
|
68
|
+
* const input = { /* empty *\/ };
|
|
69
69
|
* const command = new DeleteAccountPasswordPolicyCommand(input);
|
|
70
|
-
* await client.send(command);
|
|
71
|
-
*
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* /* response is
|
|
72
|
+
* { /* metadata only *\/ }
|
|
73
|
+
* *\/
|
|
72
74
|
* ```
|
|
73
75
|
*
|
|
76
|
+
* @public
|
|
74
77
|
*/
|
|
75
78
|
export declare class DeleteAccountPasswordPolicyCommand extends DeleteAccountPasswordPolicyCommand_base {
|
|
76
79
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -69,6 +69,7 @@ declare const DeleteGroupCommand_base: {
|
|
|
69
69
|
* @throws {@link IAMServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class DeleteGroupCommand extends DeleteGroupCommand_base {
|
|
@@ -70,19 +70,22 @@ declare const DeleteGroupPolicyCommand_base: {
|
|
|
70
70
|
* @throws {@link IAMServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
72
72
|
*
|
|
73
|
-
*
|
|
73
|
+
*
|
|
74
74
|
* @example To delete a policy from an IAM group
|
|
75
75
|
* ```javascript
|
|
76
76
|
* // The following command deletes the policy named ExamplePolicy from the group named Admins:
|
|
77
77
|
* const input = {
|
|
78
|
-
*
|
|
79
|
-
*
|
|
78
|
+
* GroupName: "Admins",
|
|
79
|
+
* PolicyName: "ExamplePolicy"
|
|
80
80
|
* };
|
|
81
81
|
* const command = new DeleteGroupPolicyCommand(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 DeleteGroupPolicyCommand extends DeleteGroupPolicyCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,18 +77,21 @@ declare const DeleteInstanceProfileCommand_base: {
|
|
|
77
77
|
* @throws {@link IAMServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To delete an instance profile
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // The following command deletes the instance profile named ExampleInstanceProfile
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
85
|
+
* InstanceProfileName: "ExampleInstanceProfile"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new DeleteInstanceProfileCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class DeleteInstanceProfileCommand extends DeleteInstanceProfileCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,18 +82,21 @@ declare const DeleteLoginProfileCommand_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 delete a password for an IAM user
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following command deletes the password for the IAM user named Bob.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
90
|
+
* UserName: "Bob"
|
|
91
91
|
* };
|
|
92
92
|
* const command = new DeleteLoginProfileCommand(input);
|
|
93
|
-
* await client.send(command);
|
|
94
|
-
*
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response is
|
|
95
|
+
* { /* metadata only *\/ }
|
|
96
|
+
* *\/
|
|
95
97
|
* ```
|
|
96
98
|
*
|
|
99
|
+
* @public
|
|
97
100
|
*/
|
|
98
101
|
export declare class DeleteLoginProfileCommand extends DeleteLoginProfileCommand_base {
|
|
99
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -69,6 +69,7 @@ declare const DeleteOpenIDConnectProviderCommand_base: {
|
|
|
69
69
|
* @throws {@link IAMServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class DeleteOpenIDConnectProviderCommand extends DeleteOpenIDConnectProviderCommand_base {
|
|
@@ -96,6 +96,7 @@ declare const DeletePolicyCommand_base: {
|
|
|
96
96
|
* @throws {@link IAMServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const DeletePolicyVersionCommand_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
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class DeletePolicyVersionCommand extends DeletePolicyVersionCommand_base {
|
|
@@ -101,18 +101,21 @@ declare const DeleteRoleCommand_base: {
|
|
|
101
101
|
* @throws {@link IAMServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
103
103
|
*
|
|
104
|
-
*
|
|
104
|
+
*
|
|
105
105
|
* @example To delete an IAM role
|
|
106
106
|
* ```javascript
|
|
107
107
|
* // The following command removes the role named Test-Role.
|
|
108
108
|
* const input = {
|
|
109
|
-
*
|
|
109
|
+
* RoleName: "Test-Role"
|
|
110
110
|
* };
|
|
111
111
|
* const command = new DeleteRoleCommand(input);
|
|
112
|
-
* await client.send(command);
|
|
113
|
-
*
|
|
112
|
+
* const response = await client.send(command);
|
|
113
|
+
* /* response is
|
|
114
|
+
* { /* metadata only *\/ }
|
|
115
|
+
* *\/
|
|
114
116
|
* ```
|
|
115
117
|
*
|
|
118
|
+
* @public
|
|
116
119
|
*/
|
|
117
120
|
export declare class DeleteRoleCommand extends DeleteRoleCommand_base {
|
|
118
121
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,7 @@ declare const DeleteRolePermissionsBoundaryCommand_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 DeleteRolePermissionsBoundaryCommand extends DeleteRolePermissionsBoundaryCommand_base {
|
|
@@ -76,19 +76,22 @@ declare const DeleteRolePolicyCommand_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 remove a policy from an IAM role
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // The following command removes the policy named ExamplePolicy from the role named Test-Role.
|
|
83
83
|
* const input = {
|
|
84
|
-
*
|
|
85
|
-
*
|
|
84
|
+
* PolicyName: "ExamplePolicy",
|
|
85
|
+
* RoleName: "Test-Role"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new DeleteRolePolicyCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class DeleteRolePolicyCommand extends DeleteRolePolicyCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,6 +74,7 @@ declare const DeleteSAMLProviderCommand_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 DeleteSAMLProviderCommand extends DeleteSAMLProviderCommand_base {
|
|
@@ -61,6 +61,7 @@ declare const DeleteSSHPublicKeyCommand_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 DeleteSSHPublicKeyCommand extends DeleteSSHPublicKeyCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const DeleteServerCertificateCommand_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
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class DeleteServerCertificateCommand extends DeleteServerCertificateCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const DeleteServiceLinkedRoleCommand_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
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class DeleteServiceLinkedRoleCommand extends DeleteServiceLinkedRoleCommand_base {
|
|
@@ -57,6 +57,7 @@ declare const DeleteServiceSpecificCredentialCommand_base: {
|
|
|
57
57
|
* @throws {@link IAMServiceException}
|
|
58
58
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
59
59
|
*
|
|
60
|
+
*
|
|
60
61
|
* @public
|
|
61
62
|
*/
|
|
62
63
|
export declare class DeleteServiceSpecificCredentialCommand extends DeleteServiceSpecificCredentialCommand_base {
|
|
@@ -73,19 +73,22 @@ declare const DeleteSigningCertificateCommand_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 delete a signing certificate for an IAM user
|
|
78
78
|
* ```javascript
|
|
79
79
|
* // The following command deletes the specified signing certificate for the IAM user named Anika.
|
|
80
80
|
* const input = {
|
|
81
|
-
*
|
|
82
|
-
*
|
|
81
|
+
* CertificateId: "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
|
|
82
|
+
* UserName: "Anika"
|
|
83
83
|
* };
|
|
84
84
|
* const command = new DeleteSigningCertificateCommand(input);
|
|
85
|
-
* await client.send(command);
|
|
86
|
-
*
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* { /* metadata only *\/ }
|
|
88
|
+
* *\/
|
|
87
89
|
* ```
|
|
88
90
|
*
|
|
91
|
+
* @public
|
|
89
92
|
*/
|
|
90
93
|
export declare class DeleteSigningCertificateCommand extends DeleteSigningCertificateCommand_base {
|
|
91
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -104,18 +104,21 @@ declare const DeleteUserCommand_base: {
|
|
|
104
104
|
* @throws {@link IAMServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
106
106
|
*
|
|
107
|
-
*
|
|
107
|
+
*
|
|
108
108
|
* @example To delete an IAM user
|
|
109
109
|
* ```javascript
|
|
110
110
|
* // The following command removes the IAM user named Bob from the current account.
|
|
111
111
|
* const input = {
|
|
112
|
-
*
|
|
112
|
+
* UserName: "Bob"
|
|
113
113
|
* };
|
|
114
114
|
* const command = new DeleteUserCommand(input);
|
|
115
|
-
* await client.send(command);
|
|
116
|
-
*
|
|
115
|
+
* const response = await client.send(command);
|
|
116
|
+
* /* response is
|
|
117
|
+
* { /* metadata only *\/ }
|
|
118
|
+
* *\/
|
|
117
119
|
* ```
|
|
118
120
|
*
|
|
121
|
+
* @public
|
|
119
122
|
*/
|
|
120
123
|
export declare class DeleteUserCommand extends DeleteUserCommand_base {
|
|
121
124
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,6 +65,7 @@ declare const DeleteUserPermissionsBoundaryCommand_base: {
|
|
|
65
65
|
* @throws {@link IAMServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class DeleteUserPermissionsBoundaryCommand extends DeleteUserPermissionsBoundaryCommand_base {
|
|
@@ -70,19 +70,22 @@ declare const DeleteUserPolicyCommand_base: {
|
|
|
70
70
|
* @throws {@link IAMServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
72
72
|
*
|
|
73
|
-
*
|
|
73
|
+
*
|
|
74
74
|
* @example To remove a policy from an IAM user
|
|
75
75
|
* ```javascript
|
|
76
76
|
* // The following delete-user-policy command removes the specified policy from the IAM user named Juan:
|
|
77
77
|
* const input = {
|
|
78
|
-
*
|
|
79
|
-
*
|
|
78
|
+
* PolicyName: "ExamplePolicy",
|
|
79
|
+
* UserName: "Juan"
|
|
80
80
|
* };
|
|
81
81
|
* const command = new DeleteUserPolicyCommand(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 DeleteUserPolicyCommand extends DeleteUserPolicyCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,18 +76,21 @@ declare const DeleteVirtualMFADeviceCommand_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 remove a virtual MFA device
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // The following delete-virtual-mfa-device command removes the specified MFA device from the current AWS account.
|
|
83
83
|
* const input = {
|
|
84
|
-
*
|
|
84
|
+
* SerialNumber: "arn:aws:iam::123456789012:mfa/ExampleName"
|
|
85
85
|
* };
|
|
86
86
|
* const command = new DeleteVirtualMFADeviceCommand(input);
|
|
87
|
-
* await client.send(command);
|
|
88
|
-
*
|
|
87
|
+
* const response = await client.send(command);
|
|
88
|
+
* /* response is
|
|
89
|
+
* { /* metadata only *\/ }
|
|
90
|
+
* *\/
|
|
89
91
|
* ```
|
|
90
92
|
*
|
|
93
|
+
* @public
|
|
91
94
|
*/
|
|
92
95
|
export declare class DeleteVirtualMFADeviceCommand extends DeleteVirtualMFADeviceCommand_base {
|
|
93
96
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,6 +73,7 @@ declare const DetachGroupPolicyCommand_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 DetachGroupPolicyCommand extends DetachGroupPolicyCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const DetachRolePolicyCommand_base: {
|
|
|
79
79
|
* @throws {@link IAMServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class DetachRolePolicyCommand extends DetachRolePolicyCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DetachUserPolicyCommand_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 DetachUserPolicyCommand extends DetachUserPolicyCommand_base {
|
|
@@ -74,24 +74,24 @@ declare const DisableOrganizationsRootCredentialsManagementCommand_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
78
|
* @example To disable the RootCredentialsManagement feature in your organization
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // The following command disables the management of privileged root user credentials across member accounts in your organization.
|
|
81
|
-
* const input = {};
|
|
81
|
+
* const input = { /* empty *\/ };
|
|
82
82
|
* const command = new DisableOrganizationsRootCredentialsManagementCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
86
|
+
* EnabledFeatures: [
|
|
87
87
|
* "RootSessions"
|
|
88
88
|
* ],
|
|
89
|
-
*
|
|
89
|
+
* OrganizationId: "o-aa111bb222"
|
|
90
90
|
* }
|
|
91
91
|
* *\/
|
|
92
|
-
* // example id: to-disable-the-rootcredentialsmanagement-feature-in-your-organization-1730908292211
|
|
93
92
|
* ```
|
|
94
93
|
*
|
|
94
|
+
* @public
|
|
95
95
|
*/
|
|
96
96
|
export declare class DisableOrganizationsRootCredentialsManagementCommand extends DisableOrganizationsRootCredentialsManagementCommand_base {
|
|
97
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,24 +74,24 @@ declare const DisableOrganizationsRootSessionsCommand_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
78
|
* @example To disable the RootSessions feature in your organization
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // The following command disables root user sessions for privileged tasks across member accounts in your organization.
|
|
81
|
-
* const input = {};
|
|
81
|
+
* const input = { /* empty *\/ };
|
|
82
82
|
* const command = new DisableOrganizationsRootSessionsCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
86
|
+
* EnabledFeatures: [
|
|
87
87
|
* "RootCredentialsManagement"
|
|
88
88
|
* ],
|
|
89
|
-
*
|
|
89
|
+
* OrganizationId: "o-aa111bb222"
|
|
90
90
|
* }
|
|
91
91
|
* *\/
|
|
92
|
-
* // example id: to-disable-the-rootsessions-feature-in-your-organization-1730908495962
|
|
93
92
|
* ```
|
|
94
93
|
*
|
|
94
|
+
* @public
|
|
95
95
|
*/
|
|
96
96
|
export declare class DisableOrganizationsRootSessionsCommand extends DisableOrganizationsRootSessionsCommand_base {
|
|
97
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,6 +87,7 @@ declare const EnableMFADeviceCommand_base: {
|
|
|
87
87
|
* @throws {@link IAMServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class EnableMFADeviceCommand extends EnableMFADeviceCommand_base {
|
|
@@ -90,24 +90,24 @@ declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
|
|
|
90
90
|
* @throws {@link IAMServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To enable the RootCredentialsManagement feature in your organization
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // The following command enables the management of privileged root user credentials across member accounts in your organization.
|
|
97
|
-
* const input = {};
|
|
97
|
+
* const input = { /* empty *\/ };
|
|
98
98
|
* const command = new EnableOrganizationsRootCredentialsManagementCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* EnabledFeatures: [
|
|
103
103
|
* "RootCredentialsManagement"
|
|
104
104
|
* ],
|
|
105
|
-
*
|
|
105
|
+
* OrganizationId: "o-aa111bb222"
|
|
106
106
|
* }
|
|
107
107
|
* *\/
|
|
108
|
-
* // example id: to-enable-the-rootcredentialsmanagement-feature-in-your-organization-1730908602395
|
|
109
108
|
* ```
|
|
110
109
|
*
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
export declare class EnableOrganizationsRootCredentialsManagementCommand extends EnableOrganizationsRootCredentialsManagementCommand_base {
|
|
113
113
|
/** @internal type navigation helper, not in runtime. */
|