@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
|
@@ -35,6 +35,23 @@ export interface DeleteSAMLProviderCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* @see {@link DeleteSAMLProviderCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
39
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
40
|
+
* input parameter.</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
|
+
*
|
|
38
55
|
*/
|
|
39
56
|
export declare class DeleteSAMLProviderCommand extends $Command<DeleteSAMLProviderCommandInput, DeleteSAMLProviderCommandOutput, IAMClientResolvedConfig> {
|
|
40
57
|
readonly input: DeleteSAMLProviderCommandInput;
|
|
@@ -33,6 +33,11 @@ export interface DeleteSSHPublicKeyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DeleteSSHPublicKeyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
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
|
+
*
|
|
36
41
|
*/
|
|
37
42
|
export declare class DeleteSSHPublicKeyCommand extends $Command<DeleteSSHPublicKeyCommandInput, DeleteSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
|
|
38
43
|
readonly input: DeleteSSHPublicKeyCommandInput;
|
|
@@ -43,6 +43,23 @@ export interface DeleteServerCertificateCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* @see {@link DeleteServerCertificateCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
47
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
48
|
+
* subordinate entities. The error message describes these entities.</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
|
+
*
|
|
46
63
|
*/
|
|
47
64
|
export declare class DeleteServerCertificateCommand extends $Command<DeleteServerCertificateCommandInput, DeleteServerCertificateCommandOutput, IAMClientResolvedConfig> {
|
|
48
65
|
readonly input: DeleteServerCertificateCommandInput;
|
|
@@ -45,6 +45,19 @@ export interface DeleteServiceLinkedRoleCommandOutput extends DeleteServiceLinke
|
|
|
45
45
|
* @see {@link DeleteServiceLinkedRoleCommandOutput} for command's `response` shape.
|
|
46
46
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
47
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
|
+
*
|
|
48
61
|
*/
|
|
49
62
|
export declare class DeleteServiceLinkedRoleCommand extends $Command<DeleteServiceLinkedRoleCommandInput, DeleteServiceLinkedRoleCommandOutput, IAMClientResolvedConfig> {
|
|
50
63
|
readonly input: DeleteServiceLinkedRoleCommandInput;
|
|
@@ -29,6 +29,11 @@ export interface DeleteServiceSpecificCredentialCommandOutput extends __Metadata
|
|
|
29
29
|
* @see {@link DeleteServiceSpecificCredentialCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
33
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
34
|
+
* error message describes the resource.</p>
|
|
35
|
+
*
|
|
36
|
+
*
|
|
32
37
|
*/
|
|
33
38
|
export declare class DeleteServiceSpecificCredentialCommand extends $Command<DeleteServiceSpecificCredentialCommandInput, DeleteServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
|
|
34
39
|
readonly input: DeleteServiceSpecificCredentialCommandInput;
|
|
@@ -33,6 +33,31 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* @see {@link DeleteSigningCertificateCommandOutput} 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 a signing certificate for an IAM user
|
|
50
|
+
* ```javascript
|
|
51
|
+
* // The following command deletes the specified signing certificate for the IAM user named Anika.
|
|
52
|
+
* const input = {
|
|
53
|
+
* "CertificateId": "TA7SMP42TDN5Z26OBPJE7EXAMPLE",
|
|
54
|
+
* "UserName": "Anika"
|
|
55
|
+
* };
|
|
56
|
+
* const command = new DeleteSigningCertificateCommand(input);
|
|
57
|
+
* await client.send(command);
|
|
58
|
+
* // example id: e3357586-ba9c-4070-b35b-d1a899b71987
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
36
61
|
*/
|
|
37
62
|
export declare class DeleteSigningCertificateCommand extends $Command<DeleteSigningCertificateCommandInput, DeleteSigningCertificateCommandOutput, IAMClientResolvedConfig> {
|
|
38
63
|
readonly input: DeleteSigningCertificateCommandInput;
|
|
@@ -61,6 +61,38 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
|
|
|
61
61
|
* @see {@link DeleteUserCommandOutput} for command's `response` shape.
|
|
62
62
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
63
63
|
*
|
|
64
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
65
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
66
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
69
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
70
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
73
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
74
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
77
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
78
|
+
* error message describes the resource.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
81
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
82
|
+
* failure.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example To delete an IAM user
|
|
86
|
+
* ```javascript
|
|
87
|
+
* // The following command removes the IAM user named Bob from the current account.
|
|
88
|
+
* const input = {
|
|
89
|
+
* "UserName": "Bob"
|
|
90
|
+
* };
|
|
91
|
+
* const command = new DeleteUserCommand(input);
|
|
92
|
+
* await client.send(command);
|
|
93
|
+
* // example id: a13dc3f9-59fe-42d9-abbb-fb98b204fdf0
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
64
96
|
*/
|
|
65
97
|
export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, IAMClientResolvedConfig> {
|
|
66
98
|
readonly input: DeleteUserCommandInput;
|
|
@@ -34,6 +34,15 @@ export interface DeleteUserPermissionsBoundaryCommandOutput extends __MetadataBe
|
|
|
34
34
|
* @see {@link DeleteUserPermissionsBoundaryCommandOutput} 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
|
+
*
|
|
37
46
|
*/
|
|
38
47
|
export declare class DeleteUserPermissionsBoundaryCommand extends $Command<DeleteUserPermissionsBoundaryCommandInput, DeleteUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
|
|
39
48
|
readonly input: DeleteUserPermissionsBoundaryCommandInput;
|
|
@@ -34,6 +34,31 @@ export interface DeleteUserPolicyCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteUserPolicyCommandOutput} 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 remove a policy from an IAM user
|
|
51
|
+
* ```javascript
|
|
52
|
+
* // The following delete-user-policy command removes the specified policy from the IAM user named Juan:
|
|
53
|
+
* const input = {
|
|
54
|
+
* "PolicyName": "ExamplePolicy",
|
|
55
|
+
* "UserName": "Juan"
|
|
56
|
+
* };
|
|
57
|
+
* const command = new DeleteUserPolicyCommand(input);
|
|
58
|
+
* await client.send(command);
|
|
59
|
+
* // example id: 34f07ddc-9bc1-4f52-bc59-cd0a3ccd06c8
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
37
62
|
*/
|
|
38
63
|
export declare class DeleteUserPolicyCommand extends $Command<DeleteUserPolicyCommandInput, DeleteUserPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
39
64
|
readonly input: DeleteUserPolicyCommandInput;
|
|
@@ -33,6 +33,34 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DeleteVirtualMFADeviceCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link DeleteConflictException} (client fault)
|
|
37
|
+
* <p>The request was rejected because it attempted to delete a resource that has attached
|
|
38
|
+
* subordinate entities. The error message describes these entities.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
42
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
46
|
+
* error message describes the resource.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
49
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
50
|
+
* failure.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
53
|
+
* @example To remove a virtual MFA device
|
|
54
|
+
* ```javascript
|
|
55
|
+
* // The following delete-virtual-mfa-device command removes the specified MFA device from the current AWS account.
|
|
56
|
+
* const input = {
|
|
57
|
+
* "SerialNumber": "arn:aws:iam::123456789012:mfa/ExampleName"
|
|
58
|
+
* };
|
|
59
|
+
* const command = new DeleteVirtualMFADeviceCommand(input);
|
|
60
|
+
* await client.send(command);
|
|
61
|
+
* // example id: 2933b08b-dbe7-4b89-b8c1-fdf75feea1ee
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
36
64
|
*/
|
|
37
65
|
export declare class DeleteVirtualMFADeviceCommand extends $Command<DeleteVirtualMFADeviceCommandInput, DeleteVirtualMFADeviceCommandOutput, IAMClientResolvedConfig> {
|
|
38
66
|
readonly input: DeleteVirtualMFADeviceCommandInput;
|
|
@@ -33,6 +33,23 @@ export interface DetachGroupPolicyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DetachGroupPolicyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
42
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
46
|
+
* error message describes the resource.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
49
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
50
|
+
* failure.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
36
53
|
*/
|
|
37
54
|
export declare class DetachGroupPolicyCommand extends $Command<DetachGroupPolicyCommandInput, DetachGroupPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
38
55
|
readonly input: DetachGroupPolicyCommandInput;
|
|
@@ -33,6 +33,29 @@ export interface DetachRolePolicyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DetachRolePolicyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
42
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
46
|
+
* error message describes the resource.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
49
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
50
|
+
* failure.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link UnmodifiableEntityException} (client fault)
|
|
53
|
+
* <p>The request was rejected because only the service that depends on the service-linked role
|
|
54
|
+
* can modify or delete the role on your behalf. The error message includes the name of the
|
|
55
|
+
* service that depends on this service-linked role. You must request the change through that
|
|
56
|
+
* service.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
36
59
|
*/
|
|
37
60
|
export declare class DetachRolePolicyCommand extends $Command<DetachRolePolicyCommandInput, DetachRolePolicyCommandOutput, IAMClientResolvedConfig> {
|
|
38
61
|
readonly input: DetachRolePolicyCommandInput;
|
|
@@ -33,6 +33,23 @@ export interface DetachUserPolicyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* @see {@link DetachUserPolicyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
37
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
38
|
+
* input parameter.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
41
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
42
|
+
* account limits. The error message describes the limit exceeded.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
45
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
46
|
+
* error message describes the resource.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
49
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
50
|
+
* failure.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
36
53
|
*/
|
|
37
54
|
export declare class DetachUserPolicyCommand extends $Command<DetachUserPolicyCommandInput, DetachUserPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
38
55
|
readonly input: DetachUserPolicyCommandInput;
|
|
@@ -31,6 +31,33 @@ export interface EnableMFADeviceCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* @see {@link EnableMFADeviceCommandOutput} 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 EntityTemporarilyUnmodifiableException} (client fault)
|
|
39
|
+
* <p>The request was rejected because it referenced an entity that is temporarily unmodifiable,
|
|
40
|
+
* such as a user name that was deleted and then recreated. The error indicates that the request
|
|
41
|
+
* is likely to succeed if you try again after waiting several minutes. The error message
|
|
42
|
+
* describes the entity.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidAuthenticationCodeException} (client fault)
|
|
45
|
+
* <p>The request was rejected because the authentication code was not recognized. The error
|
|
46
|
+
* message describes the specific error.</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
|
+
*
|
|
34
61
|
*/
|
|
35
62
|
export declare class EnableMFADeviceCommand extends $Command<EnableMFADeviceCommandInput, EnableMFADeviceCommandOutput, IAMClientResolvedConfig> {
|
|
36
63
|
readonly input: EnableMFADeviceCommandInput;
|
|
@@ -31,6 +31,15 @@ export interface GenerateCredentialReportCommandOutput extends GenerateCredentia
|
|
|
31
31
|
* @see {@link GenerateCredentialReportCommandOutput} 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 ServiceFailureException} (server fault)
|
|
39
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
40
|
+
* failure.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
34
43
|
*/
|
|
35
44
|
export declare class GenerateCredentialReportCommand extends $Command<GenerateCredentialReportCommandInput, GenerateCredentialReportCommandOutput, IAMClientResolvedConfig> {
|
|
36
45
|
readonly input: GenerateCredentialReportCommandInput;
|
|
@@ -160,6 +160,27 @@ export interface GenerateOrganizationsAccessReportCommandOutput extends Generate
|
|
|
160
160
|
* @see {@link GenerateOrganizationsAccessReportCommandOutput} for command's `response` shape.
|
|
161
161
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
162
162
|
*
|
|
163
|
+
* @throws {@link ReportGenerationLimitExceededException} (client fault)
|
|
164
|
+
* <p>The request failed because the maximum number of concurrent requests for this account are
|
|
165
|
+
* already running.</p>
|
|
166
|
+
*
|
|
167
|
+
*
|
|
168
|
+
* @example To generate a service last accessed data report for an organizational unit
|
|
169
|
+
* ```javascript
|
|
170
|
+
* // The following operation generates a report for the organizational unit ou-rge0-awexample
|
|
171
|
+
* const input = {
|
|
172
|
+
* "EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example"
|
|
173
|
+
* };
|
|
174
|
+
* const command = new GenerateOrganizationsAccessReportCommand(input);
|
|
175
|
+
* const response = await client.send(command);
|
|
176
|
+
* /* response ==
|
|
177
|
+
* {
|
|
178
|
+
* "JobId": "examplea-1234-b567-cde8-90fg123abcd4"
|
|
179
|
+
* }
|
|
180
|
+
* *\/
|
|
181
|
+
* // example id: generateorganizationsaccessreport-ou
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
163
184
|
*/
|
|
164
185
|
export declare class GenerateOrganizationsAccessReportCommand extends $Command<GenerateOrganizationsAccessReportCommandInput, GenerateOrganizationsAccessReportCommandOutput, IAMClientResolvedConfig> {
|
|
165
186
|
readonly input: GenerateOrganizationsAccessReportCommandInput;
|
|
@@ -82,6 +82,31 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
|
|
|
82
82
|
* @see {@link GenerateServiceLastAccessedDetailsCommandOutput} for command's `response` shape.
|
|
83
83
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
84
84
|
*
|
|
85
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
86
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
87
|
+
* input parameter.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
90
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
91
|
+
* error message describes the resource.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @example To generate a service last accessed data report for a policy
|
|
95
|
+
* ```javascript
|
|
96
|
+
* // The following operation generates a report for the policy: ExamplePolicy1
|
|
97
|
+
* const input = {
|
|
98
|
+
* "Arn": "arn:aws:iam::123456789012:policy/ExamplePolicy1"
|
|
99
|
+
* };
|
|
100
|
+
* const command = new GenerateServiceLastAccessedDetailsCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response ==
|
|
103
|
+
* {
|
|
104
|
+
* "JobId": "examplef-1305-c245-eba4-71fe298bcda7"
|
|
105
|
+
* }
|
|
106
|
+
* *\/
|
|
107
|
+
* // example id: generateaccessdata-policy-1541695178514
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
85
110
|
*/
|
|
86
111
|
export declare class GenerateServiceLastAccessedDetailsCommand extends $Command<GenerateServiceLastAccessedDetailsCommandInput, GenerateServiceLastAccessedDetailsCommandOutput, IAMClientResolvedConfig> {
|
|
87
112
|
readonly input: GenerateServiceLastAccessedDetailsCommandInput;
|
|
@@ -31,6 +31,11 @@ export interface GetAccessKeyLastUsedCommandOutput extends GetAccessKeyLastUsedR
|
|
|
31
31
|
* @see {@link GetAccessKeyLastUsedCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
35
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
36
|
+
* error message describes the resource.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
34
39
|
*/
|
|
35
40
|
export declare class GetAccessKeyLastUsedCommand extends $Command<GetAccessKeyLastUsedCommandInput, GetAccessKeyLastUsedCommandOutput, IAMClientResolvedConfig> {
|
|
36
41
|
readonly input: GetAccessKeyLastUsedCommandInput;
|
|
@@ -42,6 +42,11 @@ export interface GetAccountAuthorizationDetailsCommandOutput extends GetAccountA
|
|
|
42
42
|
* @see {@link GetAccountAuthorizationDetailsCommandOutput} for command's `response` shape.
|
|
43
43
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
44
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
|
+
*
|
|
45
50
|
*/
|
|
46
51
|
export declare class GetAccountAuthorizationDetailsCommand extends $Command<GetAccountAuthorizationDetailsCommandInput, GetAccountAuthorizationDetailsCommandOutput, IAMClientResolvedConfig> {
|
|
47
52
|
readonly input: GetAccountAuthorizationDetailsCommandInput;
|
|
@@ -32,6 +32,40 @@ export interface GetAccountPasswordPolicyCommandOutput extends GetAccountPasswor
|
|
|
32
32
|
* @see {@link GetAccountPasswordPolicyCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
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 see the current account password policy
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // The following command displays details about the password policy for the current AWS account.
|
|
47
|
+
* const input = undefined;
|
|
48
|
+
* const command = new GetAccountPasswordPolicyCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "PasswordPolicy": {
|
|
53
|
+
* "AllowUsersToChangePassword": false,
|
|
54
|
+
* "ExpirePasswords": false,
|
|
55
|
+
* "HardExpiry": false,
|
|
56
|
+
* "MaxPasswordAge": 90,
|
|
57
|
+
* "MinimumPasswordLength": 8,
|
|
58
|
+
* "PasswordReusePrevention": 12,
|
|
59
|
+
* "RequireLowercaseCharacters": false,
|
|
60
|
+
* "RequireNumbers": true,
|
|
61
|
+
* "RequireSymbols": true,
|
|
62
|
+
* "RequireUppercaseCharacters": false
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
* *\/
|
|
66
|
+
* // example id: 5e4598c7-c425-431f-8af1-19073b3c4a5f
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
35
69
|
*/
|
|
36
70
|
export declare class GetAccountPasswordPolicyCommand extends $Command<GetAccountPasswordPolicyCommandInput, GetAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
37
71
|
readonly input: GetAccountPasswordPolicyCommandInput;
|
|
@@ -32,6 +32,52 @@ export interface GetAccountSummaryCommandOutput extends GetAccountSummaryRespons
|
|
|
32
32
|
* @see {@link GetAccountSummaryCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
36
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
37
|
+
* failure.</p>
|
|
38
|
+
*
|
|
39
|
+
*
|
|
40
|
+
* @example To get information about IAM entity quotas and usage in the current account
|
|
41
|
+
* ```javascript
|
|
42
|
+
* // The following command returns information about the IAM entity quotas and usage in the current AWS account.
|
|
43
|
+
* const input = undefined;
|
|
44
|
+
* const command = new GetAccountSummaryCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* /* response ==
|
|
47
|
+
* {
|
|
48
|
+
* "SummaryMap": {
|
|
49
|
+
* "AccessKeysPerUserQuota": 2,
|
|
50
|
+
* "AccountAccessKeysPresent": 1,
|
|
51
|
+
* "AccountMFAEnabled": 0,
|
|
52
|
+
* "AccountSigningCertificatesPresent": 0,
|
|
53
|
+
* "AttachedPoliciesPerGroupQuota": 10,
|
|
54
|
+
* "AttachedPoliciesPerRoleQuota": 10,
|
|
55
|
+
* "AttachedPoliciesPerUserQuota": 10,
|
|
56
|
+
* "GlobalEndpointTokenVersion": 2,
|
|
57
|
+
* "GroupPolicySizeQuota": 5120,
|
|
58
|
+
* "Groups": 15,
|
|
59
|
+
* "GroupsPerUserQuota": 10,
|
|
60
|
+
* "GroupsQuota": 100,
|
|
61
|
+
* "MFADevices": 6,
|
|
62
|
+
* "MFADevicesInUse": 3,
|
|
63
|
+
* "Policies": 8,
|
|
64
|
+
* "PoliciesQuota": 1000,
|
|
65
|
+
* "PolicySizeQuota": 5120,
|
|
66
|
+
* "PolicyVersionsInUse": 22,
|
|
67
|
+
* "PolicyVersionsInUseQuota": 10000,
|
|
68
|
+
* "ServerCertificates": 1,
|
|
69
|
+
* "ServerCertificatesQuota": 20,
|
|
70
|
+
* "SigningCertificatesPerUserQuota": 2,
|
|
71
|
+
* "UserPolicySizeQuota": 2048,
|
|
72
|
+
* "Users": 27,
|
|
73
|
+
* "UsersQuota": 5000,
|
|
74
|
+
* "VersionsPerPolicyQuota": 5
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
77
|
+
* *\/
|
|
78
|
+
* // example id: 9d8447af-f344-45de-8219-2cebc3cce7f2
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
35
81
|
*/
|
|
36
82
|
export declare class GetAccountSummaryCommand extends $Command<GetAccountSummaryCommandInput, GetAccountSummaryCommandOutput, IAMClientResolvedConfig> {
|
|
37
83
|
readonly input: GetAccountSummaryCommandInput;
|
|
@@ -38,6 +38,11 @@ export interface GetContextKeysForCustomPolicyCommandOutput extends GetContextKe
|
|
|
38
38
|
* @see {@link GetContextKeysForCustomPolicyCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
40
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
|
+
*
|
|
41
46
|
*/
|
|
42
47
|
export declare class GetContextKeysForCustomPolicyCommand extends $Command<GetContextKeysForCustomPolicyCommandInput, GetContextKeysForCustomPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
43
48
|
readonly input: GetContextKeysForCustomPolicyCommandInput;
|
|
@@ -42,6 +42,15 @@ export interface GetContextKeysForPrincipalPolicyCommandOutput extends GetContex
|
|
|
42
42
|
* @see {@link GetContextKeysForPrincipalPolicyCommandOutput} for command's `response` shape.
|
|
43
43
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
44
44
|
*
|
|
45
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
46
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
47
|
+
* input parameter.</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
|
+
*
|
|
45
54
|
*/
|
|
46
55
|
export declare class GetContextKeysForPrincipalPolicyCommand extends $Command<GetContextKeysForPrincipalPolicyCommandInput, GetContextKeysForPrincipalPolicyCommandOutput, IAMClientResolvedConfig> {
|
|
47
56
|
readonly input: GetContextKeysForPrincipalPolicyCommandInput;
|
|
@@ -31,6 +31,24 @@ export interface GetCredentialReportCommandOutput extends GetCredentialReportRes
|
|
|
31
31
|
* @see {@link GetCredentialReportCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link CredentialReportExpiredException} (client fault)
|
|
35
|
+
* <p>The request was rejected because the most recent credential report has expired. To
|
|
36
|
+
* generate a new credential report, use <a>GenerateCredentialReport</a>. For more
|
|
37
|
+
* information about credential report expiration, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in the
|
|
38
|
+
* <i>IAM User Guide</i>.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link CredentialReportNotPresentException} (client fault)
|
|
41
|
+
* <p>The request was rejected because the credential report does not exist. To generate a
|
|
42
|
+
* credential report, use <a>GenerateCredentialReport</a>.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link CredentialReportNotReadyException} (client fault)
|
|
45
|
+
* <p>The request was rejected because the credential report is still being generated.</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
|
+
*
|
|
34
52
|
*/
|
|
35
53
|
export declare class GetCredentialReportCommand extends $Command<GetCredentialReportCommandInput, GetCredentialReportCommandOutput, IAMClientResolvedConfig> {
|
|
36
54
|
readonly input: GetCredentialReportCommandInput;
|
|
@@ -30,6 +30,15 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
|
|
|
30
30
|
* @see {@link GetGroupCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
34
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
35
|
+
* error message describes the resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
38
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
39
|
+
* failure.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
33
42
|
*/
|
|
34
43
|
export declare class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, IAMClientResolvedConfig> {
|
|
35
44
|
readonly input: GetGroupCommandInput;
|