@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
|
@@ -136,29 +136,29 @@ declare const CreateOpenIDConnectProviderCommand_base: {
|
|
|
136
136
|
* @throws {@link IAMServiceException}
|
|
137
137
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
138
138
|
*
|
|
139
|
-
*
|
|
139
|
+
*
|
|
140
140
|
* @example To create an instance profile
|
|
141
141
|
* ```javascript
|
|
142
142
|
* // The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.
|
|
143
143
|
* const input = {
|
|
144
|
-
*
|
|
144
|
+
* ClientIDList: [
|
|
145
145
|
* "my-application-id"
|
|
146
146
|
* ],
|
|
147
|
-
*
|
|
147
|
+
* ThumbprintList: [
|
|
148
148
|
* "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"
|
|
149
149
|
* ],
|
|
150
|
-
*
|
|
150
|
+
* Url: "https://server.example.com"
|
|
151
151
|
* };
|
|
152
152
|
* const command = new CreateOpenIDConnectProviderCommand(input);
|
|
153
153
|
* const response = await client.send(command);
|
|
154
|
-
* /* response
|
|
154
|
+
* /* response is
|
|
155
155
|
* {
|
|
156
|
-
*
|
|
156
|
+
* OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
|
|
157
157
|
* }
|
|
158
158
|
* *\/
|
|
159
|
-
* // example id: 4e4a6bff-cc97-4406-922e-0ab4a82cdb63
|
|
160
159
|
* ```
|
|
161
160
|
*
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
export declare class CreateOpenIDConnectProviderCommand extends CreateOpenIDConnectProviderCommand_base {
|
|
164
164
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -115,6 +115,7 @@ declare const CreatePolicyCommand_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 CreatePolicyCommand extends CreatePolicyCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const CreatePolicyVersionCommand_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 CreatePolicyVersionCommand extends CreatePolicyVersionCommand_base {
|
|
@@ -116,32 +116,32 @@ declare const CreateRoleCommand_base: {
|
|
|
116
116
|
* @throws {@link IAMServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
118
118
|
*
|
|
119
|
-
*
|
|
119
|
+
*
|
|
120
120
|
* @example To create an IAM role
|
|
121
121
|
* ```javascript
|
|
122
122
|
* // The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.
|
|
123
123
|
* const input = {
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
124
|
+
* AssumeRolePolicyDocument: "<Stringified-JSON>",
|
|
125
|
+
* Path: "/",
|
|
126
|
+
* RoleName: "Test-Role"
|
|
127
127
|
* };
|
|
128
128
|
* const command = new CreateRoleCommand(input);
|
|
129
129
|
* const response = await client.send(command);
|
|
130
|
-
* /* response
|
|
130
|
+
* /* response is
|
|
131
131
|
* {
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
132
|
+
* Role: {
|
|
133
|
+
* Arn: "arn:aws:iam::123456789012:role/Test-Role",
|
|
134
|
+
* AssumeRolePolicyDocument: "<URL-encoded-JSON>",
|
|
135
|
+
* CreateDate: "2013-06-07T20:43:32.821Z",
|
|
136
|
+
* Path: "/",
|
|
137
|
+
* RoleId: "AKIAIOSFODNN7EXAMPLE",
|
|
138
|
+
* RoleName: "Test-Role"
|
|
139
139
|
* }
|
|
140
140
|
* }
|
|
141
141
|
* *\/
|
|
142
|
-
* // example id: eaaa4b5f-51f1-4f73-b0d3-30127040eff8
|
|
143
142
|
* ```
|
|
144
143
|
*
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class CreateRoleCommand extends CreateRoleCommand_base {
|
|
147
147
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -106,6 +106,7 @@ declare const CreateSAMLProviderCommand_base: {
|
|
|
106
106
|
* @throws {@link IAMServiceException}
|
|
107
107
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
108
108
|
*
|
|
109
|
+
*
|
|
109
110
|
* @public
|
|
110
111
|
*/
|
|
111
112
|
export declare class CreateSAMLProviderCommand extends CreateSAMLProviderCommand_base {
|
|
@@ -103,6 +103,7 @@ declare const CreateServiceLinkedRoleCommand_base: {
|
|
|
103
103
|
* @throws {@link IAMServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
105
105
|
*
|
|
106
|
+
*
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class CreateServiceLinkedRoleCommand extends CreateServiceLinkedRoleCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const CreateServiceSpecificCredentialCommand_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
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class CreateServiceSpecificCredentialCommand extends CreateServiceSpecificCredentialCommand_base {
|
|
@@ -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 {
|