@aws-sdk/client-iam 3.325.0 → 3.327.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.
Files changed (159) hide show
  1. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +4 -0
  2. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +4 -0
  3. package/dist-types/commands/AddUserToGroupCommand.d.ts +4 -0
  4. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +4 -0
  5. package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -0
  6. package/dist-types/commands/AttachUserPolicyCommand.d.ts +4 -0
  7. package/dist-types/commands/ChangePasswordCommand.d.ts +4 -0
  8. package/dist-types/commands/CreateAccessKeyCommand.d.ts +12 -0
  9. package/dist-types/commands/CreateAccountAliasCommand.d.ts +4 -0
  10. package/dist-types/commands/CreateGroupCommand.d.ts +12 -0
  11. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +44 -0
  12. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -0
  13. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +12 -0
  14. package/dist-types/commands/CreatePolicyCommand.d.ts +24 -0
  15. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +11 -0
  16. package/dist-types/commands/CreateRoleCommand.d.ts +29 -0
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +12 -0
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +29 -0
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +14 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +23 -0
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +35 -0
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +4 -0
  30. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +4 -0
  31. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRoleCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +4 -0
  36. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
  37. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +6 -0
  40. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  43. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +4 -0
  46. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +4 -0
  47. package/dist-types/commands/DetachRolePolicyCommand.d.ts +4 -0
  48. package/dist-types/commands/DetachUserPolicyCommand.d.ts +4 -0
  49. package/dist-types/commands/EnableMFADeviceCommand.d.ts +4 -0
  50. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +7 -0
  51. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +6 -0
  52. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -0
  53. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +11 -0
  54. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +152 -0
  55. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +17 -0
  56. package/dist-types/commands/GetAccountSummaryCommand.d.ts +8 -0
  57. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +8 -0
  58. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +8 -0
  59. package/dist-types/commands/GetCredentialReportCommand.d.ts +8 -0
  60. package/dist-types/commands/GetGroupCommand.d.ts +34 -0
  61. package/dist-types/commands/GetGroupPolicyCommand.d.ts +8 -0
  62. package/dist-types/commands/GetInstanceProfileCommand.d.ts +44 -0
  63. package/dist-types/commands/GetLoginProfileCommand.d.ts +10 -0
  64. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +19 -0
  65. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -0
  66. package/dist-types/commands/GetPolicyCommand.d.ts +24 -0
  67. package/dist-types/commands/GetPolicyVersionCommand.d.ts +11 -0
  68. package/dist-types/commands/GetRoleCommand.d.ts +29 -0
  69. package/dist-types/commands/GetRolePolicyCommand.d.ts +8 -0
  70. package/dist-types/commands/GetSAMLProviderCommand.d.ts +14 -0
  71. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +13 -0
  72. package/dist-types/commands/GetServerCertificateCommand.d.ts +23 -0
  73. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +33 -0
  74. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +26 -0
  75. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +17 -0
  76. package/dist-types/commands/GetUserCommand.d.ts +23 -0
  77. package/dist-types/commands/GetUserPolicyCommand.d.ts +8 -0
  78. package/dist-types/commands/ListAccessKeysCommand.d.ts +15 -0
  79. package/dist-types/commands/ListAccountAliasesCommand.d.ts +10 -0
  80. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +13 -0
  81. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +13 -0
  82. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +13 -0
  83. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +25 -0
  84. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +10 -0
  85. package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
  86. package/dist-types/commands/ListGroupsForUserCommand.d.ts +16 -0
  87. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +13 -0
  88. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +48 -0
  89. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +48 -0
  90. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +13 -0
  91. package/dist-types/commands/ListMFADevicesCommand.d.ts +14 -0
  92. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +13 -0
  93. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +10 -0
  94. package/dist-types/commands/ListPoliciesCommand.d.ts +28 -0
  95. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -0
  96. package/dist-types/commands/ListPolicyTagsCommand.d.ts +13 -0
  97. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +15 -0
  98. package/dist-types/commands/ListRolePoliciesCommand.d.ts +10 -0
  99. package/dist-types/commands/ListRoleTagsCommand.d.ts +13 -0
  100. package/dist-types/commands/ListRolesCommand.d.ts +33 -0
  101. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +13 -0
  102. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +12 -0
  103. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +15 -0
  104. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +13 -0
  105. package/dist-types/commands/ListServerCertificatesCommand.d.ts +17 -0
  106. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +15 -0
  107. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +16 -0
  108. package/dist-types/commands/ListUserPoliciesCommand.d.ts +10 -0
  109. package/dist-types/commands/ListUserTagsCommand.d.ts +13 -0
  110. package/dist-types/commands/ListUsersCommand.d.ts +27 -0
  111. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +39 -0
  112. package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -0
  113. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +4 -0
  114. package/dist-types/commands/PutRolePolicyCommand.d.ts +4 -0
  115. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +4 -0
  116. package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -0
  117. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +4 -0
  118. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +4 -0
  119. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +4 -0
  120. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +14 -0
  121. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +4 -0
  122. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
  123. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +4 -0
  124. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +69 -0
  125. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +69 -0
  126. package/dist-types/commands/TagInstanceProfileCommand.d.ts +4 -0
  127. package/dist-types/commands/TagMFADeviceCommand.d.ts +4 -0
  128. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +4 -0
  129. package/dist-types/commands/TagPolicyCommand.d.ts +4 -0
  130. package/dist-types/commands/TagRoleCommand.d.ts +4 -0
  131. package/dist-types/commands/TagSAMLProviderCommand.d.ts +4 -0
  132. package/dist-types/commands/TagServerCertificateCommand.d.ts +4 -0
  133. package/dist-types/commands/TagUserCommand.d.ts +4 -0
  134. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +4 -0
  135. package/dist-types/commands/UntagMFADeviceCommand.d.ts +4 -0
  136. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +4 -0
  137. package/dist-types/commands/UntagPolicyCommand.d.ts +4 -0
  138. package/dist-types/commands/UntagRoleCommand.d.ts +4 -0
  139. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +4 -0
  140. package/dist-types/commands/UntagServerCertificateCommand.d.ts +4 -0
  141. package/dist-types/commands/UntagUserCommand.d.ts +4 -0
  142. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +4 -0
  143. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +4 -0
  144. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +4 -0
  145. package/dist-types/commands/UpdateGroupCommand.d.ts +4 -0
  146. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +4 -0
  147. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +4 -0
  148. package/dist-types/commands/UpdateRoleCommand.d.ts +4 -0
  149. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +29 -0
  150. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +6 -0
  151. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +4 -0
  152. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +4 -0
  153. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +4 -0
  154. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +4 -0
  155. package/dist-types/commands/UpdateUserCommand.d.ts +4 -0
  156. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +13 -0
  157. package/dist-types/commands/UploadServerCertificateCommand.d.ts +19 -0
  158. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +12 -0
  159. package/package.json +7 -7
@@ -28,6 +28,8 @@ export interface DeleteAccountPasswordPolicyCommandOutput extends __MetadataBear
28
28
  * const input = {};
29
29
  * const command = new DeleteAccountPasswordPolicyCommand(input);
30
30
  * const response = await client.send(command);
31
+ * // {};
32
+ *
31
33
  * ```
32
34
  *
33
35
  * @param DeleteAccountPasswordPolicyCommandInput - {@link DeleteAccountPasswordPolicyCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteAccountPasswordPolicyCommandOutput extends __MetadataBear
48
50
  * <p>The request processing has failed because of an unknown error, exception or
49
51
  * failure.</p>
50
52
  *
53
+ * @throws {@link IAMServiceException}
54
+ * <p>Base exception class for all service exceptions from IAM service.</p>
51
55
  *
52
56
  * @example To delete the current account password policy
53
57
  * ```javascript
@@ -32,6 +32,8 @@ export interface DeleteGroupCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DeleteGroupCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteGroupCommandInput - {@link DeleteGroupCommandInput}
@@ -56,6 +58,8 @@ export interface DeleteGroupCommandOutput extends __MetadataBearer {
56
58
  * <p>The request processing has failed because of an unknown error, exception or
57
59
  * failure.</p>
58
60
  *
61
+ * @throws {@link IAMServiceException}
62
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
63
  *
60
64
  */
61
65
  export declare class DeleteGroupCommand extends $Command<DeleteGroupCommandInput, DeleteGroupCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface DeleteGroupPolicyCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new DeleteGroupPolicyCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param DeleteGroupPolicyCommandInput - {@link DeleteGroupPolicyCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteGroupPolicyCommandOutput extends __MetadataBearer {
57
59
  * <p>The request processing has failed because of an unknown error, exception or
58
60
  * failure.</p>
59
61
  *
62
+ * @throws {@link IAMServiceException}
63
+ * <p>Base exception class for all service exceptions from IAM service.</p>
60
64
  *
61
65
  * @example To delete a policy from an IAM group
62
66
  * ```javascript
@@ -40,6 +40,8 @@ export interface DeleteInstanceProfileCommandOutput extends __MetadataBearer {
40
40
  * };
41
41
  * const command = new DeleteInstanceProfileCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param DeleteInstanceProfileCommandInput - {@link DeleteInstanceProfileCommandInput}
@@ -64,6 +66,8 @@ export interface DeleteInstanceProfileCommandOutput extends __MetadataBearer {
64
66
  * <p>The request processing has failed because of an unknown error, exception or
65
67
  * failure.</p>
66
68
  *
69
+ * @throws {@link IAMServiceException}
70
+ * <p>Base exception class for all service exceptions from IAM service.</p>
67
71
  *
68
72
  * @example To delete an instance profile
69
73
  * ```javascript
@@ -43,6 +43,8 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
43
43
  * };
44
44
  * const command = new DeleteLoginProfileCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param DeleteLoginProfileCommandInput - {@link DeleteLoginProfileCommandInput}
@@ -69,6 +71,8 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
69
71
  * <p>The request processing has failed because of an unknown error, exception or
70
72
  * failure.</p>
71
73
  *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
72
76
  *
73
77
  * @example To delete a password for an IAM user
74
78
  * ```javascript
@@ -36,6 +36,8 @@ export interface DeleteOpenIDConnectProviderCommandOutput extends __MetadataBear
36
36
  * };
37
37
  * const command = new DeleteOpenIDConnectProviderCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteOpenIDConnectProviderCommandInput - {@link DeleteOpenIDConnectProviderCommandInput}
@@ -56,6 +58,8 @@ export interface DeleteOpenIDConnectProviderCommandOutput extends __MetadataBear
56
58
  * <p>The request processing has failed because of an unknown error, exception or
57
59
  * failure.</p>
58
60
  *
61
+ * @throws {@link IAMServiceException}
62
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
63
  *
60
64
  */
61
65
  export declare class DeleteOpenIDConnectProviderCommand extends $Command<DeleteOpenIDConnectProviderCommandInput, DeleteOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig> {
@@ -55,6 +55,8 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
55
55
  * };
56
56
  * const command = new DeletePolicyCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // {};
59
+ *
58
60
  * ```
59
61
  *
60
62
  * @param DeletePolicyCommandInput - {@link DeletePolicyCommandInput}
@@ -83,6 +85,8 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
83
85
  * <p>The request processing has failed because of an unknown error, exception or
84
86
  * failure.</p>
85
87
  *
88
+ * @throws {@link IAMServiceException}
89
+ * <p>Base exception class for all service exceptions from IAM service.</p>
86
90
  *
87
91
  */
88
92
  export declare class DeletePolicyCommand extends $Command<DeletePolicyCommandInput, DeletePolicyCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface DeletePolicyVersionCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new DeletePolicyVersionCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param DeletePolicyVersionCommandInput - {@link DeletePolicyVersionCommandInput}
@@ -65,6 +67,8 @@ export interface DeletePolicyVersionCommandOutput extends __MetadataBearer {
65
67
  * <p>The request processing has failed because of an unknown error, exception or
66
68
  * failure.</p>
67
69
  *
70
+ * @throws {@link IAMServiceException}
71
+ * <p>Base exception class for all service exceptions from IAM service.</p>
68
72
  *
69
73
  */
70
74
  export declare class DeletePolicyVersionCommand extends $Command<DeletePolicyVersionCommandInput, DeletePolicyVersionCommandOutput, IAMClientResolvedConfig> {
@@ -54,6 +54,8 @@ export interface DeleteRoleCommandOutput extends __MetadataBearer {
54
54
  * };
55
55
  * const command = new DeleteRoleCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // {};
58
+ *
57
59
  * ```
58
60
  *
59
61
  * @param DeleteRoleCommandInput - {@link DeleteRoleCommandInput}
@@ -88,6 +90,8 @@ export interface DeleteRoleCommandOutput extends __MetadataBearer {
88
90
  * behalf. The error message includes the name of the service that depends on this service-linked
89
91
  * role. You must request the change through that service.</p>
90
92
  *
93
+ * @throws {@link IAMServiceException}
94
+ * <p>Base exception class for all service exceptions from IAM service.</p>
91
95
  *
92
96
  * @example To delete an IAM role
93
97
  * ```javascript
@@ -37,6 +37,8 @@ export interface DeleteRolePermissionsBoundaryCommandOutput extends __MetadataBe
37
37
  * };
38
38
  * const command = new DeleteRolePermissionsBoundaryCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param DeleteRolePermissionsBoundaryCommandInput - {@link DeleteRolePermissionsBoundaryCommandInput}
@@ -59,6 +61,8 @@ export interface DeleteRolePermissionsBoundaryCommandOutput extends __MetadataBe
59
61
  * behalf. The error message includes the name of the service that depends on this service-linked
60
62
  * role. You must request the change through that service.</p>
61
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
62
66
  *
63
67
  */
64
68
  export declare class DeleteRolePermissionsBoundaryCommand extends $Command<DeleteRolePermissionsBoundaryCommandInput, DeleteRolePermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface DeleteRolePolicyCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new DeleteRolePolicyCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param DeleteRolePolicyCommandInput - {@link DeleteRolePolicyCommandInput}
@@ -63,6 +65,8 @@ export interface DeleteRolePolicyCommandOutput extends __MetadataBearer {
63
65
  * behalf. The error message includes the name of the service that depends on this service-linked
64
66
  * role. You must request the change through that service.</p>
65
67
  *
68
+ * @throws {@link IAMServiceException}
69
+ * <p>Base exception class for all service exceptions from IAM service.</p>
66
70
  *
67
71
  * @example To remove a policy from an IAM role
68
72
  * ```javascript
@@ -37,6 +37,8 @@ export interface DeleteSAMLProviderCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new DeleteSAMLProviderCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param DeleteSAMLProviderCommandInput - {@link DeleteSAMLProviderCommandInput}
@@ -61,6 +63,8 @@ export interface DeleteSAMLProviderCommandOutput extends __MetadataBearer {
61
63
  * <p>The request processing has failed because of an unknown error, exception or
62
64
  * failure.</p>
63
65
  *
66
+ * @throws {@link IAMServiceException}
67
+ * <p>Base exception class for all service exceptions from IAM service.</p>
64
68
  *
65
69
  */
66
70
  export declare class DeleteSAMLProviderCommand extends $Command<DeleteSAMLProviderCommandInput, DeleteSAMLProviderCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeleteSSHPublicKeyCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new DeleteSSHPublicKeyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteSSHPublicKeyCommandInput - {@link DeleteSSHPublicKeyCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteSSHPublicKeyCommandOutput extends __MetadataBearer {
48
50
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
49
51
  * error message describes the resource.</p>
50
52
  *
53
+ * @throws {@link IAMServiceException}
54
+ * <p>Base exception class for all service exceptions from IAM service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteSSHPublicKeyCommand extends $Command<DeleteSSHPublicKeyCommandInput, DeleteSSHPublicKeyCommandOutput, IAMClientResolvedConfig> {
@@ -45,6 +45,8 @@ export interface DeleteServerCertificateCommandOutput extends __MetadataBearer {
45
45
  * };
46
46
  * const command = new DeleteServerCertificateCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // {};
49
+ *
48
50
  * ```
49
51
  *
50
52
  * @param DeleteServerCertificateCommandInput - {@link DeleteServerCertificateCommandInput}
@@ -69,6 +71,8 @@ export interface DeleteServerCertificateCommandOutput extends __MetadataBearer {
69
71
  * <p>The request processing has failed because of an unknown error, exception or
70
72
  * failure.</p>
71
73
  *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
72
76
  *
73
77
  */
74
78
  export declare class DeleteServerCertificateCommand extends $Command<DeleteServerCertificateCommandInput, DeleteServerCertificateCommandOutput, IAMClientResolvedConfig> {
@@ -47,6 +47,10 @@ export interface DeleteServiceLinkedRoleCommandOutput extends DeleteServiceLinke
47
47
  * };
48
48
  * const command = new DeleteServiceLinkedRoleCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // DeleteServiceLinkedRoleResponse
51
+ * // DeletionTaskId: "STRING_VALUE", // required
52
+ * // };
53
+ *
50
54
  * ```
51
55
  *
52
56
  * @param DeleteServiceLinkedRoleCommandInput - {@link DeleteServiceLinkedRoleCommandInput}
@@ -67,6 +71,8 @@ export interface DeleteServiceLinkedRoleCommandOutput extends DeleteServiceLinke
67
71
  * <p>The request processing has failed because of an unknown error, exception or
68
72
  * failure.</p>
69
73
  *
74
+ * @throws {@link IAMServiceException}
75
+ * <p>Base exception class for all service exceptions from IAM service.</p>
70
76
  *
71
77
  */
72
78
  export declare class DeleteServiceLinkedRoleCommand extends $Command<DeleteServiceLinkedRoleCommandInput, DeleteServiceLinkedRoleCommandOutput, IAMClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteServiceSpecificCredentialCommandOutput extends __Metadata
32
32
  * };
33
33
  * const command = new DeleteServiceSpecificCredentialCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteServiceSpecificCredentialCommandInput - {@link DeleteServiceSpecificCredentialCommandInput}
@@ -44,6 +46,8 @@ export interface DeleteServiceSpecificCredentialCommandOutput extends __Metadata
44
46
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
45
47
  * error message describes the resource.</p>
46
48
  *
49
+ * @throws {@link IAMServiceException}
50
+ * <p>Base exception class for all service exceptions from IAM service.</p>
47
51
  *
48
52
  */
49
53
  export declare class DeleteServiceSpecificCredentialCommand extends $Command<DeleteServiceSpecificCredentialCommandInput, DeleteServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
36
36
  * };
37
37
  * const command = new DeleteSigningCertificateCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteSigningCertificateCommandInput - {@link DeleteSigningCertificateCommandInput}
@@ -56,6 +58,8 @@ export interface DeleteSigningCertificateCommandOutput extends __MetadataBearer
56
58
  * <p>The request processing has failed because of an unknown error, exception or
57
59
  * failure.</p>
58
60
  *
61
+ * @throws {@link IAMServiceException}
62
+ * <p>Base exception class for all service exceptions from IAM service.</p>
59
63
  *
60
64
  * @example To delete a signing certificate for an IAM user
61
65
  * ```javascript
@@ -63,6 +63,8 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
63
63
  * };
64
64
  * const command = new DeleteUserCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // {};
67
+ *
66
68
  * ```
67
69
  *
68
70
  * @param DeleteUserCommandInput - {@link DeleteUserCommandInput}
@@ -91,6 +93,8 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
91
93
  * <p>The request processing has failed because of an unknown error, exception or
92
94
  * failure.</p>
93
95
  *
96
+ * @throws {@link IAMServiceException}
97
+ * <p>Base exception class for all service exceptions from IAM service.</p>
94
98
  *
95
99
  * @example To delete an IAM user
96
100
  * ```javascript
@@ -36,6 +36,8 @@ export interface DeleteUserPermissionsBoundaryCommandOutput extends __MetadataBe
36
36
  * };
37
37
  * const command = new DeleteUserPermissionsBoundaryCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteUserPermissionsBoundaryCommandInput - {@link DeleteUserPermissionsBoundaryCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteUserPermissionsBoundaryCommandOutput extends __MetadataBe
52
54
  * <p>The request processing has failed because of an unknown error, exception or
53
55
  * failure.</p>
54
56
  *
57
+ * @throws {@link IAMServiceException}
58
+ * <p>Base exception class for all service exceptions from IAM service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteUserPermissionsBoundaryCommand extends $Command<DeleteUserPermissionsBoundaryCommandInput, DeleteUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface DeleteUserPolicyCommandOutput extends __MetadataBearer {
37
37
  * };
38
38
  * const command = new DeleteUserPolicyCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param DeleteUserPolicyCommandInput - {@link DeleteUserPolicyCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteUserPolicyCommandOutput extends __MetadataBearer {
57
59
  * <p>The request processing has failed because of an unknown error, exception or
58
60
  * failure.</p>
59
61
  *
62
+ * @throws {@link IAMServiceException}
63
+ * <p>Base exception class for all service exceptions from IAM service.</p>
60
64
  *
61
65
  * @example To remove a policy from an IAM user
62
66
  * ```javascript
@@ -35,6 +35,8 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new DeleteVirtualMFADeviceCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteVirtualMFADeviceCommandInput - {@link DeleteVirtualMFADeviceCommandInput}
@@ -59,6 +61,8 @@ export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
59
61
  * <p>The request processing has failed because of an unknown error, exception or
60
62
  * failure.</p>
61
63
  *
64
+ * @throws {@link IAMServiceException}
65
+ * <p>Base exception class for all service exceptions from IAM service.</p>
62
66
  *
63
67
  * @example To remove a virtual MFA device
64
68
  * ```javascript
@@ -36,6 +36,8 @@ export interface DetachGroupPolicyCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new DetachGroupPolicyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DetachGroupPolicyCommandInput - {@link DetachGroupPolicyCommandInput}
@@ -60,6 +62,8 @@ export interface DetachGroupPolicyCommandOutput extends __MetadataBearer {
60
62
  * <p>The request processing has failed because of an unknown error, exception or
61
63
  * failure.</p>
62
64
  *
65
+ * @throws {@link IAMServiceException}
66
+ * <p>Base exception class for all service exceptions from IAM service.</p>
63
67
  *
64
68
  */
65
69
  export declare class DetachGroupPolicyCommand extends $Command<DetachGroupPolicyCommandInput, DetachGroupPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DetachRolePolicyCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new DetachRolePolicyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DetachRolePolicyCommandInput - {@link DetachRolePolicyCommandInput}
@@ -66,6 +68,8 @@ export interface DetachRolePolicyCommandOutput extends __MetadataBearer {
66
68
  * behalf. The error message includes the name of the service that depends on this service-linked
67
69
  * role. You must request the change through that service.</p>
68
70
  *
71
+ * @throws {@link IAMServiceException}
72
+ * <p>Base exception class for all service exceptions from IAM service.</p>
69
73
  *
70
74
  */
71
75
  export declare class DetachRolePolicyCommand extends $Command<DetachRolePolicyCommandInput, DetachRolePolicyCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DetachUserPolicyCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new DetachUserPolicyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DetachUserPolicyCommandInput - {@link DetachUserPolicyCommandInput}
@@ -60,6 +62,8 @@ export interface DetachUserPolicyCommandOutput extends __MetadataBearer {
60
62
  * <p>The request processing has failed because of an unknown error, exception or
61
63
  * failure.</p>
62
64
  *
65
+ * @throws {@link IAMServiceException}
66
+ * <p>Base exception class for all service exceptions from IAM service.</p>
63
67
  *
64
68
  */
65
69
  export declare class DetachUserPolicyCommand extends $Command<DetachUserPolicyCommandInput, DetachUserPolicyCommandOutput, IAMClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface EnableMFADeviceCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new EnableMFADeviceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param EnableMFADeviceCommandInput - {@link EnableMFADeviceCommandInput}
@@ -70,6 +72,8 @@ export interface EnableMFADeviceCommandOutput extends __MetadataBearer {
70
72
  * <p>The request processing has failed because of an unknown error, exception or
71
73
  * failure.</p>
72
74
  *
75
+ * @throws {@link IAMServiceException}
76
+ * <p>Base exception class for all service exceptions from IAM service.</p>
73
77
  *
74
78
  */
75
79
  export declare class EnableMFADeviceCommand extends $Command<EnableMFADeviceCommandInput, EnableMFADeviceCommandOutput, IAMClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface GenerateCredentialReportCommandOutput extends GenerateCredentia
31
31
  * const input = {};
32
32
  * const command = new GenerateCredentialReportCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GenerateCredentialReportResponse
35
+ * // State: "STARTED" || "INPROGRESS" || "COMPLETE",
36
+ * // Description: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param GenerateCredentialReportCommandInput - {@link GenerateCredentialReportCommandInput}
@@ -47,6 +52,8 @@ export interface GenerateCredentialReportCommandOutput extends GenerateCredentia
47
52
  * <p>The request processing has failed because of an unknown error, exception or
48
53
  * failure.</p>
49
54
  *
55
+ * @throws {@link IAMServiceException}
56
+ * <p>Base exception class for all service exceptions from IAM service.</p>
50
57
  *
51
58
  */
52
59
  export declare class GenerateCredentialReportCommand extends $Command<GenerateCredentialReportCommandInput, GenerateCredentialReportCommandOutput, IAMClientResolvedConfig> {
@@ -162,6 +162,10 @@ export interface GenerateOrganizationsAccessReportCommandOutput extends Generate
162
162
  * };
163
163
  * const command = new GenerateOrganizationsAccessReportCommand(input);
164
164
  * const response = await client.send(command);
165
+ * // { // GenerateOrganizationsAccessReportResponse
166
+ * // JobId: "STRING_VALUE",
167
+ * // };
168
+ *
165
169
  * ```
166
170
  *
167
171
  * @param GenerateOrganizationsAccessReportCommandInput - {@link GenerateOrganizationsAccessReportCommandInput}
@@ -174,6 +178,8 @@ export interface GenerateOrganizationsAccessReportCommandOutput extends Generate
174
178
  * <p>The request failed because the maximum number of concurrent requests for this account are
175
179
  * already running.</p>
176
180
  *
181
+ * @throws {@link IAMServiceException}
182
+ * <p>Base exception class for all service exceptions from IAM service.</p>
177
183
  *
178
184
  * @example To generate a service last accessed data report for an organizational unit
179
185
  * ```javascript
@@ -85,6 +85,10 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
85
85
  * };
86
86
  * const command = new GenerateServiceLastAccessedDetailsCommand(input);
87
87
  * const response = await client.send(command);
88
+ * // { // GenerateServiceLastAccessedDetailsResponse
89
+ * // JobId: "STRING_VALUE",
90
+ * // };
91
+ *
88
92
  * ```
89
93
  *
90
94
  * @param GenerateServiceLastAccessedDetailsCommandInput - {@link GenerateServiceLastAccessedDetailsCommandInput}
@@ -101,6 +105,8 @@ export interface GenerateServiceLastAccessedDetailsCommandOutput extends Generat
101
105
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
102
106
  * error message describes the resource.</p>
103
107
  *
108
+ * @throws {@link IAMServiceException}
109
+ * <p>Base exception class for all service exceptions from IAM service.</p>
104
110
  *
105
111
  * @example To generate a service last accessed data report for a policy
106
112
  * ```javascript
@@ -33,6 +33,15 @@ export interface GetAccessKeyLastUsedCommandOutput extends GetAccessKeyLastUsedR
33
33
  * };
34
34
  * const command = new GetAccessKeyLastUsedCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetAccessKeyLastUsedResponse
37
+ * // UserName: "STRING_VALUE",
38
+ * // AccessKeyLastUsed: { // AccessKeyLastUsed
39
+ * // LastUsedDate: new Date("TIMESTAMP"), // required
40
+ * // ServiceName: "STRING_VALUE", // required
41
+ * // Region: "STRING_VALUE", // required
42
+ * // },
43
+ * // };
44
+ *
36
45
  * ```
37
46
  *
38
47
  * @param GetAccessKeyLastUsedCommandInput - {@link GetAccessKeyLastUsedCommandInput}
@@ -45,6 +54,8 @@ export interface GetAccessKeyLastUsedCommandOutput extends GetAccessKeyLastUsedR
45
54
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
46
55
  * error message describes the resource.</p>
47
56
  *
57
+ * @throws {@link IAMServiceException}
58
+ * <p>Base exception class for all service exceptions from IAM service.</p>
48
59
  *
49
60
  */
50
61
  export declare class GetAccessKeyLastUsedCommand extends $Command<GetAccessKeyLastUsedCommandInput, GetAccessKeyLastUsedCommandOutput, IAMClientResolvedConfig> {