@aws-sdk/client-iam 3.288.0 → 3.290.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-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +29 -0
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +35 -0
- package/dist-types/commands/AddUserToGroupCommand.d.ts +25 -0
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +33 -0
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +39 -0
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +33 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +39 -0
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +35 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +24 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +39 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +43 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +43 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +25 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +21 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +50 -0
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +21 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +12 -0
- package/dist-types/commands/CreateUserCommand.d.ts +47 -0
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +21 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +25 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +24 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +22 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +25 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +28 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +30 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +21 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +21 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +38 -0
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +31 -0
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +13 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +25 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +32 -0
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +25 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +28 -0
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +17 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +17 -0
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +27 -0
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +9 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +21 -0
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +25 -0
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +5 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +5 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +34 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +46 -0
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +5 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +18 -0
- package/dist-types/commands/GetGroupCommand.d.ts +9 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +41 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +28 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +49 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +13 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +13 -0
- package/dist-types/commands/GetRoleCommand.d.ts +37 -0
- package/dist-types/commands/GetRolePolicyCommand.d.ts +9 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +9 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +9 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +42 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +50 -0
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
- package/dist-types/commands/GetUserCommand.d.ts +31 -0
- package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +38 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +21 -0
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +13 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +28 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +41 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +40 -0
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +9 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +9 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +57 -0
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +13 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +35 -0
- package/dist-types/commands/ListRolesCommand.d.ts +5 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +5 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +5 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +8 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +33 -0
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +35 -0
- package/dist-types/commands/ListUsersCommand.d.ts +36 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +22 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +30 -0
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +36 -0
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +30 -0
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +31 -0
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +25 -0
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +16 -0
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +9 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +13 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +21 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +21 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +21 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +21 -0
- package/dist-types/commands/TagRoleCommand.d.ts +42 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +21 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +21 -0
- package/dist-types/commands/TagUserCommand.d.ts +42 -0
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +17 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +17 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +17 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +27 -0
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/UntagUserCommand.d.ts +27 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +26 -0
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +29 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +35 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +29 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +35 -0
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +13 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +15 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +15 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +17 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +17 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +5 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +26 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +39 -0
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +55 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +51 -0
- package/package.json +30 -30
|
@@ -33,6 +33,56 @@ export interface CreateRoleCommandOutput extends CreateRoleResponse, __MetadataB
|
|
|
33
33
|
* @see {@link CreateRoleCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
37
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
38
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
42
|
+
* exists.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
45
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
46
|
+
* input parameter.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
49
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
50
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
|
53
|
+
* <p>The request was rejected because the policy document was malformed. The error message
|
|
54
|
+
* describes the specific error.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
57
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
58
|
+
* failure.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @example To create an IAM role
|
|
62
|
+
* ```javascript
|
|
63
|
+
* // 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.
|
|
64
|
+
* const input = {
|
|
65
|
+
* "AssumeRolePolicyDocument": "<Stringified-JSON>",
|
|
66
|
+
* "Path": "/",
|
|
67
|
+
* "RoleName": "Test-Role"
|
|
68
|
+
* };
|
|
69
|
+
* const command = new CreateRoleCommand(input);
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* /* response ==
|
|
72
|
+
* {
|
|
73
|
+
* "Role": {
|
|
74
|
+
* "Arn": "arn:aws:iam::123456789012:role/Test-Role",
|
|
75
|
+
* "AssumeRolePolicyDocument": "<URL-encoded-JSON>",
|
|
76
|
+
* "CreateDate": "2013-06-07T20:43:32.821Z",
|
|
77
|
+
* "Path": "/",
|
|
78
|
+
* "RoleId": "AKIAIOSFODNN7EXAMPLE",
|
|
79
|
+
* "RoleName": "Test-Role"
|
|
80
|
+
* }
|
|
81
|
+
* }
|
|
82
|
+
* *\/
|
|
83
|
+
* // example id: eaaa4b5f-51f1-4f73-b0d3-30127040eff8
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
36
86
|
*/
|
|
37
87
|
export declare class CreateRoleCommand extends $Command<CreateRoleCommandInput, CreateRoleCommandOutput, IAMClientResolvedConfig> {
|
|
38
88
|
readonly input: CreateRoleCommandInput;
|
|
@@ -46,6 +46,27 @@ export interface CreateSAMLProviderCommandOutput extends CreateSAMLProviderRespo
|
|
|
46
46
|
* @see {@link CreateSAMLProviderCommandOutput} for command's `response` shape.
|
|
47
47
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
48
48
|
*
|
|
49
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
50
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
51
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
54
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
55
|
+
* exists.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
58
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
59
|
+
* input parameter.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
62
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
63
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
66
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
67
|
+
* failure.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
49
70
|
*/
|
|
50
71
|
export declare class CreateSAMLProviderCommand extends $Command<CreateSAMLProviderCommandInput, CreateSAMLProviderCommandOutput, IAMClientResolvedConfig> {
|
|
51
72
|
readonly input: CreateSAMLProviderCommandInput;
|
|
@@ -37,6 +37,23 @@ export interface CreateServiceLinkedRoleCommandOutput extends CreateServiceLinke
|
|
|
37
37
|
* @see {@link CreateServiceLinkedRoleCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
41
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
42
|
+
* input parameter.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
46
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
49
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
50
|
+
* error message describes the resource.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
53
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
54
|
+
* failure.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
40
57
|
*/
|
|
41
58
|
export declare class CreateServiceLinkedRoleCommand extends $Command<CreateServiceLinkedRoleCommandInput, CreateServiceLinkedRoleCommandOutput, IAMClientResolvedConfig> {
|
|
42
59
|
readonly input: CreateServiceLinkedRoleCommandInput;
|
|
@@ -39,6 +39,18 @@ export interface CreateServiceSpecificCredentialCommandOutput extends CreateServ
|
|
|
39
39
|
* @see {@link CreateServiceSpecificCredentialCommandOutput} for command's `response` shape.
|
|
40
40
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
41
41
|
*
|
|
42
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
43
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
44
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
47
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
48
|
+
* error message describes the resource.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ServiceNotSupportedException} (client fault)
|
|
51
|
+
* <p>The specified service does not support service-specific credentials.</p>
|
|
52
|
+
*
|
|
53
|
+
*
|
|
42
54
|
*/
|
|
43
55
|
export declare class CreateServiceSpecificCredentialCommand extends $Command<CreateServiceSpecificCredentialCommandInput, CreateServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
|
|
44
56
|
readonly input: CreateServiceSpecificCredentialCommandInput;
|
|
@@ -31,6 +31,53 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
|
|
|
31
31
|
* @see {@link CreateUserCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
35
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
36
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
40
|
+
* exists.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
43
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
44
|
+
* input parameter.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
47
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
48
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
51
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
52
|
+
* error message describes the resource.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
55
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
56
|
+
* failure.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
* @example To create an IAM user
|
|
60
|
+
* ```javascript
|
|
61
|
+
* // The following create-user command creates an IAM user named Bob in the current account.
|
|
62
|
+
* const input = {
|
|
63
|
+
* "UserName": "Bob"
|
|
64
|
+
* };
|
|
65
|
+
* const command = new CreateUserCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* /* response ==
|
|
68
|
+
* {
|
|
69
|
+
* "User": {
|
|
70
|
+
* "Arn": "arn:aws:iam::123456789012:user/Bob",
|
|
71
|
+
* "CreateDate": "2013-06-08T03:20:41.270Z",
|
|
72
|
+
* "Path": "/",
|
|
73
|
+
* "UserId": "AKIAIOSFODNN7EXAMPLE",
|
|
74
|
+
* "UserName": "Bob"
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
77
|
+
* *\/
|
|
78
|
+
* // example id: eb15f90b-e5f5-4af8-a594-e4e82b181a62
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
34
81
|
*/
|
|
35
82
|
export declare class CreateUserCommand extends $Command<CreateUserCommandInput, CreateUserCommandOutput, IAMClientResolvedConfig> {
|
|
36
83
|
readonly input: CreateUserCommandInput;
|
|
@@ -41,6 +41,27 @@ export interface CreateVirtualMFADeviceCommandOutput extends CreateVirtualMFADev
|
|
|
41
41
|
* @see {@link CreateVirtualMFADeviceCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
45
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
46
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
49
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
50
|
+
* exists.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
53
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
54
|
+
* input parameter.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
57
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
58
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
61
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
62
|
+
* failure.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
44
65
|
*/
|
|
45
66
|
export declare class CreateVirtualMFADeviceCommand extends $Command<CreateVirtualMFADeviceCommandInput, CreateVirtualMFADeviceCommandOutput, IAMClientResolvedConfig> {
|
|
46
67
|
readonly input: CreateVirtualMFADeviceCommandInput;
|
|
@@ -33,6 +33,25 @@ export interface DeactivateMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DeactivateMFADeviceCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
|
|
37
|
+
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
|
|
38
|
+
* such as a user name that was deleted and then recreated. The error indicates that the request
|
|
39
|
+
* is likely to succeed if you try again after waiting several minutes. The error message
|
|
40
|
+
* describes the entity.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
43
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
44
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
47
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
48
|
+
* error message describes the resource.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
51
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
52
|
+
* failure.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
36
55
|
*/
|
|
37
56
|
export declare class DeactivateMFADeviceCommand extends $Command<DeactivateMFADeviceCommandInput, DeactivateMFADeviceCommandOutput, IAMClientResolvedConfig> {
|
|
38
57
|
readonly input: DeactivateMFADeviceCommandInput;
|
|
@@ -33,6 +33,31 @@ export interface DeleteAccessKeyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DeleteAccessKeyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
37
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
38
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
42
|
+
* error message describes the resource.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
45
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
46
|
+
* failure.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @example To delete an access key for an IAM user
|
|
50
|
+
* ```javascript
|
|
51
|
+
* // The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.
|
|
52
|
+
* const input = {
|
|
53
|
+
* "AccessKeyId": "AKIDPMS9RO4H3FEXAMPLE",
|
|
54
|
+
* "UserName": "Bob"
|
|
55
|
+
* };
|
|
56
|
+
* const command = new DeleteAccessKeyCommand(input);
|
|
57
|
+
* await client.send(command);
|
|
58
|
+
* // example id: 61a785a7-d30a-415a-ae18-ab9236e56871
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
36
61
|
*/
|
|
37
62
|
export declare class DeleteAccessKeyCommand extends $Command<DeleteAccessKeyCommandInput, DeleteAccessKeyCommandOutput, IAMClientResolvedConfig> {
|
|
38
63
|
readonly input: DeleteAccessKeyCommandInput;
|
|
@@ -31,6 +31,30 @@ export interface DeleteAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* @see {@link DeleteAccountAliasCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
36
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
40
|
+
* error message describes the resource.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
43
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
44
|
+
* failure.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* @example To delete an account alias
|
|
48
|
+
* ```javascript
|
|
49
|
+
* // The following command removes the alias mycompany from the current AWS account:
|
|
50
|
+
* const input = {
|
|
51
|
+
* "AccountAlias": "mycompany"
|
|
52
|
+
* };
|
|
53
|
+
* const command = new DeleteAccountAliasCommand(input);
|
|
54
|
+
* await client.send(command);
|
|
55
|
+
* // example id: 7abeca65-04a8-4500-a890-47f1092bf766
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
34
58
|
*/
|
|
35
59
|
export declare class DeleteAccountAliasCommand extends $Command<DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput, IAMClientResolvedConfig> {
|
|
36
60
|
readonly input: DeleteAccountAliasCommandInput;
|
|
@@ -28,6 +28,28 @@ export interface DeleteAccountPasswordPolicyCommandOutput extends __MetadataBear
|
|
|
28
28
|
* @see {@link DeleteAccountPasswordPolicyCommandOutput} for command's `response` shape.
|
|
29
29
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
30
30
|
*
|
|
31
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
32
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
33
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
36
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
37
|
+
* error message describes the resource.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
40
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
41
|
+
* failure.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @example To delete the current account password policy
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // The following command removes the password policy from the current AWS account:
|
|
47
|
+
* const input = undefined;
|
|
48
|
+
* const command = new DeleteAccountPasswordPolicyCommand(input);
|
|
49
|
+
* await client.send(command);
|
|
50
|
+
* // example id: 9ddf755e-495c-49bc-ae3b-ea6cc9b8ebcf
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
31
53
|
*/
|
|
32
54
|
export declare class DeleteAccountPasswordPolicyCommand extends $Command<DeleteAccountPasswordPolicyCommandInput, DeleteAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
33
55
|
readonly input: DeleteAccountPasswordPolicyCommandInput;
|
|
@@ -30,6 +30,23 @@ export interface DeleteGroupCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link DeleteGroupCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
34
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
35
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
39
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
43
|
+
* error message describes the resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
47
|
+
* failure.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
33
50
|
*/
|
|
34
51
|
export declare class DeleteGroupCommand extends $Command<DeleteGroupCommandInput, DeleteGroupCommandOutput, IAMClientResolvedConfig> {
|
|
35
52
|
readonly input: DeleteGroupCommandInput;
|
|
@@ -34,6 +34,31 @@ export interface DeleteGroupPolicyCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteGroupPolicyCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
39
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
43
|
+
* error message describes the resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
47
|
+
* failure.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* @example To delete a policy from an IAM group
|
|
51
|
+
* ```javascript
|
|
52
|
+
* // The following command deletes the policy named ExamplePolicy from the group named Admins:
|
|
53
|
+
* const input = {
|
|
54
|
+
* "GroupName": "Admins",
|
|
55
|
+
* "PolicyName": "ExamplePolicy"
|
|
56
|
+
* };
|
|
57
|
+
* const command = new DeleteGroupPolicyCommand(input);
|
|
58
|
+
* await client.send(command);
|
|
59
|
+
* // example id: e683f2bd-98a4-4fe0-bb66-33169c692d4a
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
37
62
|
*/
|
|
38
63
|
export declare class DeleteGroupPolicyCommand extends $Command<DeleteGroupPolicyCommandInput, DeleteGroupPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
39
64
|
readonly input: DeleteGroupPolicyCommandInput;
|
|
@@ -38,6 +38,34 @@ export interface DeleteInstanceProfileCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* @see {@link DeleteInstanceProfileCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
43
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
46
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
47
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
50
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
51
|
+
* error message describes the resource.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
54
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
55
|
+
* failure.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* @example To delete an instance profile
|
|
59
|
+
* ```javascript
|
|
60
|
+
* // The following command deletes the instance profile named ExampleInstanceProfile
|
|
61
|
+
* const input = {
|
|
62
|
+
* "InstanceProfileName": "ExampleInstanceProfile"
|
|
63
|
+
* };
|
|
64
|
+
* const command = new DeleteInstanceProfileCommand(input);
|
|
65
|
+
* await client.send(command);
|
|
66
|
+
* // example id: 12d74fb8-3433-49db-8171-a1fc764e354d
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
41
69
|
*/
|
|
42
70
|
export declare class DeleteInstanceProfileCommand extends $Command<DeleteInstanceProfileCommandInput, DeleteInstanceProfileCommandOutput, IAMClientResolvedConfig> {
|
|
43
71
|
readonly input: DeleteInstanceProfileCommandInput;
|
|
@@ -41,6 +41,36 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
|
|
|
41
41
|
* @see {@link DeleteLoginProfileCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
|
|
46
|
+
* such as a user name that was deleted and then recreated. The error indicates that the request
|
|
47
|
+
* is likely to succeed if you try again after waiting several minutes. The error message
|
|
48
|
+
* describes the entity.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
51
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
52
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
55
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
56
|
+
* error message describes the resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
60
|
+
* failure.</p>
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
* @example To delete a password for an IAM user
|
|
64
|
+
* ```javascript
|
|
65
|
+
* // The following command deletes the password for the IAM user named Bob.
|
|
66
|
+
* const input = {
|
|
67
|
+
* "UserName": "Bob"
|
|
68
|
+
* };
|
|
69
|
+
* const command = new DeleteLoginProfileCommand(input);
|
|
70
|
+
* await client.send(command);
|
|
71
|
+
* // example id: 1fe57059-fc73-42e2-b992-517b7d573b5c
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
44
74
|
*/
|
|
45
75
|
export declare class DeleteLoginProfileCommand extends $Command<DeleteLoginProfileCommandInput, DeleteLoginProfileCommandOutput, IAMClientResolvedConfig> {
|
|
46
76
|
readonly input: DeleteLoginProfileCommandInput;
|
|
@@ -34,6 +34,19 @@ export interface DeleteOpenIDConnectProviderCommandOutput extends __MetadataBear
|
|
|
34
34
|
* @see {@link DeleteOpenIDConnectProviderCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
38
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
39
|
+
* input parameter.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
43
|
+
* error message describes the resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
47
|
+
* failure.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
37
50
|
*/
|
|
38
51
|
export declare class DeleteOpenIDConnectProviderCommand extends $Command<DeleteOpenIDConnectProviderCommandInput, DeleteOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
|
|
39
52
|
readonly input: DeleteOpenIDConnectProviderCommandInput;
|
|
@@ -53,6 +53,27 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
53
53
|
* @see {@link DeletePolicyCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
57
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
58
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
61
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
62
|
+
* input parameter.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
65
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
66
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
69
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
70
|
+
* error message describes the resource.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
73
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
74
|
+
* failure.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
56
77
|
*/
|
|
57
78
|
export declare class DeletePolicyCommand extends $Command<DeletePolicyCommandInput, DeletePolicyCommandOutput, IAMClientResolvedConfig> {
|
|
58
79
|
readonly input: DeletePolicyCommandInput;
|
|
@@ -34,6 +34,27 @@ export interface DeletePolicyVersionCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeletePolicyVersionCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
39
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
42
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
43
|
+
* input parameter.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
46
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
47
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
50
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
51
|
+
* error message describes the resource.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
54
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
55
|
+
* failure.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
37
58
|
*/
|
|
38
59
|
export declare class DeletePolicyVersionCommand extends $Command<DeletePolicyVersionCommandInput, DeletePolicyVersionCommandOutput, IAMClientResolvedConfig> {
|
|
39
60
|
readonly input: DeletePolicyVersionCommandInput;
|
|
@@ -52,6 +52,44 @@ export interface DeleteRoleCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
* @see {@link DeleteRoleCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
56
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
57
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
60
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
61
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
64
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
65
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
68
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
69
|
+
* error message describes the resource.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
72
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
73
|
+
* failure.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
76
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
77
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
78
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
79
|
+
* service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example To delete an IAM role
|
|
83
|
+
* ```javascript
|
|
84
|
+
* // The following command removes the role named Test-Role.
|
|
85
|
+
* const input = {
|
|
86
|
+
* "RoleName": "Test-Role"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new DeleteRoleCommand(input);
|
|
89
|
+
* await client.send(command);
|
|
90
|
+
* // example id: 053cdf74-9bda-44b8-bdbb-140fd5a32603
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
55
93
|
*/
|
|
56
94
|
export declare class DeleteRoleCommand extends $Command<DeleteRoleCommandInput, DeleteRoleCommandOutput, IAMClientResolvedConfig> {
|
|
57
95
|
readonly input: DeleteRoleCommandInput;
|
|
@@ -34,6 +34,21 @@ export interface DeleteRolePermissionsBoundaryCommandOutput extends __MetadataBe
|
|
|
34
34
|
* @see {@link DeleteRolePermissionsBoundaryCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
39
|
+
* error message describes the resource.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
42
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
43
|
+
* failure.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
46
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
47
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
48
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
49
|
+
* service.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
37
52
|
*/
|
|
38
53
|
export declare class DeleteRolePermissionsBoundaryCommand extends $Command<DeleteRolePermissionsBoundaryCommandInput, DeleteRolePermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
|
|
39
54
|
readonly input: DeleteRolePermissionsBoundaryCommandInput;
|
|
@@ -34,6 +34,37 @@ export interface DeleteRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteRolePolicyCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
39
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
43
|
+
* error message describes the resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
46
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
47
|
+
* failure.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
50
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
51
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
52
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
53
|
+
* service.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
56
|
+
* @example To remove a policy from an IAM role
|
|
57
|
+
* ```javascript
|
|
58
|
+
* // The following command removes the policy named ExamplePolicy from the role named Test-Role.
|
|
59
|
+
* const input = {
|
|
60
|
+
* "PolicyName": "ExamplePolicy",
|
|
61
|
+
* "RoleName": "Test-Role"
|
|
62
|
+
* };
|
|
63
|
+
* const command = new DeleteRolePolicyCommand(input);
|
|
64
|
+
* await client.send(command);
|
|
65
|
+
* // example id: 9c667336-fde3-462c-b8f3-950800821e27
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
37
68
|
*/
|
|
38
69
|
export declare class DeleteRolePolicyCommand extends $Command<DeleteRolePolicyCommandInput, DeleteRolePolicyCommandOutput, IAMClientResolvedConfig> {
|
|
39
70
|
readonly input: DeleteRolePolicyCommandInput;
|