@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
  import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
3
4
  export interface UntagPolicyRequest {
4
5
  /**
@@ -165,8 +166,9 @@ export interface UpdateAccountPasswordPolicyRequest {
165
166
  RequireLowercaseCharacters?: boolean;
166
167
  /**
167
168
  * <p> Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own
168
- * passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html">Letting IAM users change their own
169
- * passwords</a> in the <i>IAM User Guide</i>.</p>
169
+ * passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html">Permitting
170
+ * IAM users to change their own passwords</a> in the
171
+ * <i>IAM User Guide</i>.</p>
170
172
  * <p>If you do not specify a value for this parameter, then the operation uses the default
171
173
  * value of <code>false</code>. The result is that IAM users in the account do not
172
174
  * automatically have permissions to change their own password.</p>
@@ -187,11 +189,22 @@ export interface UpdateAccountPasswordPolicyRequest {
187
189
  */
188
190
  PasswordReusePrevention?: number;
189
191
  /**
190
- * <p>Prevents IAM users from setting a new password after their password has expired. The
191
- * IAM user cannot be accessed until an administrator resets the password.</p>
192
+ * <p> Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a
193
+ * new console password after their password has expired. The IAM user cannot access the
194
+ * console until an administrator resets the password.</p>
192
195
  * <p>If you do not specify a value for this parameter, then the operation uses the default
193
196
  * value of <code>false</code>. The result is that IAM users can change their passwords
194
197
  * after they expire and continue to sign in as the user.</p>
198
+ * <note>
199
+ * <p> In the Amazon Web Services Management Console, the custom password policy option <b>Allow
200
+ * users to change their own password</b> gives IAM users permissions to
201
+ * <code>iam:ChangePassword</code> for only their user and to the
202
+ * <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
203
+ * permissions policy to each user, rather the permissions are applied at the
204
+ * account-level for all users by IAM. IAM users with
205
+ * <code>iam:ChangePassword</code> permission and active access keys can reset
206
+ * their own expired console password using the CLI or API.</p>
207
+ * </note>
195
208
  */
196
209
  HardExpiry?: boolean;
197
210
  }
@@ -578,19 +591,25 @@ export declare namespace UpdateUserRequest {
578
591
  * <p>The request was rejected because the public key certificate and the private key do not
579
592
  * match.</p>
580
593
  */
581
- export interface KeyPairMismatchException extends __SmithyException, $MetadataBearer {
582
- name: "KeyPairMismatchException";
583
- $fault: "client";
584
- message?: string;
594
+ export declare class KeyPairMismatchException extends __BaseException {
595
+ readonly name: "KeyPairMismatchException";
596
+ readonly $fault: "client";
597
+ /**
598
+ * @internal
599
+ */
600
+ constructor(opts: __ExceptionOptionType<KeyPairMismatchException, __BaseException>);
585
601
  }
586
602
  /**
587
603
  * <p>The request was rejected because the certificate was malformed or expired. The error
588
604
  * message describes the specific error.</p>
589
605
  */
590
- export interface MalformedCertificateException extends __SmithyException, $MetadataBearer {
591
- name: "MalformedCertificateException";
592
- $fault: "client";
593
- message?: string;
606
+ export declare class MalformedCertificateException extends __BaseException {
607
+ readonly name: "MalformedCertificateException";
608
+ readonly $fault: "client";
609
+ /**
610
+ * @internal
611
+ */
612
+ constructor(opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>);
594
613
  }
595
614
  export interface UploadServerCertificateRequest {
596
615
  /**
@@ -721,18 +740,24 @@ export declare namespace UploadServerCertificateResponse {
721
740
  * <p>The request was rejected because the same certificate is associated with an IAM user in
722
741
  * the account.</p>
723
742
  */
724
- export interface DuplicateCertificateException extends __SmithyException, $MetadataBearer {
725
- name: "DuplicateCertificateException";
726
- $fault: "client";
727
- message?: string;
743
+ export declare class DuplicateCertificateException extends __BaseException {
744
+ readonly name: "DuplicateCertificateException";
745
+ readonly $fault: "client";
746
+ /**
747
+ * @internal
748
+ */
749
+ constructor(opts: __ExceptionOptionType<DuplicateCertificateException, __BaseException>);
728
750
  }
729
751
  /**
730
752
  * <p>The request was rejected because the certificate is invalid.</p>
731
753
  */
732
- export interface InvalidCertificateException extends __SmithyException, $MetadataBearer {
733
- name: "InvalidCertificateException";
734
- $fault: "client";
735
- message?: string;
754
+ export declare class InvalidCertificateException extends __BaseException {
755
+ readonly name: "InvalidCertificateException";
756
+ readonly $fault: "client";
757
+ /**
758
+ * @internal
759
+ */
760
+ constructor(opts: __ExceptionOptionType<InvalidCertificateException, __BaseException>);
736
761
  }
737
762
  export interface UploadSigningCertificateRequest {
738
763
  /**
@@ -788,18 +813,24 @@ export declare namespace UploadSigningCertificateResponse {
788
813
  * <p>The request was rejected because the SSH public key is already associated with the
789
814
  * specified IAM user.</p>
790
815
  */
791
- export interface DuplicateSSHPublicKeyException extends __SmithyException, $MetadataBearer {
792
- name: "DuplicateSSHPublicKeyException";
793
- $fault: "client";
794
- message?: string;
816
+ export declare class DuplicateSSHPublicKeyException extends __BaseException {
817
+ readonly name: "DuplicateSSHPublicKeyException";
818
+ readonly $fault: "client";
819
+ /**
820
+ * @internal
821
+ */
822
+ constructor(opts: __ExceptionOptionType<DuplicateSSHPublicKeyException, __BaseException>);
795
823
  }
796
824
  /**
797
825
  * <p>The request was rejected because the public key is malformed or otherwise invalid.</p>
798
826
  */
799
- export interface InvalidPublicKeyException extends __SmithyException, $MetadataBearer {
800
- name: "InvalidPublicKeyException";
801
- $fault: "client";
802
- message?: string;
827
+ export declare class InvalidPublicKeyException extends __BaseException {
828
+ readonly name: "InvalidPublicKeyException";
829
+ readonly $fault: "client";
830
+ /**
831
+ * @internal
832
+ */
833
+ constructor(opts: __ExceptionOptionType<InvalidPublicKeyException, __BaseException>);
803
834
  }
804
835
  export interface UploadSSHPublicKeyRequest {
805
836
  /**