@aws-sdk/client-iam 3.50.0 → 3.53.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 (235) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/IAMServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +280 -6
  5. package/dist-cjs/models/models_1.js +80 -1
  6. package/dist-cjs/protocols/Aws_query.js +1225 -4769
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/IAMServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +254 -1
  10. package/dist-es/models/models_1.js +74 -1
  11. package/dist-es/protocols/Aws_query.js +2995 -5341
  12. package/dist-types/IAM.d.ts +35 -42
  13. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -4
  15. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -3
  17. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +6 -6
  18. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +3 -3
  19. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +3 -3
  20. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +1 -2
  21. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +6 -11
  23. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -2
  24. package/dist-types/commands/UploadServerCertificateCommand.d.ts +6 -4
  25. package/dist-types/index.d.ts +1 -0
  26. package/dist-types/models/IAMServiceException.d.ts +10 -0
  27. package/dist-types/models/models_0.d.ts +219 -140
  28. package/dist-types/models/models_1.d.ts +60 -29
  29. package/dist-types/ts3.4/IAM.d.ts +795 -0
  30. package/dist-types/ts3.4/IAMClient.d.ts +231 -0
  31. package/dist-types/ts3.4/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/CreateAccessKeyCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/DeleteAccountPasswordPolicyCommand.d.ts +16 -0
  56. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/GenerateCredentialReportCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/GetAccountAuthorizationDetailsCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/GetAccountPasswordPolicyCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetAccountSummaryCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/GetCredentialReportCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/GetRoleCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/GetSAMLProviderCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/ListAccessKeysCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/ListAccountAliasesCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/ListMFADevicesCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/ListOpenIDConnectProvidersCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/ListRolesCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/ListSAMLProvidersCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/ListSSHPublicKeysCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/ListServerCertificatesCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/ListServiceSpecificCredentialsCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/ListSigningCertificatesCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/ListVirtualMFADevicesCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/TagUserCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/index.d.ts +158 -0
  190. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  191. package/dist-types/ts3.4/index.d.ts +7 -0
  192. package/dist-types/ts3.4/models/IAMServiceException.d.ts +6 -0
  193. package/dist-types/ts3.4/models/index.d.ts +2 -0
  194. package/dist-types/ts3.4/models/models_0.d.ts +3413 -0
  195. package/dist-types/ts3.4/models/models_1.d.ts +357 -0
  196. package/dist-types/ts3.4/pagination/GetAccountAuthorizationDetailsPaginator.d.ts +4 -0
  197. package/dist-types/ts3.4/pagination/GetGroupPaginator.d.ts +4 -0
  198. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  199. package/dist-types/ts3.4/pagination/ListAccessKeysPaginator.d.ts +4 -0
  200. package/dist-types/ts3.4/pagination/ListAccountAliasesPaginator.d.ts +4 -0
  201. package/dist-types/ts3.4/pagination/ListAttachedGroupPoliciesPaginator.d.ts +4 -0
  202. package/dist-types/ts3.4/pagination/ListAttachedRolePoliciesPaginator.d.ts +4 -0
  203. package/dist-types/ts3.4/pagination/ListAttachedUserPoliciesPaginator.d.ts +4 -0
  204. package/dist-types/ts3.4/pagination/ListEntitiesForPolicyPaginator.d.ts +4 -0
  205. package/dist-types/ts3.4/pagination/ListGroupPoliciesPaginator.d.ts +4 -0
  206. package/dist-types/ts3.4/pagination/ListGroupsForUserPaginator.d.ts +4 -0
  207. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
  208. package/dist-types/ts3.4/pagination/ListInstanceProfilesForRolePaginator.d.ts +4 -0
  209. package/dist-types/ts3.4/pagination/ListInstanceProfilesPaginator.d.ts +4 -0
  210. package/dist-types/ts3.4/pagination/ListMFADevicesPaginator.d.ts +4 -0
  211. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +4 -0
  212. package/dist-types/ts3.4/pagination/ListPolicyVersionsPaginator.d.ts +4 -0
  213. package/dist-types/ts3.4/pagination/ListRolePoliciesPaginator.d.ts +4 -0
  214. package/dist-types/ts3.4/pagination/ListRolesPaginator.d.ts +4 -0
  215. package/dist-types/ts3.4/pagination/ListSSHPublicKeysPaginator.d.ts +4 -0
  216. package/dist-types/ts3.4/pagination/ListServerCertificatesPaginator.d.ts +4 -0
  217. package/dist-types/ts3.4/pagination/ListSigningCertificatesPaginator.d.ts +4 -0
  218. package/dist-types/ts3.4/pagination/ListUserPoliciesPaginator.d.ts +4 -0
  219. package/dist-types/ts3.4/pagination/ListUserTagsPaginator.d.ts +4 -0
  220. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +4 -0
  221. package/dist-types/ts3.4/pagination/ListVirtualMFADevicesPaginator.d.ts +4 -0
  222. package/dist-types/ts3.4/pagination/SimulateCustomPolicyPaginator.d.ts +4 -0
  223. package/dist-types/ts3.4/pagination/SimulatePrincipalPolicyPaginator.d.ts +4 -0
  224. package/dist-types/ts3.4/pagination/index.d.ts +28 -0
  225. package/dist-types/ts3.4/protocols/Aws_query.d.ts +476 -0
  226. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  227. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  228. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  229. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  230. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  231. package/dist-types/ts3.4/waiters/waitForInstanceProfileExists.d.ts +7 -0
  232. package/dist-types/ts3.4/waiters/waitForPolicyExists.d.ts +7 -0
  233. package/dist-types/ts3.4/waiters/waitForRoleExists.d.ts +7 -0
  234. package/dist-types/ts3.4/waiters/waitForUserExists.d.ts +7 -0
  235. package/package.json +34 -34
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { IAMServiceException as __BaseException } from "./IAMServiceException";
2
3
  export declare enum AccessAdvisorUsageGranularityType {
3
4
  ACTION_LEVEL = "ACTION_LEVEL",
4
5
  SERVICE_LEVEL = "SERVICE_LEVEL"
@@ -123,8 +124,8 @@ export interface AccessKeyLastUsed {
123
124
  */
124
125
  LastUsedDate: Date | undefined;
125
126
  /**
126
- * <p>The name of the Amazon Web Services service with which this access key was most recently used. The value
127
- * of this field is "N/A" in the following situations:</p>
127
+ * <p>The name of the Amazon Web Services service with which this access key was most recently used. The
128
+ * value of this field is "N/A" in the following situations:</p>
128
129
  * <ul>
129
130
  * <li>
130
131
  * <p>The user does not have an access key.</p>
@@ -140,8 +141,8 @@ export interface AccessKeyLastUsed {
140
141
  */
141
142
  ServiceName: string | undefined;
142
143
  /**
143
- * <p>The Amazon Web Services Region where this access key was most recently used. The value for this field is
144
- * "N/A" in the following situations:</p>
144
+ * <p>The Amazon Web Services Region where this access key was most recently used. The value for this field
145
+ * is "N/A" in the following situations:</p>
145
146
  * <ul>
146
147
  * <li>
147
148
  * <p>The user does not have an access key.</p>
@@ -217,37 +218,49 @@ export declare namespace AddClientIDToOpenIDConnectProviderRequest {
217
218
  * <p>The request was rejected because an invalid or out-of-range value was supplied for an
218
219
  * input parameter.</p>
219
220
  */
220
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
221
- name: "InvalidInputException";
222
- $fault: "client";
223
- message?: string;
221
+ export declare class InvalidInputException extends __BaseException {
222
+ readonly name: "InvalidInputException";
223
+ readonly $fault: "client";
224
+ /**
225
+ * @internal
226
+ */
227
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
224
228
  }
225
229
  /**
226
230
  * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
227
231
  * account limits. The error message describes the limit exceeded.</p>
228
232
  */
229
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
230
- name: "LimitExceededException";
231
- $fault: "client";
232
- message?: string;
233
+ export declare class LimitExceededException extends __BaseException {
234
+ readonly name: "LimitExceededException";
235
+ readonly $fault: "client";
236
+ /**
237
+ * @internal
238
+ */
239
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
233
240
  }
234
241
  /**
235
242
  * <p>The request was rejected because it referenced a resource entity that does not exist. The
236
243
  * error message describes the resource.</p>
237
244
  */
238
- export interface NoSuchEntityException extends __SmithyException, $MetadataBearer {
239
- name: "NoSuchEntityException";
240
- $fault: "client";
241
- message?: string;
245
+ export declare class NoSuchEntityException extends __BaseException {
246
+ readonly name: "NoSuchEntityException";
247
+ readonly $fault: "client";
248
+ /**
249
+ * @internal
250
+ */
251
+ constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
242
252
  }
243
253
  /**
244
254
  * <p>The request processing has failed because of an unknown error, exception or
245
255
  * failure.</p>
246
256
  */
247
- export interface ServiceFailureException extends __SmithyException, $MetadataBearer {
248
- name: "ServiceFailureException";
249
- $fault: "server";
250
- message?: string;
257
+ export declare class ServiceFailureException extends __BaseException {
258
+ readonly name: "ServiceFailureException";
259
+ readonly $fault: "server";
260
+ /**
261
+ * @internal
262
+ */
263
+ constructor(opts: __ExceptionOptionType<ServiceFailureException, __BaseException>);
251
264
  }
252
265
  export interface AddRoleToInstanceProfileRequest {
253
266
  /**
@@ -273,10 +286,13 @@ export declare namespace AddRoleToInstanceProfileRequest {
273
286
  * <p>The request was rejected because it attempted to create a resource that already
274
287
  * exists.</p>
275
288
  */
276
- export interface EntityAlreadyExistsException extends __SmithyException, $MetadataBearer {
277
- name: "EntityAlreadyExistsException";
278
- $fault: "client";
279
- message?: string;
289
+ export declare class EntityAlreadyExistsException extends __BaseException {
290
+ readonly name: "EntityAlreadyExistsException";
291
+ readonly $fault: "client";
292
+ /**
293
+ * @internal
294
+ */
295
+ constructor(opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>);
280
296
  }
281
297
  /**
282
298
  * <p>The request was rejected because only the service that depends on the service-linked role
@@ -284,10 +300,13 @@ export interface EntityAlreadyExistsException extends __SmithyException, $Metada
284
300
  * service that depends on this service-linked role. You must request the change through that
285
301
  * service.</p>
286
302
  */
287
- export interface UnmodifiableEntityException extends __SmithyException, $MetadataBearer {
288
- name: "UnmodifiableEntityException";
289
- $fault: "client";
290
- message?: string;
303
+ export declare class UnmodifiableEntityException extends __BaseException {
304
+ readonly name: "UnmodifiableEntityException";
305
+ readonly $fault: "client";
306
+ /**
307
+ * @internal
308
+ */
309
+ constructor(opts: __ExceptionOptionType<UnmodifiableEntityException, __BaseException>);
291
310
  }
292
311
  export interface AddUserToGroupRequest {
293
312
  /**
@@ -386,10 +405,13 @@ export declare namespace AttachGroupPolicyRequest {
386
405
  * <p>The request failed because Amazon Web Services service role policies can only be attached to the
387
406
  * service-linked role for that service.</p>
388
407
  */
389
- export interface PolicyNotAttachableException extends __SmithyException, $MetadataBearer {
390
- name: "PolicyNotAttachableException";
391
- $fault: "client";
392
- message?: string;
408
+ export declare class PolicyNotAttachableException extends __BaseException {
409
+ readonly name: "PolicyNotAttachableException";
410
+ readonly $fault: "client";
411
+ /**
412
+ * @internal
413
+ */
414
+ constructor(opts: __ExceptionOptionType<PolicyNotAttachableException, __BaseException>);
393
415
  }
394
416
  export interface AttachRolePolicyRequest {
395
417
  /**
@@ -459,28 +481,37 @@ export declare namespace ChangePasswordRequest {
459
481
  * is likely to succeed if you try again after waiting several minutes. The error message
460
482
  * describes the entity.</p>
461
483
  */
462
- export interface EntityTemporarilyUnmodifiableException extends __SmithyException, $MetadataBearer {
463
- name: "EntityTemporarilyUnmodifiableException";
464
- $fault: "client";
465
- message?: string;
484
+ export declare class EntityTemporarilyUnmodifiableException extends __BaseException {
485
+ readonly name: "EntityTemporarilyUnmodifiableException";
486
+ readonly $fault: "client";
487
+ /**
488
+ * @internal
489
+ */
490
+ constructor(opts: __ExceptionOptionType<EntityTemporarilyUnmodifiableException, __BaseException>);
466
491
  }
467
492
  /**
468
493
  * <p>The request was rejected because the type of user for the transaction was
469
494
  * incorrect.</p>
470
495
  */
471
- export interface InvalidUserTypeException extends __SmithyException, $MetadataBearer {
472
- name: "InvalidUserTypeException";
473
- $fault: "client";
474
- message?: string;
496
+ export declare class InvalidUserTypeException extends __BaseException {
497
+ readonly name: "InvalidUserTypeException";
498
+ readonly $fault: "client";
499
+ /**
500
+ * @internal
501
+ */
502
+ constructor(opts: __ExceptionOptionType<InvalidUserTypeException, __BaseException>);
475
503
  }
476
504
  /**
477
505
  * <p>The request was rejected because the provided password did not meet the requirements
478
506
  * imposed by the account password policy.</p>
479
507
  */
480
- export interface PasswordPolicyViolationException extends __SmithyException, $MetadataBearer {
481
- name: "PasswordPolicyViolationException";
482
- $fault: "client";
483
- message?: string;
508
+ export declare class PasswordPolicyViolationException extends __BaseException {
509
+ readonly name: "PasswordPolicyViolationException";
510
+ readonly $fault: "client";
511
+ /**
512
+ * @internal
513
+ */
514
+ constructor(opts: __ExceptionOptionType<PasswordPolicyViolationException, __BaseException>);
484
515
  }
485
516
  export interface CreateAccessKeyRequest {
486
517
  /**
@@ -626,10 +657,13 @@ export declare namespace CreateGroupResponse {
626
657
  * <p>The request was rejected because multiple requests to change this object were submitted
627
658
  * simultaneously. Wait a few minutes and submit your request again.</p>
628
659
  */
629
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
630
- name: "ConcurrentModificationException";
631
- $fault: "client";
632
- message?: string;
660
+ export declare class ConcurrentModificationException extends __BaseException {
661
+ readonly name: "ConcurrentModificationException";
662
+ readonly $fault: "client";
663
+ /**
664
+ * @internal
665
+ */
666
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
633
667
  }
634
668
  /**
635
669
  * <p>A structure that represents user-provided metadata that can be associated with an IAM
@@ -712,7 +746,8 @@ export interface RoleLastUsed {
712
746
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
713
747
  * format</a> that the role was last used.</p>
714
748
  * <p>This field is null if the role has not been used within the IAM tracking period. For
715
- * more information about the tracking period, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>. </p>
749
+ * more information about the tracking period, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>.
750
+ * </p>
716
751
  */
717
752
  LastUsedDate?: Date;
718
753
  /**
@@ -966,10 +1001,10 @@ export interface CreateOpenIDConnectProviderRequest {
966
1001
  */
967
1002
  Url: string | undefined;
968
1003
  /**
969
- * <p>Provides a list of client IDs, also known as audiences. When a mobile or web app registers
970
- * with an OpenID Connect provider, they establish a value that identifies the application.
971
- * This is the value that's sent as the <code>client_id</code> parameter on OAuth
972
- * requests.</p>
1004
+ * <p>Provides a list of client IDs, also known as audiences. When a mobile or web app
1005
+ * registers with an OpenID Connect provider, they establish a value that identifies the
1006
+ * application. This is the value that's sent as the <code>client_id</code> parameter on
1007
+ * OAuth requests.</p>
973
1008
  * <p>You can register multiple client IDs with the same provider. For example, you might
974
1009
  * have multiple applications that use the same OIDC provider. You cannot register more
975
1010
  * than 100 client IDs with a single IAM OIDC provider.</p>
@@ -1057,15 +1092,14 @@ export interface CreatePolicyRequest {
1057
1092
  * most punctuation characters, digits, and upper and lowercased letters.</p>
1058
1093
  * <note>
1059
1094
  * <p>You cannot use an asterisk (*) in the path name.</p>
1060
- * </note>
1095
+ * </note>
1061
1096
  */
1062
1097
  Path?: string;
1063
1098
  /**
1064
1099
  * <p>The JSON policy document that you want to use as the content for the new
1065
1100
  * policy.</p>
1066
- * <p>You must provide policies in JSON format in IAM. However, for CloudFormation
1101
+ * <p>You must provide policies in JSON format in IAM. However, for CloudFormation
1067
1102
  * templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
1068
- *
1069
1103
  * IAM.</p>
1070
1104
  * <p>The maximum length of the policy document that you can pass in this operation,
1071
1105
  * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
@@ -1214,10 +1248,13 @@ export declare namespace CreatePolicyResponse {
1214
1248
  * <p>The request was rejected because the policy document was malformed. The error message
1215
1249
  * describes the specific error.</p>
1216
1250
  */
1217
- export interface MalformedPolicyDocumentException extends __SmithyException, $MetadataBearer {
1218
- name: "MalformedPolicyDocumentException";
1219
- $fault: "client";
1220
- message?: string;
1251
+ export declare class MalformedPolicyDocumentException extends __BaseException {
1252
+ readonly name: "MalformedPolicyDocumentException";
1253
+ readonly $fault: "client";
1254
+ /**
1255
+ * @internal
1256
+ */
1257
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
1221
1258
  }
1222
1259
  export interface CreatePolicyVersionRequest {
1223
1260
  /**
@@ -1345,9 +1382,9 @@ export interface CreateRoleRequest {
1345
1382
  * <p>The trust relationship policy document that grants an entity permission to assume the
1346
1383
  * role.</p>
1347
1384
  * <p>In IAM, you must provide a JSON policy that has been converted to a string. However,
1348
- * for CloudFormation templates formatted in YAML, you can provide the policy in JSON
1349
- * or YAML format. CloudFormation always converts a YAML policy to JSON format before
1350
- * submitting it to IAM.</p>
1385
+ * for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML
1386
+ * format. CloudFormation always converts a YAML policy to JSON format before submitting it to
1387
+ * IAM.</p>
1351
1388
  * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
1352
1389
  * used to validate this parameter is a string of characters consisting of the following:</p>
1353
1390
  * <ul>
@@ -1375,16 +1412,15 @@ export interface CreateRoleRequest {
1375
1412
  * <p>The maximum session duration (in seconds) that you want to set for the specified role.
1376
1413
  * If you do not specify a value for this setting, the default maximum of one hour is
1377
1414
  * applied. This setting can have a value from 1 hour to 12 hours.</p>
1378
- * <p>Anyone who assumes the role from the or API can use the
1379
- * <code>DurationSeconds</code> API parameter or the <code>duration-seconds</code> CLI
1380
- * parameter to request a longer session. The <code>MaxSessionDuration</code> setting
1381
- * determines the maximum duration that can be requested using the
1382
- * <code>DurationSeconds</code> parameter. If users don't specify a value for the
1383
- * <code>DurationSeconds</code> parameter, their security credentials are valid for one
1384
- * hour by default. This applies when you use the <code>AssumeRole*</code> API operations
1385
- * or the <code>assume-role*</code> CLI operations but does not apply when you use those
1386
- * operations to create a console URL. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html">Using IAM
1387
- * roles</a> in the <i>IAM User Guide</i>.</p>
1415
+ * <p>Anyone who assumes the role from the or API can use the <code>DurationSeconds</code>
1416
+ * API parameter or the <code>duration-seconds</code> CLI parameter to request a longer
1417
+ * session. The <code>MaxSessionDuration</code> setting determines the maximum duration
1418
+ * that can be requested using the <code>DurationSeconds</code> parameter. If users don't
1419
+ * specify a value for the <code>DurationSeconds</code> parameter, their security
1420
+ * credentials are valid for one hour by default. This applies when you use the
1421
+ * <code>AssumeRole*</code> API operations or the <code>assume-role*</code> CLI
1422
+ * operations but does not apply when you use those operations to create a console URL. For
1423
+ * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html">Using IAM roles</a> in the <i>IAM User Guide</i>.</p>
1388
1424
  */
1389
1425
  MaxSessionDuration?: number;
1390
1426
  /**
@@ -1615,10 +1651,13 @@ export declare namespace CreateServiceSpecificCredentialResponse {
1615
1651
  /**
1616
1652
  * <p>The specified service does not support service-specific credentials.</p>
1617
1653
  */
1618
- export interface ServiceNotSupportedException extends __SmithyException, $MetadataBearer {
1619
- name: "ServiceNotSupportedException";
1620
- $fault: "client";
1621
- message?: string;
1654
+ export declare class ServiceNotSupportedException extends __BaseException {
1655
+ readonly name: "ServiceNotSupportedException";
1656
+ readonly $fault: "client";
1657
+ /**
1658
+ * @internal
1659
+ */
1660
+ constructor(opts: __ExceptionOptionType<ServiceNotSupportedException, __BaseException>);
1622
1661
  }
1623
1662
  export interface CreateUserRequest {
1624
1663
  /**
@@ -1711,8 +1750,8 @@ export interface User {
1711
1750
  CreateDate: Date | undefined;
1712
1751
  /**
1713
1752
  * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
1714
- * format</a>, when the user's password was last used to sign in to an Amazon Web Services website. For
1715
- * a list of Amazon Web Services websites that capture a user's last sign-in time, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Credential
1753
+ * format</a>, when the user's password was last used to sign in to an Amazon Web Services website.
1754
+ * For a list of Amazon Web Services websites that capture a user's last sign-in time, see the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Credential
1716
1755
  * reports</a> topic in the <i>IAM User Guide</i>. If a password is
1717
1756
  * used more than once in a five-minute span, only the first use is returned in this field. If
1718
1757
  * the field is null (no value), then it indicates that they never signed in with a password.
@@ -1918,10 +1957,13 @@ export declare namespace DeleteAccountAliasRequest {
1918
1957
  * <p>The request was rejected because it attempted to delete a resource that has attached
1919
1958
  * subordinate entities. The error message describes these entities.</p>
1920
1959
  */
1921
- export interface DeleteConflictException extends __SmithyException, $MetadataBearer {
1922
- name: "DeleteConflictException";
1923
- $fault: "client";
1924
- message?: string;
1960
+ export declare class DeleteConflictException extends __BaseException {
1961
+ readonly name: "DeleteConflictException";
1962
+ readonly $fault: "client";
1963
+ /**
1964
+ * @internal
1965
+ */
1966
+ constructor(opts: __ExceptionOptionType<DeleteConflictException, __BaseException>);
1925
1967
  }
1926
1968
  export interface DeleteGroupRequest {
1927
1969
  /**
@@ -2371,10 +2413,13 @@ export declare namespace EnableMFADeviceRequest {
2371
2413
  * <p>The request was rejected because the authentication code was not recognized. The error
2372
2414
  * message describes the specific error.</p>
2373
2415
  */
2374
- export interface InvalidAuthenticationCodeException extends __SmithyException, $MetadataBearer {
2375
- name: "InvalidAuthenticationCodeException";
2376
- $fault: "client";
2377
- message?: string;
2416
+ export declare class InvalidAuthenticationCodeException extends __BaseException {
2417
+ readonly name: "InvalidAuthenticationCodeException";
2418
+ readonly $fault: "client";
2419
+ /**
2420
+ * @internal
2421
+ */
2422
+ constructor(opts: __ExceptionOptionType<InvalidAuthenticationCodeException, __BaseException>);
2378
2423
  }
2379
2424
  export declare enum ReportStateType {
2380
2425
  COMPLETE = "COMPLETE",
@@ -2441,10 +2486,13 @@ export declare namespace GenerateOrganizationsAccessReportResponse {
2441
2486
  * <p>The request failed because the maximum number of concurrent requests for this account are
2442
2487
  * already running.</p>
2443
2488
  */
2444
- export interface ReportGenerationLimitExceededException extends __SmithyException, $MetadataBearer {
2445
- name: "ReportGenerationLimitExceededException";
2446
- $fault: "client";
2447
- message?: string;
2489
+ export declare class ReportGenerationLimitExceededException extends __BaseException {
2490
+ readonly name: "ReportGenerationLimitExceededException";
2491
+ readonly $fault: "client";
2492
+ /**
2493
+ * @internal
2494
+ */
2495
+ constructor(opts: __ExceptionOptionType<ReportGenerationLimitExceededException, __BaseException>);
2448
2496
  }
2449
2497
  export interface GenerateServiceLastAccessedDetailsRequest {
2450
2498
  /**
@@ -2899,24 +2947,32 @@ export interface PasswordPolicy {
2899
2947
  */
2900
2948
  MinimumPasswordLength?: number;
2901
2949
  /**
2902
- * <p>Specifies whether IAM user passwords must contain at least one of the following symbols:</p>
2950
+ * <p>Specifies whether IAM user passwords must contain at least one of the following
2951
+ * symbols:</p>
2903
2952
  * <p>! @ # $ % ^ & * ( ) _ + - = [ ] { } | '</p>
2904
2953
  */
2905
2954
  RequireSymbols?: boolean;
2906
2955
  /**
2907
- * <p>Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).</p>
2956
+ * <p>Specifies whether IAM user passwords must contain at least one numeric character (0 to
2957
+ * 9).</p>
2908
2958
  */
2909
2959
  RequireNumbers?: boolean;
2910
2960
  /**
2911
- * <p>Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).</p>
2961
+ * <p>Specifies whether IAM user passwords must contain at least one uppercase character (A
2962
+ * to Z).</p>
2912
2963
  */
2913
2964
  RequireUppercaseCharacters?: boolean;
2914
2965
  /**
2915
- * <p>Specifies whether IAM user passwords must contain at least one lowercase character (a to z).</p>
2966
+ * <p>Specifies whether IAM user passwords must contain at least one lowercase character (a
2967
+ * to z).</p>
2916
2968
  */
2917
2969
  RequireLowercaseCharacters?: boolean;
2918
2970
  /**
2919
- * <p>Specifies whether IAM users are allowed to change their own password.</p>
2971
+ * <p>Specifies whether IAM users are allowed to change their own password. Gives IAM
2972
+ * users permissions to <code>iam:ChangePassword</code> for only their user and to the
2973
+ * <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
2974
+ * permissions policy to each user, rather the permissions are applied at the account-level
2975
+ * for all users by IAM.</p>
2920
2976
  */
2921
2977
  AllowUsersToChangePassword?: boolean;
2922
2978
  /**
@@ -2935,8 +2991,11 @@ export interface PasswordPolicy {
2935
2991
  */
2936
2992
  PasswordReusePrevention?: number;
2937
2993
  /**
2938
- * <p>Specifies whether IAM users are prevented from setting a new password after their
2939
- * password has expired.</p>
2994
+ * <p>Specifies whether IAM users are prevented from setting a new password via the
2995
+ * Amazon Web Services Management Console after their password has expired. The IAM user cannot access the console until
2996
+ * an administrator resets the password. IAM users with <code>iam:ChangePassword</code>
2997
+ * permission and active access keys can reset their own expired console password using the
2998
+ * CLI or API.</p>
2940
2999
  */
2941
3000
  HardExpiry?: boolean;
2942
3001
  }
@@ -3073,27 +3132,36 @@ export declare namespace GetContextKeysForPrincipalPolicyRequest {
3073
3132
  * 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
3074
3133
  * <i>IAM User Guide</i>.</p>
3075
3134
  */
3076
- export interface CredentialReportExpiredException extends __SmithyException, $MetadataBearer {
3077
- name: "CredentialReportExpiredException";
3078
- $fault: "client";
3079
- message?: string;
3135
+ export declare class CredentialReportExpiredException extends __BaseException {
3136
+ readonly name: "CredentialReportExpiredException";
3137
+ readonly $fault: "client";
3138
+ /**
3139
+ * @internal
3140
+ */
3141
+ constructor(opts: __ExceptionOptionType<CredentialReportExpiredException, __BaseException>);
3080
3142
  }
3081
3143
  /**
3082
3144
  * <p>The request was rejected because the credential report does not exist. To generate a
3083
3145
  * credential report, use <a>GenerateCredentialReport</a>.</p>
3084
3146
  */
3085
- export interface CredentialReportNotPresentException extends __SmithyException, $MetadataBearer {
3086
- name: "CredentialReportNotPresentException";
3087
- $fault: "client";
3088
- message?: string;
3147
+ export declare class CredentialReportNotPresentException extends __BaseException {
3148
+ readonly name: "CredentialReportNotPresentException";
3149
+ readonly $fault: "client";
3150
+ /**
3151
+ * @internal
3152
+ */
3153
+ constructor(opts: __ExceptionOptionType<CredentialReportNotPresentException, __BaseException>);
3089
3154
  }
3090
3155
  /**
3091
3156
  * <p>The request was rejected because the credential report is still being generated.</p>
3092
3157
  */
3093
- export interface CredentialReportNotReadyException extends __SmithyException, $MetadataBearer {
3094
- name: "CredentialReportNotReadyException";
3095
- $fault: "client";
3096
- message?: string;
3158
+ export declare class CredentialReportNotReadyException extends __BaseException {
3159
+ readonly name: "CredentialReportNotReadyException";
3160
+ readonly $fault: "client";
3161
+ /**
3162
+ * @internal
3163
+ */
3164
+ constructor(opts: __ExceptionOptionType<CredentialReportNotReadyException, __BaseException>);
3097
3165
  }
3098
3166
  export declare type ReportFormatType = "text/csv";
3099
3167
  /**
@@ -3222,8 +3290,9 @@ export interface GetGroupPolicyResponse {
3222
3290
  /**
3223
3291
  * <p>The policy document.</p>
3224
3292
  *
3225
- * <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts
3226
- * a YAML policy to JSON format before submitting it to IAM.</p>
3293
+ * <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
3294
+ * templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format
3295
+ * before submitting it to IAM.</p>
3227
3296
  */
3228
3297
  PolicyDocument: string | undefined;
3229
3298
  }
@@ -3598,8 +3667,9 @@ export interface GetRolePolicyResponse {
3598
3667
  PolicyName: string | undefined;
3599
3668
  /**
3600
3669
  * <p>The policy document.</p>
3601
- * <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts
3602
- * a YAML policy to JSON format before submitting it to IAM.</p>
3670
+ * <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
3671
+ * templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format
3672
+ * before submitting it to IAM.</p>
3603
3673
  */
3604
3674
  PolicyDocument: string | undefined;
3605
3675
  }
@@ -3789,7 +3859,8 @@ export declare namespace GetServiceLastAccessedDetailsRequest {
3789
3859
  const filterSensitiveLog: (obj: GetServiceLastAccessedDetailsRequest) => any;
3790
3860
  }
3791
3861
  /**
3792
- * <p>Contains details about the most recent attempt to access an action within the service.</p>
3862
+ * <p>Contains details about the most recent attempt to access an action within the
3863
+ * service.</p>
3793
3864
  * <p>This data type is used as a response element in the <a>GetServiceLastAccessedDetails</a> operation.</p>
3794
3865
  */
3795
3866
  export interface TrackedActionLastAccessed {
@@ -3809,7 +3880,7 @@ export interface TrackedActionLastAccessed {
3809
3880
  * format</a>, when an authenticated entity most recently attempted to access the
3810
3881
  * tracked service. Amazon Web Services does not report unauthenticated requests.</p>
3811
3882
  * <p>This field is null if no IAM entities attempted to access the service within the
3812
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period">reporting period</a>.</p>
3883
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period">reporting period</a>.</p>
3813
3884
  */
3814
3885
  LastAccessedTime?: Date;
3815
3886
  /**
@@ -4232,8 +4303,8 @@ export interface SSHPublicKey {
4232
4303
  SSHPublicKeyBody: string | undefined;
4233
4304
  /**
4234
4305
  * <p>The status of the SSH public key. <code>Active</code> means that the key can be used for
4235
- * authentication with an CodeCommit repository. <code>Inactive</code> means that the key
4236
- * cannot be used.</p>
4306
+ * authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be
4307
+ * used.</p>
4237
4308
  */
4238
4309
  Status: StatusType | string | undefined;
4239
4310
  /**
@@ -4268,10 +4339,13 @@ export declare namespace GetSSHPublicKeyResponse {
4268
4339
  * <p>The request was rejected because the public key encoding format is unsupported or
4269
4340
  * unrecognized.</p>
4270
4341
  */
4271
- export interface UnrecognizedPublicKeyEncodingException extends __SmithyException, $MetadataBearer {
4272
- name: "UnrecognizedPublicKeyEncodingException";
4273
- $fault: "client";
4274
- message?: string;
4342
+ export declare class UnrecognizedPublicKeyEncodingException extends __BaseException {
4343
+ readonly name: "UnrecognizedPublicKeyEncodingException";
4344
+ readonly $fault: "client";
4345
+ /**
4346
+ * @internal
4347
+ */
4348
+ constructor(opts: __ExceptionOptionType<UnrecognizedPublicKeyEncodingException, __BaseException>);
4275
4349
  }
4276
4350
  export interface GetUserRequest {
4277
4351
  /**
@@ -4303,11 +4377,11 @@ export interface GetUserResponse {
4303
4377
  * last signed in before May 3, 2018. For users that signed in after May 23, 2018 14:08
4304
4378
  * PDT, the returned password last used date is accurate.</p>
4305
4379
  * <p>You can use password last used information to identify unused credentials for
4306
- * deletion. For example, you might delete users who did not sign in to Amazon Web Services in the last
4307
- * 90 days. In cases like this, we recommend that you adjust your evaluation window to
4308
- * include dates after May 23, 2018. Alternatively, if your users use access keys to
4309
- * access Amazon Web Services programmatically you can refer to access key last used information
4310
- * because it is accurate for all dates. </p>
4380
+ * deletion. For example, you might delete users who did not sign in to Amazon Web Services in the
4381
+ * last 90 days. In cases like this, we recommend that you adjust your evaluation
4382
+ * window to include dates after May 23, 2018. Alternatively, if your users use access
4383
+ * keys to access Amazon Web Services programmatically you can refer to access key last used
4384
+ * information because it is accurate for all dates. </p>
4311
4385
  * </important>
4312
4386
  */
4313
4387
  User: User | undefined;
@@ -4354,8 +4428,9 @@ export interface GetUserPolicyResponse {
4354
4428
  /**
4355
4429
  * <p>The policy document.</p>
4356
4430
  *
4357
- * <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts
4358
- * a YAML policy to JSON format before submitting it to IAM.</p>
4431
+ * <p>IAM stores policies in JSON format. However, resources that were created using CloudFormation
4432
+ * templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format
4433
+ * before submitting it to IAM.</p>
4359
4434
  */
4360
4435
  PolicyDocument: string | undefined;
4361
4436
  }
@@ -6508,8 +6583,8 @@ export interface SSHPublicKeyMetadata {
6508
6583
  SSHPublicKeyId: string | undefined;
6509
6584
  /**
6510
6585
  * <p>The status of the SSH public key. <code>Active</code> means that the key can be used for
6511
- * authentication with an CodeCommit repository. <code>Inactive</code> means that the key
6512
- * cannot be used.</p>
6586
+ * authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be
6587
+ * used.</p>
6513
6588
  */
6514
6589
  Status: StatusType | string | undefined;
6515
6590
  /**
@@ -6825,9 +6900,9 @@ export interface PutGroupPolicyRequest {
6825
6900
  /**
6826
6901
  * <p>The policy document.</p>
6827
6902
  *
6828
- * <p>You must provide policies in JSON format in IAM. However, for CloudFormation
6829
- * templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
6830
- * = IAM.</p>
6903
+ * <p>You must provide policies in JSON format in IAM. However, for CloudFormation templates
6904
+ * formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always
6905
+ * converts a YAML policy to JSON format before submitting it to = IAM.</p>
6831
6906
  * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
6832
6907
  * used to validate this parameter is a string of characters consisting of the following:</p>
6833
6908
  * <ul>
@@ -7150,10 +7225,13 @@ export declare namespace SetSecurityTokenServicePreferencesRequest {
7150
7225
  * <p>The request failed because a provided policy could not be successfully evaluated. An
7151
7226
  * additional detailed message indicates the source of the failure.</p>
7152
7227
  */
7153
- export interface PolicyEvaluationException extends __SmithyException, $MetadataBearer {
7154
- name: "PolicyEvaluationException";
7155
- $fault: "server";
7156
- message?: string;
7228
+ export declare class PolicyEvaluationException extends __BaseException {
7229
+ readonly name: "PolicyEvaluationException";
7230
+ readonly $fault: "server";
7231
+ /**
7232
+ * @internal
7233
+ */
7234
+ constructor(opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>);
7157
7235
  }
7158
7236
  export declare enum ContextKeyTypeEnum {
7159
7237
  BINARY = "binary",
@@ -7174,7 +7252,8 @@ export declare enum ContextKeyTypeEnum {
7174
7252
  * specifies the value (or values, if the context key supports multiple values) to use in the
7175
7253
  * simulation. This information is used when evaluating the <code>Condition</code> elements of
7176
7254
  * the input policies.</p>
7177
- * <p>This data type is used as an input parameter to <a>SimulateCustomPolicy</a> and <a>SimulatePrincipalPolicy</a>.</p>
7255
+ * <p>This data type is used as an input parameter to <a>SimulateCustomPolicy</a>
7256
+ * and <a>SimulatePrincipalPolicy</a>.</p>
7178
7257
  */
7179
7258
  export interface ContextEntry {
7180
7259
  /**