@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iam
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
20
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
package/dist-cjs/IAM.js CHANGED
@@ -160,13 +160,6 @@ const UploadServerCertificateCommand_1 = require("./commands/UploadServerCertifi
160
160
  const UploadSigningCertificateCommand_1 = require("./commands/UploadSigningCertificateCommand");
161
161
  const UploadSSHPublicKeyCommand_1 = require("./commands/UploadSSHPublicKeyCommand");
162
162
  const IAMClient_1 = require("./IAMClient");
163
- /**
164
- * <fullname>Identity and Access Management</fullname>
165
- * <p>Identity and Access Management (IAM) is a web service for securely controlling
166
- * access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials
167
- * such as access keys, and permissions that control which Amazon Web Services resources users and
168
- * applications can access. For more information about IAM, see <a href="http://aws.amazon.com/iam/">Identity and Access Management (IAM)</a> and the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/">Identity and Access Management User Guide</a>.</p>
169
- */
170
163
  class IAM extends IAMClient_1.IAMClient {
171
164
  addClientIDToOpenIDConnectProvider(args, optionsOrCb, cb) {
172
165
  const command = new AddClientIDToOpenIDConnectProviderCommand_1.AddClientIDToOpenIDConnectProviderCommand(args);
@@ -10,13 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>Identity and Access Management</fullname>
15
- * <p>Identity and Access Management (IAM) is a web service for securely controlling
16
- * access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials
17
- * such as access keys, and permissions that control which Amazon Web Services resources users and
18
- * applications can access. For more information about IAM, see <a href="http://aws.amazon.com/iam/">Identity and Access Management (IAM)</a> and the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/">Identity and Access Management User Guide</a>.</p>
19
- */
20
13
  class IAMClient extends smithy_client_1.Client {
21
14
  constructor(configuration) {
22
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -35,11 +28,6 @@ class IAMClient extends smithy_client_1.Client {
35
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
36
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
37
30
  }
38
- /**
39
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
40
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
41
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
42
- */
43
31
  destroy() {
44
32
  super.destroy();
45
33
  }
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Adds a new client ID (also known as audience) to the list of client IDs already
10
- * registered for the specified IAM OpenID Connect (OIDC) provider resource.</p>
11
- * <p>This operation is idempotent; it does not fail or return an error if you add an
12
- * existing client ID to the provider.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { IAMClient, AddClientIDToOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
17
- * // const { IAMClient, AddClientIDToOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
18
- * const client = new IAMClient(config);
19
- * const command = new AddClientIDToOpenIDConnectProviderCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link AddClientIDToOpenIDConnectProviderCommandInput} for command's `input` shape.
24
- * @see {@link AddClientIDToOpenIDConnectProviderCommandOutput} for command's `response` shape.
25
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class AddClientIDToOpenIDConnectProviderCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Adds the specified IAM role to the specified instance profile. An instance profile
10
- * can contain only one role, and this quota cannot be increased. You can remove the
11
- * existing role and then add a different role to an instance profile. You must then wait
12
- * for the change to appear across all of Amazon Web Services because of <a href="https://en.wikipedia.org/wiki/Eventual_consistency">eventual
13
- * consistency</a>. To force the change, you must <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateIamInstanceProfile.html">disassociate the instance profile</a> and then <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateIamInstanceProfile.html">associate the
14
- * instance profile</a>, or you can stop your instance and then restart it.</p>
15
- * <note>
16
- * <p>The caller of this operation must be granted the <code>PassRole</code> permission
17
- * on the IAM role by a permissions policy.</p>
18
- * </note>
19
- * <p>For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>. For more
20
- * information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
21
- * profiles</a>.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { IAMClient, AddRoleToInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
26
- * // const { IAMClient, AddRoleToInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
27
- * const client = new IAMClient(config);
28
- * const command = new AddRoleToInstanceProfileCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link AddRoleToInstanceProfileCommandInput} for command's `input` shape.
33
- * @see {@link AddRoleToInstanceProfileCommandOutput} for command's `response` shape.
34
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class AddRoleToInstanceProfileCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Adds the specified user to the specified group.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { IAMClient, AddUserToGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
14
- * // const { IAMClient, AddUserToGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
15
- * const client = new IAMClient(config);
16
- * const command = new AddUserToGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AddUserToGroupCommandInput} for command's `input` shape.
21
- * @see {@link AddUserToGroupCommandOutput} for command's `response` shape.
22
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AddUserToGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Attaches the specified managed policy to the specified IAM group.</p>
10
- * <p>You use this operation to attach a managed policy to a group. To embed an inline
11
- * policy in a group, use <a>PutGroupPolicy</a>.</p>
12
- * <p>As a best practice, you can validate your IAM policies.
13
- * To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
14
- * in the <i>IAM User Guide</i>.</p>
15
- * <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
16
- * policies</a> in the <i>IAM User Guide</i>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { IAMClient, AttachGroupPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
21
- * // const { IAMClient, AttachGroupPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
22
- * const client = new IAMClient(config);
23
- * const command = new AttachGroupPolicyCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link AttachGroupPolicyCommandInput} for command's `input` shape.
28
- * @see {@link AttachGroupPolicyCommandOutput} for command's `response` shape.
29
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class AttachGroupPolicyCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,49 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Attaches the specified managed policy to the specified IAM role. When you attach a
10
- * managed policy to a role, the managed policy becomes part of the role's permission
11
- * (access) policy.</p>
12
- * <note>
13
- * <p>You cannot use a managed policy as the role's trust policy. The role's trust
14
- * policy is created at the same time as the role, using <a>CreateRole</a>.
15
- * You can update a role's trust policy using <a>UpdateAssumeRolePolicy</a>.</p>
16
- * </note>
17
- * <p>Use this operation to attach a <i>managed</i> policy to a role. To embed
18
- * an inline policy in a role, use <a>PutRolePolicy</a>. For more information
19
- * about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
20
- * policies</a> in the <i>IAM User Guide</i>.</p>
21
- * <p>As a best practice, you can validate your IAM policies.
22
- * To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
23
- * in the <i>IAM User Guide</i>.</p>
24
- * @example
25
- * Use a bare-bones client and the command you need to make an API call.
26
- * ```javascript
27
- * import { IAMClient, AttachRolePolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
28
- * // const { IAMClient, AttachRolePolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
29
- * const client = new IAMClient(config);
30
- * const command = new AttachRolePolicyCommand(input);
31
- * const response = await client.send(command);
32
- * ```
33
- *
34
- * @see {@link AttachRolePolicyCommandInput} for command's `input` shape.
35
- * @see {@link AttachRolePolicyCommandOutput} for command's `response` shape.
36
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
37
- *
38
- */
39
8
  class AttachRolePolicyCommand extends smithy_client_1.Command {
40
- // Start section: command_properties
41
- // End section: command_properties
42
9
  constructor(input) {
43
- // Start section: command_constructor
44
10
  super();
45
11
  this.input = input;
46
- // End section: command_constructor
47
12
  }
48
- /**
49
- * @internal
50
- */
51
13
  resolveMiddleware(clientStack, configuration, options) {
52
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
53
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Attaches the specified managed policy to the specified user.</p>
10
- * <p>You use this operation to attach a <i>managed</i> policy to a user. To
11
- * embed an inline policy in a user, use <a>PutUserPolicy</a>.</p>
12
- * <p>As a best practice, you can validate your IAM policies.
13
- * To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
14
- * in the <i>IAM User Guide</i>.</p>
15
- * <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
16
- * policies</a> in the <i>IAM User Guide</i>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { IAMClient, AttachUserPolicyCommand } from "@aws-sdk/client-iam"; // ES Modules import
21
- * // const { IAMClient, AttachUserPolicyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
22
- * const client = new IAMClient(config);
23
- * const command = new AttachUserPolicyCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link AttachUserPolicyCommandInput} for command's `input` shape.
28
- * @see {@link AttachUserPolicyCommandOutput} for command's `response` shape.
29
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class AttachUserPolicyCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Changes the password of the IAM user who is calling this operation. This operation
10
- *
11
- * can be performed using the CLI, the Amazon Web Services API, or the <b>My
12
- * Security Credentials</b> page in the Amazon Web Services Management Console. The Amazon Web Services account root user
13
- * password is not affected by this operation.</p>
14
- * <p>Use <a>UpdateLoginProfile</a> to use the CLI, the Amazon Web Services API, or the
15
- * <b>Users</b> page in the IAM console to change the
16
- * password for any IAM user. For more information about modifying passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing
17
- * passwords</a> in the <i>IAM User Guide</i>.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { IAMClient, ChangePasswordCommand } from "@aws-sdk/client-iam"; // ES Modules import
22
- * // const { IAMClient, ChangePasswordCommand } = require("@aws-sdk/client-iam"); // CommonJS import
23
- * const client = new IAMClient(config);
24
- * const command = new ChangePasswordCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link ChangePasswordCommandInput} for command's `input` shape.
29
- * @see {@link ChangePasswordCommandOutput} for command's `response` shape.
30
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class ChangePasswordCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p> Creates a new Amazon Web Services secret access key and corresponding Amazon Web Services access key ID for the
10
- * specified user. The default status for new keys is <code>Active</code>.</p>
11
- * <p>If you do not specify a user name, IAM determines the user name implicitly based on
12
- * the Amazon Web Services access key ID signing the request. This operation works for access keys under
13
- * the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root
14
- * user credentials. This is true even if the Amazon Web Services account has no associated users.</p>
15
- * <p> For information about quotas on the number of keys you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
16
- * quotas</a> in the <i>IAM User Guide</i>.</p>
17
- * <important>
18
- * <p>To ensure the security of your Amazon Web Services account, the secret access key is accessible
19
- * only during key and user creation. You must save the key (for example, in a text
20
- * file) if you want to be able to access it again. If a secret key is lost, you can
21
- * delete the access keys for the associated user and then create new keys.</p>
22
- * </important>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { IAMClient, CreateAccessKeyCommand } from "@aws-sdk/client-iam"; // ES Modules import
27
- * // const { IAMClient, CreateAccessKeyCommand } = require("@aws-sdk/client-iam"); // CommonJS import
28
- * const client = new IAMClient(config);
29
- * const command = new CreateAccessKeyCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link CreateAccessKeyCommandInput} for command's `input` shape.
34
- * @see {@link CreateAccessKeyCommandOutput} for command's `response` shape.
35
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class CreateAccessKeyCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account
10
- * alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an
11
- * alias for your Amazon Web Services account ID</a> in the
12
- * <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, CreateAccountAliasCommand } from "@aws-sdk/client-iam"; // ES Modules import
17
- * // const { IAMClient, CreateAccountAliasCommand } = require("@aws-sdk/client-iam"); // CommonJS import
18
- * const client = new IAMClient(config);
19
- * const command = new CreateAccountAliasCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link CreateAccountAliasCommandInput} for command's `input` shape.
24
- * @see {@link CreateAccountAliasCommandOutput} for command's `response` shape.
25
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class CreateAccountAliasCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Creates a new group.</p>
10
- * <p> For information about the number of groups you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
11
- * quotas</a> in the <i>IAM User Guide</i>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { IAMClient, CreateGroupCommand } from "@aws-sdk/client-iam"; // ES Modules import
16
- * // const { IAMClient, CreateGroupCommand } = require("@aws-sdk/client-iam"); // CommonJS import
17
- * const client = new IAMClient(config);
18
- * const command = new CreateGroupCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateGroupCommandInput} for command's `input` shape.
23
- * @see {@link CreateGroupCommandOutput} for command's `response` shape.
24
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CreateGroupCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p> Creates a new instance profile. For information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html">Using
10
- * roles for applications on Amazon EC2</a> in the
11
- * <i>IAM User Guide</i>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#ec2-instance-profile">Instance profiles</a> in the <i>Amazon EC2 User Guide</i>.</p>
12
- * <p> For information about the number of instance profiles you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM object
13
- * quotas</a> in the <i>IAM User Guide</i>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { IAMClient, CreateInstanceProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
18
- * // const { IAMClient, CreateInstanceProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
19
- * const client = new IAMClient(config);
20
- * const command = new CreateInstanceProfileCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link CreateInstanceProfileCommandInput} for command's `input` shape.
25
- * @see {@link CreateInstanceProfileCommandOutput} for command's `response` shape.
26
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class CreateInstanceProfileCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Creates a password for the specified IAM user. A password allows an IAM user to
10
- * access Amazon Web Services services through the Amazon Web Services Management Console.</p>
11
- * <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b> page in the IAM console to create a password for any IAM user.
12
- * Use <a>ChangePassword</a> to update your own existing password in the
13
- * <b>My Security Credentials</b> page in the
14
- * Amazon Web Services Management Console.</p>
15
- * <p>For more information about managing passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
16
- * <i>IAM User Guide</i>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { IAMClient, CreateLoginProfileCommand } from "@aws-sdk/client-iam"; // ES Modules import
21
- * // const { IAMClient, CreateLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
22
- * const client = new IAMClient(config);
23
- * const command = new CreateLoginProfileCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateLoginProfileCommandInput} for command's `input` shape.
28
- * @see {@link CreateLoginProfileCommandOutput} for command's `response` shape.
29
- * @see {@link IAMClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class CreateLoginProfileCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);