@aws-sdk/client-iam 3.289.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 +17 -0
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +23 -0
- package/dist-types/commands/AddUserToGroupCommand.d.ts +13 -0
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +21 -0
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +27 -0
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +21 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +27 -0
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +13 -0
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +13 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +17 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +21 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +21 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +21 -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 +25 -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 +25 -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 +13 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +13 -0
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +17 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +17 -0
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +19 -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 +27 -0
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +15 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +19 -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 +13 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +21 -0
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +17 -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 +5 -0
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +9 -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 +9 -0
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +5 -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 +9 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +9 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +5 -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 +9 -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 +9 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +9 -0
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +13 -0
- package/dist-types/commands/GetUserCommand.d.ts +9 -0
- package/dist-types/commands/GetUserPolicyCommand.d.ts +9 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +9 -0
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -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 +9 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +9 -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 +9 -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 +9 -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 +9 -0
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListUsersCommand.d.ts +5 -0
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -0
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +17 -0
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +23 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +17 -0
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +13 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +19 -0
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +13 -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 +5 -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 +21 -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 +21 -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 +13 -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 +13 -0
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +13 -0
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +17 -0
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +23 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +17 -0
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +23 -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 +13 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +27 -0
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +20 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +29 -0
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +28 -0
- package/package.json +30 -30
|
@@ -32,6 +32,23 @@ export interface AddClientIDToOpenIDConnectProviderCommandOutput extends __Metad
|
|
|
32
32
|
* @see {@link AddClientIDToOpenIDConnectProviderCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
36
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
37
|
+
* input parameter.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
41
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
45
|
+
* error message describes the resource.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
48
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
49
|
+
* failure.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
35
52
|
* @example To add a client ID (audience) to an Open-ID Connect (OIDC) provider
|
|
36
53
|
* ```javascript
|
|
37
54
|
* // The following add-client-id-to-open-id-connect-provider command adds the client ID my-application-ID to the OIDC provider named server.example.com:
|
|
@@ -41,6 +41,29 @@ export interface AddRoleToInstanceProfileCommandOutput extends __MetadataBearer
|
|
|
41
41
|
* @see {@link AddRoleToInstanceProfileCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
46
|
+
* exists.</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 NoSuchEntityException} (client fault)
|
|
53
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
54
|
+
* error message describes the resource.</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
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
61
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
62
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
63
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
64
|
+
* service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
44
67
|
* @example To add a role to an instance profile
|
|
45
68
|
* ```javascript
|
|
46
69
|
* // The following command adds the role named S3Access to the instance profile named Webserver:
|
|
@@ -29,6 +29,19 @@ export interface AddUserToGroupCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* @see {@link AddUserToGroupCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
33
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
34
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
37
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
38
|
+
* error message describes the resource.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
41
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
42
|
+
* failure.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
32
45
|
* @example To add a user to an IAM group
|
|
33
46
|
* ```javascript
|
|
34
47
|
* // The following command adds an IAM user named Bob to the IAM group named Admins:
|
|
@@ -36,6 +36,27 @@ export interface AttachGroupPolicyCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* @see {@link AttachGroupPolicyCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
45
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
49
|
+
* error message describes the resource.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link PolicyNotAttachableException} (client fault)
|
|
52
|
+
* <p>The request failed because Amazon Web Services service role policies can only be attached to the
|
|
53
|
+
* service-linked role for that service.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
56
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
57
|
+
* failure.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
39
60
|
* @example To attach a managed policy to an IAM group
|
|
40
61
|
* ```javascript
|
|
41
62
|
* // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM group named Finance.
|
|
@@ -43,6 +43,33 @@ export interface AttachRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* @see {@link AttachRolePolicyCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
47
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
48
|
+
* input parameter.</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 PolicyNotAttachableException} (client fault)
|
|
59
|
+
* <p>The request failed because Amazon Web Services service role policies can only be attached to the
|
|
60
|
+
* service-linked role for that service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
63
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
64
|
+
* failure.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
67
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
68
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
69
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
70
|
+
* service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
46
73
|
* @example To attach a managed policy to an IAM role
|
|
47
74
|
* ```javascript
|
|
48
75
|
* // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM role named ReadOnlyRole.
|
|
@@ -36,6 +36,27 @@ export interface AttachUserPolicyCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* @see {@link AttachUserPolicyCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
45
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
48
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
49
|
+
* error message describes the resource.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link PolicyNotAttachableException} (client fault)
|
|
52
|
+
* <p>The request failed because Amazon Web Services service role policies can only be attached to the
|
|
53
|
+
* service-linked role for that service.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
56
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
57
|
+
* failure.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
39
60
|
* @example To attach a managed policy to an IAM user
|
|
40
61
|
* ```javascript
|
|
41
62
|
* // The following command attaches the AWS managed policy named AdministratorAccess to the IAM user named Alice.
|
|
@@ -36,6 +36,33 @@ export interface ChangePasswordCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* @see {@link ChangePasswordCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link EntityTemporarilyUnmodifiableException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
|
|
41
|
+
* such as a user name that was deleted and then recreated. The error indicates that the request
|
|
42
|
+
* is likely to succeed if you try again after waiting several minutes. The error message
|
|
43
|
+
* describes the entity.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InvalidUserTypeException} (client fault)
|
|
46
|
+
* <p>The request was rejected because the type of user for the transaction was
|
|
47
|
+
* incorrect.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
50
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
51
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
54
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
55
|
+
* error message describes the resource.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link PasswordPolicyViolationException} (client fault)
|
|
58
|
+
* <p>The request was rejected because the provided password did not meet the requirements
|
|
59
|
+
* imposed by the account password policy.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
62
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
63
|
+
* failure.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
39
66
|
* @example To change the password for your IAM user
|
|
40
67
|
* ```javascript
|
|
41
68
|
* // The following command changes the password for the current IAM user.
|
|
@@ -42,6 +42,19 @@ export interface CreateAccessKeyCommandOutput extends CreateAccessKeyResponse, _
|
|
|
42
42
|
* @see {@link CreateAccessKeyCommandOutput} for command's `response` shape.
|
|
43
43
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
44
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
|
+
*
|
|
45
58
|
* @example To create an access key for an IAM user
|
|
46
59
|
* ```javascript
|
|
47
60
|
* // The following command creates an access key (access key ID and secret access key) for the IAM user named Bob.
|
|
@@ -32,6 +32,19 @@ export interface CreateAccountAliasCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* @see {@link CreateAccountAliasCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
36
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
37
|
+
* exists.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
40
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
41
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
44
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
45
|
+
* failure.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
35
48
|
* @example To create an account alias
|
|
36
49
|
* ```javascript
|
|
37
50
|
* // The following command associates the alias examplecorp to your AWS account.
|
|
@@ -31,6 +31,23 @@ export interface CreateGroupCommandOutput extends CreateGroupResponse, __Metadat
|
|
|
31
31
|
* @see {@link CreateGroupCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
36
|
+
* exists.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
40
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
43
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
44
|
+
* error message describes the resource.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
47
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
48
|
+
* failure.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
34
51
|
* @example To create an IAM group
|
|
35
52
|
* ```javascript
|
|
36
53
|
* // The following command creates an IAM group named Admins.
|
|
@@ -33,6 +33,27 @@ export interface CreateInstanceProfileCommandOutput extends CreateInstanceProfil
|
|
|
33
33
|
* @see {@link CreateInstanceProfileCommandOutput} 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 ServiceFailureException} (server fault)
|
|
53
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
54
|
+
* failure.</p>
|
|
55
|
+
*
|
|
56
|
+
*
|
|
36
57
|
* @example To create an instance profile
|
|
37
58
|
* ```javascript
|
|
38
59
|
* // The following command creates an instance profile named Webserver that is ready to have a role attached and then be associated with an EC2 instance.
|
|
@@ -34,6 +34,27 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
|
|
|
34
34
|
* @see {@link CreateLoginProfileCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
38
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
39
|
+
* exists.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
42
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
43
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
46
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
47
|
+
* error message describes the resource.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link PasswordPolicyViolationException} (client fault)
|
|
50
|
+
* <p>The request was rejected because the provided password did not meet the requirements
|
|
51
|
+
* imposed by the account password policy.</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
|
* @example To create an instance profile
|
|
38
59
|
* ```javascript
|
|
39
60
|
* // The following command changes IAM user Bob's password and sets the flag that required Bob to change the password the next time he signs in.
|
|
@@ -67,6 +67,27 @@ export interface CreateOpenIDConnectProviderCommandOutput extends CreateOpenIDCo
|
|
|
67
67
|
* @see {@link CreateOpenIDConnectProviderCommandOutput} for command's `response` shape.
|
|
68
68
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
71
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
72
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
75
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
76
|
+
* exists.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
79
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
80
|
+
* input parameter.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
83
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
84
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
87
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
88
|
+
* failure.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
70
91
|
* @example To create an instance profile
|
|
71
92
|
* ```javascript
|
|
72
93
|
* // 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.
|
|
@@ -39,6 +39,31 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
|
|
|
39
39
|
* @see {@link CreatePolicyCommandOutput} for command's `response` shape.
|
|
40
40
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
41
41
|
*
|
|
42
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
43
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
44
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link EntityAlreadyExistsException} (client fault)
|
|
47
|
+
* <p>The request was rejected because it attempted to create a resource that already
|
|
48
|
+
* exists.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
51
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
52
|
+
* input parameter.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
55
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
56
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
|
59
|
+
* <p>The request was rejected because the policy document was malformed. The error message
|
|
60
|
+
* describes the specific error.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
63
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
64
|
+
* failure.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
42
67
|
*/
|
|
43
68
|
export declare class CreatePolicyCommand extends $Command<CreatePolicyCommandInput, CreatePolicyCommandOutput, IAMClientResolvedConfig> {
|
|
44
69
|
readonly input: CreatePolicyCommandInput;
|
|
@@ -36,6 +36,27 @@ export interface CreatePolicyVersionCommandOutput extends CreatePolicyVersionRes
|
|
|
36
36
|
* @see {@link CreatePolicyVersionCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
40
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
41
|
+
* input parameter.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
44
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
45
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
|
48
|
+
* <p>The request was rejected because the policy document was malformed. The error message
|
|
49
|
+
* describes the specific error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
52
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
53
|
+
* error message describes the resource.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
56
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
57
|
+
* failure.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
39
60
|
*/
|
|
40
61
|
export declare class CreatePolicyVersionCommand extends $Command<CreatePolicyVersionCommandInput, CreatePolicyVersionCommandOutput, IAMClientResolvedConfig> {
|
|
41
62
|
readonly input: CreatePolicyVersionCommandInput;
|
|
@@ -33,6 +33,31 @@ 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
|
+
*
|
|
36
61
|
* @example To create an IAM role
|
|
37
62
|
* ```javascript
|
|
38
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.
|
|
@@ -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,31 @@ 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
|
+
*
|
|
34
59
|
* @example To create an IAM user
|
|
35
60
|
* ```javascript
|
|
36
61
|
* // The following create-user command creates an IAM user named Bob in the current account.
|
|
@@ -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,19 @@ 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
|
+
*
|
|
36
49
|
* @example To delete an access key for an IAM user
|
|
37
50
|
* ```javascript
|
|
38
51
|
* // The following command deletes one access key (access key ID and secret access key) assigned to the IAM user named Bob.
|