@aws-sdk/client-iam 3.36.0 → 3.39.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 (388) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/IAM.js +0 -7
  3. package/dist-cjs/IAMClient.js +0 -12
  4. package/dist-cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +0 -27
  5. package/dist-cjs/commands/AddRoleToInstanceProfileCommand.js +0 -36
  6. package/dist-cjs/commands/AddUserToGroupCommand.js +0 -24
  7. package/dist-cjs/commands/AttachGroupPolicyCommand.js +0 -31
  8. package/dist-cjs/commands/AttachRolePolicyCommand.js +0 -38
  9. package/dist-cjs/commands/AttachUserPolicyCommand.js +0 -31
  10. package/dist-cjs/commands/ChangePasswordCommand.js +0 -32
  11. package/dist-cjs/commands/CreateAccessKeyCommand.js +0 -37
  12. package/dist-cjs/commands/CreateAccountAliasCommand.js +0 -27
  13. package/dist-cjs/commands/CreateGroupCommand.js +0 -26
  14. package/dist-cjs/commands/CreateInstanceProfileCommand.js +0 -28
  15. package/dist-cjs/commands/CreateLoginProfileCommand.js +0 -31
  16. package/dist-cjs/commands/CreateOpenIDConnectProviderCommand.js +0 -61
  17. package/dist-cjs/commands/CreatePolicyCommand.js +0 -34
  18. package/dist-cjs/commands/CreatePolicyVersionCommand.js +0 -31
  19. package/dist-cjs/commands/CreateRoleCommand.js +0 -28
  20. package/dist-cjs/commands/CreateSAMLProviderCommand.js +0 -41
  21. package/dist-cjs/commands/CreateServiceLinkedRoleCommand.js +0 -32
  22. package/dist-cjs/commands/CreateServiceSpecificCredentialCommand.js +0 -34
  23. package/dist-cjs/commands/CreateUserCommand.js +0 -26
  24. package/dist-cjs/commands/CreateVirtualMFADeviceCommand.js +0 -36
  25. package/dist-cjs/commands/DeactivateMFADeviceCommand.js +0 -28
  26. package/dist-cjs/commands/DeleteAccessKeyCommand.js +0 -28
  27. package/dist-cjs/commands/DeleteAccountAliasCommand.js +0 -26
  28. package/dist-cjs/commands/DeleteAccountPasswordPolicyCommand.js +0 -24
  29. package/dist-cjs/commands/DeleteGroupCommand.js +0 -25
  30. package/dist-cjs/commands/DeleteGroupPolicyCommand.js +0 -29
  31. package/dist-cjs/commands/DeleteInstanceProfileCommand.js +0 -33
  32. package/dist-cjs/commands/DeleteLoginProfileCommand.js +0 -36
  33. package/dist-cjs/commands/DeleteOpenIDConnectProviderCommand.js +0 -29
  34. package/dist-cjs/commands/DeletePolicyCommand.js +0 -48
  35. package/dist-cjs/commands/DeletePolicyVersionCommand.js +0 -29
  36. package/dist-cjs/commands/DeleteRoleCommand.js +0 -30
  37. package/dist-cjs/commands/DeleteRolePermissionsBoundaryCommand.js +0 -29
  38. package/dist-cjs/commands/DeleteRolePolicyCommand.js +0 -29
  39. package/dist-cjs/commands/DeleteSAMLProviderCommand.js +0 -30
  40. package/dist-cjs/commands/DeleteSSHPublicKeyCommand.js +0 -28
  41. package/dist-cjs/commands/DeleteServerCertificateCommand.js +0 -38
  42. package/dist-cjs/commands/DeleteServiceLinkedRoleCommand.js +0 -40
  43. package/dist-cjs/commands/DeleteServiceSpecificCredentialCommand.js +0 -24
  44. package/dist-cjs/commands/DeleteSigningCertificateCommand.js +0 -28
  45. package/dist-cjs/commands/DeleteUserCommand.js +0 -56
  46. package/dist-cjs/commands/DeleteUserPermissionsBoundaryCommand.js +0 -29
  47. package/dist-cjs/commands/DeleteUserPolicyCommand.js +0 -29
  48. package/dist-cjs/commands/DeleteVirtualMFADeviceCommand.js +0 -28
  49. package/dist-cjs/commands/DetachGroupPolicyCommand.js +0 -28
  50. package/dist-cjs/commands/DetachRolePolicyCommand.js +0 -28
  51. package/dist-cjs/commands/DetachUserPolicyCommand.js +0 -28
  52. package/dist-cjs/commands/EnableMFADeviceCommand.js +0 -26
  53. package/dist-cjs/commands/GenerateCredentialReportCommand.js +0 -26
  54. package/dist-cjs/commands/GenerateOrganizationsAccessReportCommand.js +0 -155
  55. package/dist-cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +0 -77
  56. package/dist-cjs/commands/GetAccessKeyLastUsedCommand.js +0 -26
  57. package/dist-cjs/commands/GetAccountAuthorizationDetailsCommand.js +0 -37
  58. package/dist-cjs/commands/GetAccountPasswordPolicyCommand.js +0 -27
  59. package/dist-cjs/commands/GetAccountSummaryCommand.js +0 -27
  60. package/dist-cjs/commands/GetContextKeysForCustomPolicyCommand.js +0 -33
  61. package/dist-cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +0 -37
  62. package/dist-cjs/commands/GetCredentialReportCommand.js +0 -26
  63. package/dist-cjs/commands/GetGroupCommand.js +0 -25
  64. package/dist-cjs/commands/GetGroupPolicyCommand.js +0 -38
  65. package/dist-cjs/commands/GetInstanceProfileCommand.js +0 -27
  66. package/dist-cjs/commands/GetLoginProfileCommand.js +0 -33
  67. package/dist-cjs/commands/GetOpenIDConnectProviderCommand.js +0 -25
  68. package/dist-cjs/commands/GetOrganizationsAccessReportCommand.js +0 -42
  69. package/dist-cjs/commands/GetPolicyCommand.js +0 -33
  70. package/dist-cjs/commands/GetPolicyVersionCommand.js +0 -39
  71. package/dist-cjs/commands/GetRoleCommand.js +0 -33
  72. package/dist-cjs/commands/GetRolePolicyCommand.js +0 -40
  73. package/dist-cjs/commands/GetSAMLProviderCommand.js +0 -28
  74. package/dist-cjs/commands/GetSSHPublicKeyCommand.js +0 -28
  75. package/dist-cjs/commands/GetServerCertificateCommand.js +0 -28
  76. package/dist-cjs/commands/GetServiceLastAccessedDetailsCommand.js +0 -75
  77. package/dist-cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +0 -49
  78. package/dist-cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +0 -28
  79. package/dist-cjs/commands/GetUserCommand.js +0 -27
  80. package/dist-cjs/commands/GetUserPolicyCommand.js +0 -38
  81. package/dist-cjs/commands/ListAccessKeysCommand.js +0 -36
  82. package/dist-cjs/commands/ListAccountAliasesCommand.js +0 -26
  83. package/dist-cjs/commands/ListAttachedGroupPoliciesCommand.js +0 -33
  84. package/dist-cjs/commands/ListAttachedRolePoliciesCommand.js +0 -33
  85. package/dist-cjs/commands/ListAttachedUserPoliciesCommand.js +0 -33
  86. package/dist-cjs/commands/ListEntitiesForPolicyCommand.js +0 -31
  87. package/dist-cjs/commands/ListGroupPoliciesCommand.js +0 -32
  88. package/dist-cjs/commands/ListGroupsCommand.js +0 -26
  89. package/dist-cjs/commands/ListGroupsForUserCommand.js +0 -26
  90. package/dist-cjs/commands/ListInstanceProfileTagsCommand.js +0 -26
  91. package/dist-cjs/commands/ListInstanceProfilesCommand.js +0 -33
  92. package/dist-cjs/commands/ListInstanceProfilesForRoleCommand.js +0 -29
  93. package/dist-cjs/commands/ListMFADeviceTagsCommand.js +0 -26
  94. package/dist-cjs/commands/ListMFADevicesCommand.js +0 -29
  95. package/dist-cjs/commands/ListOpenIDConnectProviderTagsCommand.js +0 -28
  96. package/dist-cjs/commands/ListOpenIDConnectProvidersCommand.js +0 -29
  97. package/dist-cjs/commands/ListPoliciesCommand.js +0 -39
  98. package/dist-cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +0 -63
  99. package/dist-cjs/commands/ListPolicyTagsCommand.js +0 -26
  100. package/dist-cjs/commands/ListPolicyVersionsCommand.js +0 -27
  101. package/dist-cjs/commands/ListRolePoliciesCommand.js +0 -32
  102. package/dist-cjs/commands/ListRoleTagsCommand.js +0 -26
  103. package/dist-cjs/commands/ListRolesCommand.js +0 -32
  104. package/dist-cjs/commands/ListSAMLProviderTagsCommand.js +0 -28
  105. package/dist-cjs/commands/ListSAMLProvidersCommand.js +0 -29
  106. package/dist-cjs/commands/ListSSHPublicKeysCommand.js +0 -31
  107. package/dist-cjs/commands/ListServerCertificateTagsCommand.js +0 -33
  108. package/dist-cjs/commands/ListServerCertificatesCommand.js +0 -35
  109. package/dist-cjs/commands/ListServiceSpecificCredentialsCommand.js +0 -29
  110. package/dist-cjs/commands/ListSigningCertificatesCommand.js +0 -33
  111. package/dist-cjs/commands/ListUserPoliciesCommand.js +0 -31
  112. package/dist-cjs/commands/ListUserTagsCommand.js +0 -25
  113. package/dist-cjs/commands/ListUsersCommand.js +0 -32
  114. package/dist-cjs/commands/ListVirtualMFADevicesCommand.js +0 -34
  115. package/dist-cjs/commands/PutGroupPolicyCommand.js +0 -38
  116. package/dist-cjs/commands/PutRolePermissionsBoundaryCommand.js +0 -35
  117. package/dist-cjs/commands/PutRolePolicyCommand.js +0 -43
  118. package/dist-cjs/commands/PutUserPermissionsBoundaryCommand.js +0 -34
  119. package/dist-cjs/commands/PutUserPolicyCommand.js +0 -38
  120. package/dist-cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +0 -28
  121. package/dist-cjs/commands/RemoveRoleFromInstanceProfileCommand.js +0 -33
  122. package/dist-cjs/commands/RemoveUserFromGroupCommand.js +0 -24
  123. package/dist-cjs/commands/ResetServiceSpecificCredentialCommand.js +0 -27
  124. package/dist-cjs/commands/ResyncMFADeviceCommand.js +0 -27
  125. package/dist-cjs/commands/SetDefaultPolicyVersionCommand.js +0 -29
  126. package/dist-cjs/commands/SetSecurityTokenServicePreferencesCommand.js +0 -42
  127. package/dist-cjs/commands/SimulateCustomPolicyCommand.js +0 -40
  128. package/dist-cjs/commands/SimulatePrincipalPolicyCommand.js +0 -49
  129. package/dist-cjs/commands/TagInstanceProfileCommand.js +0 -59
  130. package/dist-cjs/commands/TagMFADeviceCommand.js +0 -60
  131. package/dist-cjs/commands/TagOpenIDConnectProviderCommand.js +0 -61
  132. package/dist-cjs/commands/TagPolicyCommand.js +0 -59
  133. package/dist-cjs/commands/TagRoleCommand.js +0 -68
  134. package/dist-cjs/commands/TagSAMLProviderCommand.js +0 -61
  135. package/dist-cjs/commands/TagServerCertificateCommand.js +0 -71
  136. package/dist-cjs/commands/TagUserCommand.js +0 -67
  137. package/dist-cjs/commands/UntagInstanceProfileCommand.js +0 -25
  138. package/dist-cjs/commands/UntagMFADeviceCommand.js +0 -26
  139. package/dist-cjs/commands/UntagOpenIDConnectProviderCommand.js +0 -27
  140. package/dist-cjs/commands/UntagPolicyCommand.js +0 -25
  141. package/dist-cjs/commands/UntagRoleCommand.js +0 -25
  142. package/dist-cjs/commands/UntagSAMLProviderCommand.js +0 -27
  143. package/dist-cjs/commands/UntagServerCertificateCommand.js +0 -33
  144. package/dist-cjs/commands/UntagUserCommand.js +0 -25
  145. package/dist-cjs/commands/UpdateAccessKeyCommand.js +0 -33
  146. package/dist-cjs/commands/UpdateAccountPasswordPolicyCommand.js +0 -39
  147. package/dist-cjs/commands/UpdateAssumeRolePolicyCommand.js +0 -27
  148. package/dist-cjs/commands/UpdateGroupCommand.js +0 -38
  149. package/dist-cjs/commands/UpdateLoginProfileCommand.js +0 -30
  150. package/dist-cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +0 -45
  151. package/dist-cjs/commands/UpdateRoleCommand.js +0 -24
  152. package/dist-cjs/commands/UpdateRoleDescriptionCommand.js +0 -26
  153. package/dist-cjs/commands/UpdateSAMLProviderCommand.js +0 -27
  154. package/dist-cjs/commands/UpdateSSHPublicKeyCommand.js +0 -30
  155. package/dist-cjs/commands/UpdateServerCertificateCommand.js +0 -43
  156. package/dist-cjs/commands/UpdateServiceSpecificCredentialCommand.js +0 -27
  157. package/dist-cjs/commands/UpdateSigningCertificateCommand.js +0 -31
  158. package/dist-cjs/commands/UpdateUserCommand.js +0 -36
  159. package/dist-cjs/commands/UploadSSHPublicKeyCommand.js +0 -28
  160. package/dist-cjs/commands/UploadServerCertificateCommand.js +0 -45
  161. package/dist-cjs/commands/UploadSigningCertificateCommand.js +0 -43
  162. package/dist-cjs/commands/index.js +161 -0
  163. package/dist-cjs/endpoints.js +6 -1
  164. package/dist-cjs/index.js +5 -192
  165. package/dist-cjs/models/models_0.js +0 -840
  166. package/dist-cjs/models/models_1.js +0 -102
  167. package/dist-cjs/pagination/GetAccountAuthorizationDetailsPaginator.js +0 -10
  168. package/dist-cjs/pagination/GetGroupPaginator.js +0 -10
  169. package/dist-cjs/pagination/ListAccessKeysPaginator.js +0 -10
  170. package/dist-cjs/pagination/ListAccountAliasesPaginator.js +0 -10
  171. package/dist-cjs/pagination/ListAttachedGroupPoliciesPaginator.js +0 -10
  172. package/dist-cjs/pagination/ListAttachedRolePoliciesPaginator.js +0 -10
  173. package/dist-cjs/pagination/ListAttachedUserPoliciesPaginator.js +0 -10
  174. package/dist-cjs/pagination/ListEntitiesForPolicyPaginator.js +0 -10
  175. package/dist-cjs/pagination/ListGroupPoliciesPaginator.js +0 -10
  176. package/dist-cjs/pagination/ListGroupsForUserPaginator.js +0 -10
  177. package/dist-cjs/pagination/ListGroupsPaginator.js +0 -10
  178. package/dist-cjs/pagination/ListInstanceProfilesForRolePaginator.js +0 -10
  179. package/dist-cjs/pagination/ListInstanceProfilesPaginator.js +0 -10
  180. package/dist-cjs/pagination/ListMFADevicesPaginator.js +0 -10
  181. package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -10
  182. package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +0 -10
  183. package/dist-cjs/pagination/ListRolePoliciesPaginator.js +0 -10
  184. package/dist-cjs/pagination/ListRolesPaginator.js +0 -10
  185. package/dist-cjs/pagination/ListSSHPublicKeysPaginator.js +0 -10
  186. package/dist-cjs/pagination/ListServerCertificatesPaginator.js +0 -10
  187. package/dist-cjs/pagination/ListSigningCertificatesPaginator.js +0 -10
  188. package/dist-cjs/pagination/ListUserPoliciesPaginator.js +0 -10
  189. package/dist-cjs/pagination/ListUserTagsPaginator.js +0 -10
  190. package/dist-cjs/pagination/ListUsersPaginator.js +0 -10
  191. package/dist-cjs/pagination/ListVirtualMFADevicesPaginator.js +0 -10
  192. package/dist-cjs/pagination/SimulateCustomPolicyPaginator.js +0 -10
  193. package/dist-cjs/pagination/SimulatePrincipalPolicyPaginator.js +0 -10
  194. package/dist-cjs/pagination/index.js +31 -0
  195. package/dist-cjs/protocols/Aws_query.js +0 -2
  196. package/dist-cjs/runtimeConfig.browser.js +1 -5
  197. package/dist-cjs/runtimeConfig.js +1 -5
  198. package/dist-cjs/runtimeConfig.native.js +0 -3
  199. package/dist-cjs/runtimeConfig.shared.js +0 -3
  200. package/dist-cjs/waiters/index.js +7 -0
  201. package/dist-cjs/waiters/waitForInstanceProfileExists.js +0 -9
  202. package/dist-cjs/waiters/waitForPolicyExists.js +0 -9
  203. package/dist-cjs/waiters/waitForRoleExists.js +0 -9
  204. package/dist-cjs/waiters/waitForUserExists.js +0 -9
  205. package/dist-es/commands/index.js +158 -0
  206. package/dist-es/endpoints.js +6 -1
  207. package/dist-es/index.js +5 -192
  208. package/dist-es/pagination/index.js +28 -0
  209. package/dist-es/waiters/index.js +4 -0
  210. package/dist-types/commands/index.d.ts +158 -0
  211. package/dist-types/index.d.ts +5 -192
  212. package/dist-types/pagination/index.d.ts +28 -0
  213. package/dist-types/ts3.4/IAM.d.ts +159 -2189
  214. package/dist-types/ts3.4/IAMClient.d.ts +24 -93
  215. package/dist-types/ts3.4/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +2 -23
  216. package/dist-types/ts3.4/commands/AddRoleToInstanceProfileCommand.d.ts +2 -32
  217. package/dist-types/ts3.4/commands/AddUserToGroupCommand.d.ts +2 -20
  218. package/dist-types/ts3.4/commands/AttachGroupPolicyCommand.d.ts +2 -27
  219. package/dist-types/ts3.4/commands/AttachRolePolicyCommand.d.ts +2 -34
  220. package/dist-types/ts3.4/commands/AttachUserPolicyCommand.d.ts +2 -27
  221. package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -28
  222. package/dist-types/ts3.4/commands/CreateAccessKeyCommand.d.ts +2 -33
  223. package/dist-types/ts3.4/commands/CreateAccountAliasCommand.d.ts +2 -23
  224. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -22
  225. package/dist-types/ts3.4/commands/CreateInstanceProfileCommand.d.ts +2 -24
  226. package/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +2 -27
  227. package/dist-types/ts3.4/commands/CreateOpenIDConnectProviderCommand.d.ts +2 -57
  228. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +2 -30
  229. package/dist-types/ts3.4/commands/CreatePolicyVersionCommand.d.ts +2 -27
  230. package/dist-types/ts3.4/commands/CreateRoleCommand.d.ts +2 -24
  231. package/dist-types/ts3.4/commands/CreateSAMLProviderCommand.d.ts +2 -37
  232. package/dist-types/ts3.4/commands/CreateServiceLinkedRoleCommand.d.ts +2 -28
  233. package/dist-types/ts3.4/commands/CreateServiceSpecificCredentialCommand.d.ts +2 -30
  234. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -22
  235. package/dist-types/ts3.4/commands/CreateVirtualMFADeviceCommand.d.ts +2 -32
  236. package/dist-types/ts3.4/commands/DeactivateMFADeviceCommand.d.ts +2 -24
  237. package/dist-types/ts3.4/commands/DeleteAccessKeyCommand.d.ts +2 -24
  238. package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +2 -22
  239. package/dist-types/ts3.4/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -20
  240. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -21
  241. package/dist-types/ts3.4/commands/DeleteGroupPolicyCommand.d.ts +2 -25
  242. package/dist-types/ts3.4/commands/DeleteInstanceProfileCommand.d.ts +2 -29
  243. package/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +2 -32
  244. package/dist-types/ts3.4/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -25
  245. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -44
  246. package/dist-types/ts3.4/commands/DeletePolicyVersionCommand.d.ts +2 -25
  247. package/dist-types/ts3.4/commands/DeleteRoleCommand.d.ts +2 -26
  248. package/dist-types/ts3.4/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -25
  249. package/dist-types/ts3.4/commands/DeleteRolePolicyCommand.d.ts +2 -25
  250. package/dist-types/ts3.4/commands/DeleteSAMLProviderCommand.d.ts +2 -26
  251. package/dist-types/ts3.4/commands/DeleteSSHPublicKeyCommand.d.ts +2 -24
  252. package/dist-types/ts3.4/commands/DeleteServerCertificateCommand.d.ts +2 -34
  253. package/dist-types/ts3.4/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -36
  254. package/dist-types/ts3.4/commands/DeleteServiceSpecificCredentialCommand.d.ts +2 -20
  255. package/dist-types/ts3.4/commands/DeleteSigningCertificateCommand.d.ts +2 -24
  256. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -52
  257. package/dist-types/ts3.4/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -25
  258. package/dist-types/ts3.4/commands/DeleteUserPolicyCommand.d.ts +2 -25
  259. package/dist-types/ts3.4/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -24
  260. package/dist-types/ts3.4/commands/DetachGroupPolicyCommand.d.ts +2 -24
  261. package/dist-types/ts3.4/commands/DetachRolePolicyCommand.d.ts +2 -24
  262. package/dist-types/ts3.4/commands/DetachUserPolicyCommand.d.ts +2 -24
  263. package/dist-types/ts3.4/commands/EnableMFADeviceCommand.d.ts +2 -22
  264. package/dist-types/ts3.4/commands/GenerateCredentialReportCommand.d.ts +2 -22
  265. package/dist-types/ts3.4/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -151
  266. package/dist-types/ts3.4/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -73
  267. package/dist-types/ts3.4/commands/GetAccessKeyLastUsedCommand.d.ts +2 -22
  268. package/dist-types/ts3.4/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -33
  269. package/dist-types/ts3.4/commands/GetAccountPasswordPolicyCommand.d.ts +2 -23
  270. package/dist-types/ts3.4/commands/GetAccountSummaryCommand.d.ts +2 -23
  271. package/dist-types/ts3.4/commands/GetContextKeysForCustomPolicyCommand.d.ts +2 -29
  272. package/dist-types/ts3.4/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +2 -33
  273. package/dist-types/ts3.4/commands/GetCredentialReportCommand.d.ts +2 -22
  274. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -21
  275. package/dist-types/ts3.4/commands/GetGroupPolicyCommand.d.ts +2 -34
  276. package/dist-types/ts3.4/commands/GetInstanceProfileCommand.d.ts +2 -23
  277. package/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +2 -29
  278. package/dist-types/ts3.4/commands/GetOpenIDConnectProviderCommand.d.ts +2 -21
  279. package/dist-types/ts3.4/commands/GetOrganizationsAccessReportCommand.d.ts +2 -38
  280. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -29
  281. package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +2 -35
  282. package/dist-types/ts3.4/commands/GetRoleCommand.d.ts +2 -29
  283. package/dist-types/ts3.4/commands/GetRolePolicyCommand.d.ts +2 -36
  284. package/dist-types/ts3.4/commands/GetSAMLProviderCommand.d.ts +2 -24
  285. package/dist-types/ts3.4/commands/GetSSHPublicKeyCommand.d.ts +2 -24
  286. package/dist-types/ts3.4/commands/GetServerCertificateCommand.d.ts +2 -24
  287. package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsCommand.d.ts +2 -71
  288. package/dist-types/ts3.4/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +2 -45
  289. package/dist-types/ts3.4/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +2 -24
  290. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -23
  291. package/dist-types/ts3.4/commands/GetUserPolicyCommand.d.ts +2 -34
  292. package/dist-types/ts3.4/commands/ListAccessKeysCommand.d.ts +2 -32
  293. package/dist-types/ts3.4/commands/ListAccountAliasesCommand.d.ts +2 -22
  294. package/dist-types/ts3.4/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -29
  295. package/dist-types/ts3.4/commands/ListAttachedRolePoliciesCommand.d.ts +2 -29
  296. package/dist-types/ts3.4/commands/ListAttachedUserPoliciesCommand.d.ts +2 -29
  297. package/dist-types/ts3.4/commands/ListEntitiesForPolicyCommand.d.ts +2 -27
  298. package/dist-types/ts3.4/commands/ListGroupPoliciesCommand.d.ts +2 -28
  299. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -22
  300. package/dist-types/ts3.4/commands/ListGroupsForUserCommand.d.ts +2 -22
  301. package/dist-types/ts3.4/commands/ListInstanceProfileTagsCommand.d.ts +2 -22
  302. package/dist-types/ts3.4/commands/ListInstanceProfilesCommand.d.ts +2 -29
  303. package/dist-types/ts3.4/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -25
  304. package/dist-types/ts3.4/commands/ListMFADeviceTagsCommand.d.ts +2 -22
  305. package/dist-types/ts3.4/commands/ListMFADevicesCommand.d.ts +2 -25
  306. package/dist-types/ts3.4/commands/ListOpenIDConnectProviderTagsCommand.d.ts +2 -24
  307. package/dist-types/ts3.4/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -25
  308. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -35
  309. package/dist-types/ts3.4/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +2 -59
  310. package/dist-types/ts3.4/commands/ListPolicyTagsCommand.d.ts +2 -22
  311. package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +2 -23
  312. package/dist-types/ts3.4/commands/ListRolePoliciesCommand.d.ts +2 -28
  313. package/dist-types/ts3.4/commands/ListRoleTagsCommand.d.ts +2 -22
  314. package/dist-types/ts3.4/commands/ListRolesCommand.d.ts +2 -28
  315. package/dist-types/ts3.4/commands/ListSAMLProviderTagsCommand.d.ts +2 -24
  316. package/dist-types/ts3.4/commands/ListSAMLProvidersCommand.d.ts +2 -25
  317. package/dist-types/ts3.4/commands/ListSSHPublicKeysCommand.d.ts +2 -27
  318. package/dist-types/ts3.4/commands/ListServerCertificateTagsCommand.d.ts +2 -29
  319. package/dist-types/ts3.4/commands/ListServerCertificatesCommand.d.ts +2 -31
  320. package/dist-types/ts3.4/commands/ListServiceSpecificCredentialsCommand.d.ts +2 -25
  321. package/dist-types/ts3.4/commands/ListSigningCertificatesCommand.d.ts +2 -29
  322. package/dist-types/ts3.4/commands/ListUserPoliciesCommand.d.ts +2 -27
  323. package/dist-types/ts3.4/commands/ListUserTagsCommand.d.ts +2 -21
  324. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -28
  325. package/dist-types/ts3.4/commands/ListVirtualMFADevicesCommand.d.ts +2 -30
  326. package/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +2 -34
  327. package/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +2 -31
  328. package/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +2 -39
  329. package/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -30
  330. package/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +2 -34
  331. package/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +2 -24
  332. package/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +2 -29
  333. package/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +2 -20
  334. package/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +2 -23
  335. package/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +2 -23
  336. package/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +2 -25
  337. package/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +2 -38
  338. package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +2 -36
  339. package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +2 -45
  340. package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +2 -55
  341. package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +2 -56
  342. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +2 -57
  343. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +2 -55
  344. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +2 -64
  345. package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +2 -57
  346. package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +2 -67
  347. package/dist-types/ts3.4/commands/TagUserCommand.d.ts +2 -63
  348. package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +2 -21
  349. package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +2 -22
  350. package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -23
  351. package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +2 -21
  352. package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +2 -21
  353. package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +2 -23
  354. package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +2 -29
  355. package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +2 -21
  356. package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +2 -29
  357. package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +2 -35
  358. package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +2 -23
  359. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -34
  360. package/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +2 -26
  361. package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -41
  362. package/dist-types/ts3.4/commands/UpdateRoleCommand.d.ts +2 -20
  363. package/dist-types/ts3.4/commands/UpdateRoleDescriptionCommand.d.ts +2 -22
  364. package/dist-types/ts3.4/commands/UpdateSAMLProviderCommand.d.ts +2 -23
  365. package/dist-types/ts3.4/commands/UpdateSSHPublicKeyCommand.d.ts +2 -26
  366. package/dist-types/ts3.4/commands/UpdateServerCertificateCommand.d.ts +2 -39
  367. package/dist-types/ts3.4/commands/UpdateServiceSpecificCredentialCommand.d.ts +2 -23
  368. package/dist-types/ts3.4/commands/UpdateSigningCertificateCommand.d.ts +2 -27
  369. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -32
  370. package/dist-types/ts3.4/commands/UploadSSHPublicKeyCommand.d.ts +2 -24
  371. package/dist-types/ts3.4/commands/UploadServerCertificateCommand.d.ts +2 -41
  372. package/dist-types/ts3.4/commands/UploadSigningCertificateCommand.d.ts +2 -39
  373. package/dist-types/ts3.4/commands/index.d.ts +158 -0
  374. package/dist-types/ts3.4/index.d.ts +5 -192
  375. package/dist-types/ts3.4/models/models_0.d.ts +1165 -5935
  376. package/dist-types/ts3.4/models/models_1.d.ts +114 -631
  377. package/dist-types/ts3.4/pagination/index.d.ts +28 -0
  378. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  379. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  380. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  381. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  382. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  383. package/dist-types/ts3.4/waiters/waitForInstanceProfileExists.d.ts +2 -9
  384. package/dist-types/ts3.4/waiters/waitForPolicyExists.d.ts +2 -9
  385. package/dist-types/ts3.4/waiters/waitForRoleExists.d.ts +2 -9
  386. package/dist-types/ts3.4/waiters/waitForUserExists.d.ts +2 -9
  387. package/dist-types/waiters/index.d.ts +4 -0
  388. package/package.json +33 -33
@@ -6,61 +6,11 @@ export interface DeleteUserCommandInput extends DeleteUserRequest {
6
6
  }
7
7
  export interface DeleteUserCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified IAM user. Unlike the Amazon Web Services Management Console, when you delete a user
11
- * programmatically, you must delete the items attached to the user manually, or the
12
- * deletion fails. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_deleting_cli">Deleting an IAM
13
- * user</a>. Before attempting to delete a user, remove the following items:</p>
14
- * <ul>
15
- * <li>
16
- * <p>Password (<a>DeleteLoginProfile</a>)</p>
17
- * </li>
18
- * <li>
19
- * <p>Access keys (<a>DeleteAccessKey</a>)</p>
20
- * </li>
21
- * <li>
22
- * <p>Signing certificate (<a>DeleteSigningCertificate</a>)</p>
23
- * </li>
24
- * <li>
25
- * <p>SSH public key (<a>DeleteSSHPublicKey</a>)</p>
26
- * </li>
27
- * <li>
28
- * <p>Git credentials (<a>DeleteServiceSpecificCredential</a>)</p>
29
- * </li>
30
- * <li>
31
- * <p>Multi-factor authentication (MFA) device (<a>DeactivateMFADevice</a>, <a>DeleteVirtualMFADevice</a>)</p>
32
- * </li>
33
- * <li>
34
- * <p>Inline policies (<a>DeleteUserPolicy</a>)</p>
35
- * </li>
36
- * <li>
37
- * <p>Attached managed policies (<a>DetachUserPolicy</a>)</p>
38
- * </li>
39
- * <li>
40
- * <p>Group memberships (<a>RemoveUserFromGroup</a>)</p>
41
- * </li>
42
- * </ul>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { IAMClient, DeleteUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
47
- * // const { IAMClient, DeleteUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
48
- * const client = new IAMClient(config);
49
- * const command = new DeleteUserCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link DeleteUserCommandInput} for command's `input` shape.
54
- * @see {@link DeleteUserCommandOutput} for command's `response` shape.
55
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
9
+
58
10
  export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, IAMClientResolvedConfig> {
59
11
  readonly input: DeleteUserCommandInput;
60
12
  constructor(input: DeleteUserCommandInput);
61
- /**
62
- * @internal
63
- */
13
+
64
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteUserCommandInput, DeleteUserCommandOutput>;
65
15
  private serialize;
66
16
  private deserialize;
@@ -6,34 +6,11 @@ export interface DeleteUserPermissionsBoundaryCommandInput extends DeleteUserPer
6
6
  }
7
7
  export interface DeleteUserPermissionsBoundaryCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the permissions boundary for the specified IAM user.</p>
11
- * <important>
12
- * <p>Deleting the permissions boundary for a user might increase its permissions by
13
- * allowing the user to perform all the actions granted in its permissions policies.
14
- * </p>
15
- * </important>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { IAMClient, DeleteUserPermissionsBoundaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
20
- * // const { IAMClient, DeleteUserPermissionsBoundaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
21
- * const client = new IAMClient(config);
22
- * const command = new DeleteUserPermissionsBoundaryCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DeleteUserPermissionsBoundaryCommandInput} for command's `input` shape.
27
- * @see {@link DeleteUserPermissionsBoundaryCommandOutput} for command's `response` shape.
28
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
9
+
31
10
  export declare class DeleteUserPermissionsBoundaryCommand extends $Command<DeleteUserPermissionsBoundaryCommandInput, DeleteUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig> {
32
11
  readonly input: DeleteUserPermissionsBoundaryCommandInput;
33
12
  constructor(input: DeleteUserPermissionsBoundaryCommandInput);
34
- /**
35
- * @internal
36
- */
13
+
37
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteUserPermissionsBoundaryCommandInput, DeleteUserPermissionsBoundaryCommandOutput>;
38
15
  private serialize;
39
16
  private deserialize;
@@ -6,34 +6,11 @@ export interface DeleteUserPolicyCommandInput extends DeleteUserPolicyRequest {
6
6
  }
7
7
  export interface DeleteUserPolicyCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified inline policy that is embedded in the specified IAM
11
- * user.</p>
12
- * <p>A user can also have managed policies attached to it. To detach a managed policy from
13
- * a user, use <a>DetachUserPolicy</a>. For more information about policies,
14
- * refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
15
- * policies</a> in the <i>IAM User Guide</i>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { IAMClient, DeleteUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
20
- * // const { IAMClient, DeleteUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
21
- * const client = new IAMClient(config);
22
- * const command = new DeleteUserPolicyCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DeleteUserPolicyCommandInput} for command's `input` shape.
27
- * @see {@link DeleteUserPolicyCommandOutput} for command's `response` shape.
28
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
9
+
31
10
  export declare class DeleteUserPolicyCommand extends $Command<DeleteUserPolicyCommandInput, DeleteUserPolicyCommandOutput, IAMClientResolvedConfig> {
32
11
  readonly input: DeleteUserPolicyCommandInput;
33
12
  constructor(input: DeleteUserPolicyCommandInput);
34
- /**
35
- * @internal
36
- */
13
+
37
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteUserPolicyCommandInput, DeleteUserPolicyCommandOutput>;
38
15
  private serialize;
39
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface DeleteVirtualMFADeviceCommandInput extends DeleteVirtualMFADevi
6
6
  }
7
7
  export interface DeleteVirtualMFADeviceCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes a virtual MFA device.</p>
11
- * <note>
12
- * <p> You must deactivate a user's virtual MFA device before you can delete it. For
13
- * information about deactivating MFA devices, see <a>DeactivateMFADevice</a>. </p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { IAMClient, DeleteVirtualMFADeviceCommand } from "@aws-sdk/client-iam"; // ES Modules import
19
- * // const { IAMClient, DeleteVirtualMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
20
- * const client = new IAMClient(config);
21
- * const command = new DeleteVirtualMFADeviceCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DeleteVirtualMFADeviceCommandInput} for command's `input` shape.
26
- * @see {@link DeleteVirtualMFADeviceCommandOutput} for command's `response` shape.
27
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class DeleteVirtualMFADeviceCommand extends $Command<DeleteVirtualMFADeviceCommandInput, DeleteVirtualMFADeviceCommandOutput, IAMClientResolvedConfig> {
31
11
  readonly input: DeleteVirtualMFADeviceCommandInput;
32
12
  constructor(input: DeleteVirtualMFADeviceCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVirtualMFADeviceCommandInput, DeleteVirtualMFADeviceCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface DetachGroupPolicyCommandInput extends DetachGroupPolicyRequest
6
6
  }
7
7
  export interface DetachGroupPolicyCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Removes the specified managed policy from the specified IAM group.</p>
11
- * <p>A group can also have inline policies embedded with it. To delete an inline policy,
12
- * use <a>DeleteGroupPolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
13
- * policies and inline policies</a> in the
14
- * <i>IAM User Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { IAMClient, DetachGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
19
- * // const { IAMClient, DetachGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
20
- * const client = new IAMClient(config);
21
- * const command = new DetachGroupPolicyCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DetachGroupPolicyCommandInput} for command's `input` shape.
26
- * @see {@link DetachGroupPolicyCommandOutput} for command's `response` shape.
27
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class DetachGroupPolicyCommand extends $Command<DetachGroupPolicyCommandInput, DetachGroupPolicyCommandOutput, IAMClientResolvedConfig> {
31
11
  readonly input: DetachGroupPolicyCommandInput;
32
12
  constructor(input: DetachGroupPolicyCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DetachGroupPolicyCommandInput, DetachGroupPolicyCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface DetachRolePolicyCommandInput extends DetachRolePolicyRequest {
6
6
  }
7
7
  export interface DetachRolePolicyCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Removes the specified managed policy from the specified role.</p>
11
- * <p>A role can also have inline policies embedded with it. To delete an inline policy, use
12
- * <a>DeleteRolePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
13
- * policies and inline policies</a> in the
14
- * <i>IAM User Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { IAMClient, DetachRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
19
- * // const { IAMClient, DetachRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
20
- * const client = new IAMClient(config);
21
- * const command = new DetachRolePolicyCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DetachRolePolicyCommandInput} for command's `input` shape.
26
- * @see {@link DetachRolePolicyCommandOutput} for command's `response` shape.
27
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class DetachRolePolicyCommand extends $Command<DetachRolePolicyCommandInput, DetachRolePolicyCommandOutput, IAMClientResolvedConfig> {
31
11
  readonly input: DetachRolePolicyCommandInput;
32
12
  constructor(input: DetachRolePolicyCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DetachRolePolicyCommandInput, DetachRolePolicyCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface DetachUserPolicyCommandInput extends DetachUserPolicyRequest {
6
6
  }
7
7
  export interface DetachUserPolicyCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Removes the specified managed policy from the specified user.</p>
11
- * <p>A user can also have inline policies embedded with it. To delete an inline policy, use
12
- * <a>DeleteUserPolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
13
- * policies and inline policies</a> in the
14
- * <i>IAM User Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { IAMClient, DetachUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
19
- * // const { IAMClient, DetachUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
20
- * const client = new IAMClient(config);
21
- * const command = new DetachUserPolicyCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DetachUserPolicyCommandInput} for command's `input` shape.
26
- * @see {@link DetachUserPolicyCommandOutput} for command's `response` shape.
27
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class DetachUserPolicyCommand extends $Command<DetachUserPolicyCommandInput, DetachUserPolicyCommandOutput, IAMClientResolvedConfig> {
31
11
  readonly input: DetachUserPolicyCommandInput;
32
12
  constructor(input: DetachUserPolicyCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DetachUserPolicyCommandInput, DetachUserPolicyCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface EnableMFADeviceCommandInput extends EnableMFADeviceRequest {
6
6
  }
7
7
  export interface EnableMFADeviceCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Enables the specified MFA device and associates it with the specified IAM user. When
11
- * enabled, the MFA device is required for every subsequent login by the IAM user
12
- * associated with the device.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { IAMClient, EnableMFADeviceCommand } from "@aws-sdk/client-iam"; // ES Modules import
17
- * // const { IAMClient, EnableMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
18
- * const client = new IAMClient(config);
19
- * const command = new EnableMFADeviceCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link EnableMFADeviceCommandInput} for command's `input` shape.
24
- * @see {@link EnableMFADeviceCommandOutput} for command's `response` shape.
25
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class EnableMFADeviceCommand extends $Command<EnableMFADeviceCommandInput, EnableMFADeviceCommandOutput, IAMClientResolvedConfig> {
29
11
  readonly input: EnableMFADeviceCommandInput;
30
12
  constructor(input: EnableMFADeviceCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableMFADeviceCommandInput, EnableMFADeviceCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface GenerateCredentialReportCommandInput {
6
6
  }
7
7
  export interface GenerateCredentialReportCommandOutput extends GenerateCredentialReportResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p> Generates a credential report for the Amazon Web Services account. For more information about the
11
- * credential report, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in
12
- * the <i>IAM User Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { IAMClient, GenerateCredentialReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
17
- * // const { IAMClient, GenerateCredentialReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
18
- * const client = new IAMClient(config);
19
- * const command = new GenerateCredentialReportCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GenerateCredentialReportCommandInput} for command's `input` shape.
24
- * @see {@link GenerateCredentialReportCommandOutput} for command's `response` shape.
25
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class GenerateCredentialReportCommand extends $Command<GenerateCredentialReportCommandInput, GenerateCredentialReportCommandOutput, IAMClientResolvedConfig> {
29
11
  readonly input: GenerateCredentialReportCommandInput;
30
12
  constructor(input: GenerateCredentialReportCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GenerateCredentialReportCommandInput, GenerateCredentialReportCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,160 +6,11 @@ export interface GenerateOrganizationsAccessReportCommandInput extends GenerateO
6
6
  }
7
7
  export interface GenerateOrganizationsAccessReportCommandOutput extends GenerateOrganizationsAccessReportResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Generates a report for service last accessed data for Organizations. You can generate a
11
- * report for any entities (organization root, organizational unit, or account) or policies
12
- * in your organization.</p>
13
- * <p>To call this operation, you must be signed in using your Organizations management account
14
- * credentials. You can use your long-term IAM user or root user credentials, or
15
- * temporary credentials from assuming an IAM role. SCPs must be enabled for your
16
- * organization root. You must have the required IAM and Organizations permissions. For more
17
- * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Refining permissions using
18
- * service last accessed data</a> in the
19
- * <i>IAM User Guide</i>.</p>
20
- * <p>You can generate a service last accessed data report for entities by specifying only
21
- * the entity's path. This data includes a list of services that are allowed by any service
22
- * control policies (SCPs) that apply to the entity.</p>
23
- * <p>You can generate a service last accessed data report for a policy by specifying an
24
- * entity's path and an optional Organizations policy ID. This data includes a list of services that
25
- * are allowed by the specified SCP.</p>
26
- * <p>For each service in both report types, the data includes the most recent account
27
- * activity that the policy allows to account principals in the entity or the entity's
28
- * children. For important information about the data, reporting period, permissions
29
- * required, troubleshooting, and supported Regions see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using
30
- * service last accessed data</a> in the
31
- * <i>IAM User Guide</i>.</p>
32
- * <important>
33
- * <p>The data includes all attempts to access Amazon Web Services, not just the successful ones. This
34
- * includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any
35
- * of the SDKs, or any of the command line tools. An unexpected entry in the service
36
- * last accessed data does not mean that an account has been compromised, because the
37
- * request might have been denied. Refer to your CloudTrail logs as the authoritative
38
- * source for information about all API calls and whether they were successful or
39
- * denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM events with
40
- * CloudTrail</a> in the <i>IAM User Guide</i>.</p>
41
- * </important>
42
- * <p>This operation returns a <code>JobId</code>. Use this parameter in the <code>
43
- * <a>GetOrganizationsAccessReport</a>
44
- * </code> operation to check the status of
45
- * the report generation. To check the status of this request, use the <code>JobId</code>
46
- * parameter in the <code>
47
- * <a>GetOrganizationsAccessReport</a>
48
- * </code> operation
49
- * and test the <code>JobStatus</code> response parameter. When the job is complete, you
50
- * can retrieve the report.</p>
51
- * <p>To generate a service last accessed data report for entities, specify an entity path
52
- * without specifying the optional Organizations policy ID. The type of entity that you specify
53
- * determines the data returned in the report.</p>
54
- * <ul>
55
- * <li>
56
- * <p>
57
- * <b>Root</b> – When you specify the
58
- * organizations root as the entity, the resulting report lists all of the services
59
- * allowed by SCPs that are attached to your root. For each service, the report
60
- * includes data for all accounts in your organization except the
61
- * management account, because the management account is not limited by SCPs.</p>
62
- * </li>
63
- * <li>
64
- * <p>
65
- * <b>OU</b> – When you specify an
66
- * organizational unit (OU) as the entity, the resulting report lists all of the
67
- * services allowed by SCPs that are attached to the OU and its parents. For each
68
- * service, the report includes data for all accounts in the OU or its children.
69
- * This data excludes the management account, because the management account is not
70
- * limited by SCPs.</p>
71
- * </li>
72
- * <li>
73
- * <p>
74
- * <b>management account</b> – When you specify the
75
- * management account, the resulting report lists all Amazon Web Services services, because the
76
- * management account is not limited by SCPs. For each service, the report includes
77
- * data for only the management account.</p>
78
- * </li>
79
- * <li>
80
- * <p>
81
- * <b>Account</b> – When you specify another
82
- * account as the entity, the resulting report lists all of the services allowed by
83
- * SCPs that are attached to the account and its parents. For each service, the
84
- * report includes data for only the specified account.</p>
85
- * </li>
86
- * </ul>
87
- * <p>To generate a service last accessed data report for policies, specify an entity path
88
- * and the optional Organizations policy ID. The type of entity that you specify determines the data
89
- * returned for each service.</p>
90
- * <ul>
91
- * <li>
92
- * <p>
93
- * <b>Root</b> – When you specify the root
94
- * entity and a policy ID, the resulting report lists all of the services that are
95
- * allowed by the specified SCP. For each service, the report includes data for all
96
- * accounts in your organization to which the SCP applies. This data excludes the
97
- * management account, because the management account is not limited by SCPs. If the
98
- * SCP is not attached to any entities in the organization, then the report will
99
- * return a list of services with no data.</p>
100
- * </li>
101
- * <li>
102
- * <p>
103
- * <b>OU</b> – When you specify an OU entity and
104
- * a policy ID, the resulting report lists all of the services that are allowed by
105
- * the specified SCP. For each service, the report includes data for all accounts
106
- * in the OU or its children to which the SCP applies. This means that other
107
- * accounts outside the OU that are affected by the SCP might not be included in
108
- * the data. This data excludes the management account, because the
109
- * management account is not limited by SCPs. If the SCP is not attached to the OU
110
- * or one of its children, the report will return a list of services with no
111
- * data.</p>
112
- * </li>
113
- * <li>
114
- * <p>
115
- * <b>management account</b> – When you specify the
116
- * management account, the resulting report lists all Amazon Web Services services, because the
117
- * management account is not limited by SCPs. If you specify a policy ID in the CLI
118
- * or API, the policy is ignored. For each service, the report includes data for
119
- * only the management account.</p>
120
- * </li>
121
- * <li>
122
- * <p>
123
- * <b>Account</b> – When you specify another
124
- * account entity and a policy ID, the resulting report lists all of the services
125
- * that are allowed by the specified SCP. For each service, the report includes
126
- * data for only the specified account. This means that other accounts in the
127
- * organization that are affected by the SCP might not be included in the data. If
128
- * the SCP is not attached to the account, the report will return a list of
129
- * services with no data.</p>
130
- * </li>
131
- * </ul>
132
- * <note>
133
- * <p>Service last accessed data does not use other policy types when determining
134
- * whether a principal could access a service. These other policy types include
135
- * identity-based policies, resource-based policies, access control lists, IAM
136
- * permissions boundaries, and STS assume role policies. It only applies SCP logic.
137
- * For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
138
- * <i>IAM User Guide</i>.</p>
139
- * </note>
140
- * <p>For more information about service last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing policy scope by
141
- * viewing user activity</a> in the <i>IAM User Guide</i>.</p>
142
- * @example
143
- * Use a bare-bones client and the command you need to make an API call.
144
- * ```javascript
145
- * import { IAMClient, GenerateOrganizationsAccessReportCommand } from "@aws-sdk/client-iam"; // ES Modules import
146
- * // const { IAMClient, GenerateOrganizationsAccessReportCommand } = require("@aws-sdk/client-iam"); // CommonJS import
147
- * const client = new IAMClient(config);
148
- * const command = new GenerateOrganizationsAccessReportCommand(input);
149
- * const response = await client.send(command);
150
- * ```
151
- *
152
- * @see {@link GenerateOrganizationsAccessReportCommandInput} for command's `input` shape.
153
- * @see {@link GenerateOrganizationsAccessReportCommandOutput} for command's `response` shape.
154
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
155
- *
156
- */
9
+
157
10
  export declare class GenerateOrganizationsAccessReportCommand extends $Command<GenerateOrganizationsAccessReportCommandInput, GenerateOrganizationsAccessReportCommandOutput, IAMClientResolvedConfig> {
158
11
  readonly input: GenerateOrganizationsAccessReportCommandInput;
159
12
  constructor(input: GenerateOrganizationsAccessReportCommandInput);
160
- /**
161
- * @internal
162
- */
13
+
163
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GenerateOrganizationsAccessReportCommandInput, GenerateOrganizationsAccessReportCommandOutput>;
164
15
  private serialize;
165
16
  private deserialize;
@@ -6,82 +6,11 @@ export interface GenerateServiceLastAccessedDetailsCommandInput extends Generate
6
6
  }
7
7
  export interface GenerateServiceLastAccessedDetailsCommandOutput extends GenerateServiceLastAccessedDetailsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Generates a report that includes details about when an IAM resource (user, group,
11
- * role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity
12
- * usually appears within four hours. IAM reports activity for the last 365 days, or less
13
- * if your Region began supporting this feature within the last year. For more information,
14
- * 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>.</p>
15
- * <important>
16
- * <p>The service last accessed data includes all attempts to access an Amazon Web Services API, not
17
- * just the successful ones. This includes all attempts that were made using the
18
- * Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools.
19
- * An unexpected entry in the service last accessed data does not mean that your
20
- * account has been compromised, because the request might have been denied. Refer to
21
- * your CloudTrail logs as the authoritative source for information about all API calls
22
- * and whether they were successful or denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging
23
- * IAM events with CloudTrail</a> in the
24
- * <i>IAM User Guide</i>.</p>
25
- * </important>
26
- * <p>The <code>GenerateServiceLastAccessedDetails</code> operation returns a
27
- * <code>JobId</code>. Use this parameter in the following operations to retrieve the
28
- * following details from your report: </p>
29
- * <ul>
30
- * <li>
31
- * <p>
32
- * <a>GetServiceLastAccessedDetails</a> – Use this operation
33
- * for users, groups, roles, or policies to list every Amazon Web Services service that the
34
- * resource could access using permissions policies. For each service, the response
35
- * includes information about the most recent access attempt.</p>
36
- * <p>The <code>JobId</code> returned by
37
- * <code>GenerateServiceLastAccessedDetail</code> must be used by the same role
38
- * within a session, or by the same user when used to call
39
- * <code>GetServiceLastAccessedDetail</code>.</p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <a>GetServiceLastAccessedDetailsWithEntities</a> – Use this
44
- * operation for groups and policies to list information about the associated
45
- * entities (users or roles) that attempted to access a specific Amazon Web Services service.
46
- * </p>
47
- * </li>
48
- * </ul>
49
- * <p>To check the status of the <code>GenerateServiceLastAccessedDetails</code> request,
50
- * use the <code>JobId</code> parameter in the same operations and test the
51
- * <code>JobStatus</code> response parameter.</p>
52
- * <p>For additional information about the permissions policies that allow an identity
53
- * (user, group, or role) to access specific services, use the <a>ListPoliciesGrantingServiceAccess</a> operation.</p>
54
- * <note>
55
- * <p>Service last accessed data does not use other policy types when determining
56
- * whether a resource could access a service. These other policy types include
57
- * resource-based policies, access control lists, Organizations policies, IAM
58
- * permissions boundaries, and STS assume role policies. It only applies
59
- * permissions policy logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
60
- * <i>IAM User Guide</i>.</p>
61
- * </note>
62
- * <p>For more information about service and action last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using service last accessed data</a> in the
63
- * <i>IAM User Guide</i>.</p>
64
- * @example
65
- * Use a bare-bones client and the command you need to make an API call.
66
- * ```javascript
67
- * import { IAMClient, GenerateServiceLastAccessedDetailsCommand } from "@aws-sdk/client-iam"; // ES Modules import
68
- * // const { IAMClient, GenerateServiceLastAccessedDetailsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
69
- * const client = new IAMClient(config);
70
- * const command = new GenerateServiceLastAccessedDetailsCommand(input);
71
- * const response = await client.send(command);
72
- * ```
73
- *
74
- * @see {@link GenerateServiceLastAccessedDetailsCommandInput} for command's `input` shape.
75
- * @see {@link GenerateServiceLastAccessedDetailsCommandOutput} for command's `response` shape.
76
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
77
- *
78
- */
9
+
79
10
  export declare class GenerateServiceLastAccessedDetailsCommand extends $Command<GenerateServiceLastAccessedDetailsCommandInput, GenerateServiceLastAccessedDetailsCommandOutput, IAMClientResolvedConfig> {
80
11
  readonly input: GenerateServiceLastAccessedDetailsCommandInput;
81
12
  constructor(input: GenerateServiceLastAccessedDetailsCommandInput);
82
- /**
83
- * @internal
84
- */
13
+
85
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GenerateServiceLastAccessedDetailsCommandInput, GenerateServiceLastAccessedDetailsCommandOutput>;
86
15
  private serialize;
87
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface GetAccessKeyLastUsedCommandInput extends GetAccessKeyLastUsedRe
6
6
  }
7
7
  export interface GetAccessKeyLastUsedCommandOutput extends GetAccessKeyLastUsedResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves information about when the specified access key was last used. The
11
- * information includes the date and time of last use, along with the Amazon Web Services service and
12
- * Region that were specified in the last request made with that key.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { IAMClient, GetAccessKeyLastUsedCommand } from "@aws-sdk/client-iam"; // ES Modules import
17
- * // const { IAMClient, GetAccessKeyLastUsedCommand } = require("@aws-sdk/client-iam"); // CommonJS import
18
- * const client = new IAMClient(config);
19
- * const command = new GetAccessKeyLastUsedCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GetAccessKeyLastUsedCommandInput} for command's `input` shape.
24
- * @see {@link GetAccessKeyLastUsedCommandOutput} for command's `response` shape.
25
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class GetAccessKeyLastUsedCommand extends $Command<GetAccessKeyLastUsedCommandInput, GetAccessKeyLastUsedCommandOutput, IAMClientResolvedConfig> {
29
11
  readonly input: GetAccessKeyLastUsedCommandInput;
30
12
  constructor(input: GetAccessKeyLastUsedCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccessKeyLastUsedCommandInput, GetAccessKeyLastUsedCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;