@jjrawlins/cdk-iam-policy-builder-helper 0.0.29 → 0.0.31

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 (249) hide show
  1. package/.jsii +58 -310
  2. package/.mergify.yml +4 -3
  3. package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
  4. package/cdk-iam-policy-builder-helper/version +1 -1
  5. package/lib/bin/create-actions-json.js +5 -4
  6. package/lib/bin/download-managed-policies-json.js +3 -2
  7. package/lib/constructs/Actions.d.ts +22 -1
  8. package/lib/constructs/Actions.js +23 -2
  9. package/lib/constructs/ManagedPolicies.d.ts +4 -8
  10. package/lib/constructs/ManagedPolicies.js +5 -9
  11. package/methods_list.txt +22 -1
  12. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +2 -0
  13. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +2 -0
  14. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AddUserToGroupCommand.d.ts +2 -0
  15. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachGroupPolicyCommand.d.ts +2 -0
  16. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachRolePolicyCommand.d.ts +2 -0
  17. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AttachUserPolicyCommand.d.ts +2 -0
  18. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ChangePasswordCommand.d.ts +2 -0
  19. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateAccessKeyCommand.d.ts +2 -0
  20. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateAccountAliasCommand.d.ts +2 -0
  21. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateGroupCommand.d.ts +2 -0
  22. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +2 -0
  23. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -0
  24. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +2 -0
  25. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreatePolicyCommand.d.ts +2 -0
  26. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreatePolicyVersionCommand.d.ts +2 -0
  27. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +2 -0
  28. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateSAMLProviderCommand.d.ts +2 -0
  29. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +2 -0
  30. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +2 -0
  31. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateUserCommand.d.ts +2 -0
  32. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +2 -0
  33. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeactivateMFADeviceCommand.d.ts +2 -0
  34. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccessKeyCommand.d.ts +2 -0
  35. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccountAliasCommand.d.ts +2 -0
  36. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +2 -0
  37. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteGroupCommand.d.ts +2 -0
  38. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteGroupPolicyCommand.d.ts +2 -0
  39. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteInstanceProfileCommand.d.ts +2 -0
  40. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteLoginProfileCommand.d.ts +2 -0
  41. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -0
  42. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeletePolicyCommand.d.ts +2 -0
  43. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeletePolicyVersionCommand.d.ts +2 -0
  44. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRoleCommand.d.ts +2 -0
  45. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -0
  46. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteRolePolicyCommand.d.ts +2 -0
  47. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSAMLProviderCommand.d.ts +2 -0
  48. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +2 -0
  49. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServerCertificateCommand.d.ts +2 -0
  50. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -0
  51. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +2 -0
  52. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteSigningCertificateCommand.d.ts +2 -0
  53. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  54. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -0
  55. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteUserPolicyCommand.d.ts +2 -0
  56. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -0
  57. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachGroupPolicyCommand.d.ts +2 -0
  58. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachRolePolicyCommand.d.ts +2 -0
  59. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DetachUserPolicyCommand.d.ts +2 -0
  60. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +2 -0
  61. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +2 -0
  62. package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableMFADeviceCommand.d.ts +2 -0
  63. package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +2 -0
  64. package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +2 -0
  65. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateCredentialReportCommand.d.ts +2 -0
  66. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -0
  67. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -0
  68. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +2 -0
  69. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -0
  70. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +2 -0
  71. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountSummaryCommand.d.ts +2 -0
  72. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +2 -0
  74. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetCredentialReportCommand.d.ts +2 -0
  75. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetGroupCommand.d.ts +2 -0
  76. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetGroupPolicyCommand.d.ts +2 -0
  77. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +2 -0
  78. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetLoginProfileCommand.d.ts +2 -0
  79. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetMFADeviceCommand.d.ts +2 -0
  80. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +2 -0
  81. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +2 -0
  82. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetPolicyCommand.d.ts +2 -0
  83. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetPolicyVersionCommand.d.ts +2 -0
  84. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +2 -0
  85. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRolePolicyCommand.d.ts +2 -0
  86. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetSAMLProviderCommand.d.ts +2 -0
  87. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetSSHPublicKeyCommand.d.ts +2 -0
  88. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServerCertificateCommand.d.ts +2 -0
  89. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +2 -0
  90. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +2 -0
  91. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +2 -0
  92. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetUserCommand.d.ts +2 -0
  93. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetUserPolicyCommand.d.ts +2 -0
  94. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAccessKeysCommand.d.ts +2 -0
  95. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAccountAliasesCommand.d.ts +2 -0
  96. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -0
  97. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +2 -0
  98. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +2 -0
  99. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +2 -0
  100. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupPoliciesCommand.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupsCommand.d.ts +2 -0
  102. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListGroupsForUserCommand.d.ts +2 -0
  103. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +2 -0
  104. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +2 -0
  105. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +2 -0
  106. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListMFADeviceTagsCommand.d.ts +2 -0
  107. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListMFADevicesCommand.d.ts +2 -0
  108. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +2 -0
  109. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -0
  110. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +2 -0
  111. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPoliciesCommand.d.ts +2 -0
  112. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +2 -0
  113. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPolicyTagsCommand.d.ts +2 -0
  114. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListPolicyVersionsCommand.d.ts +2 -0
  115. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolePoliciesCommand.d.ts +2 -0
  116. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRoleTagsCommand.d.ts +2 -0
  117. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +2 -0
  118. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +2 -0
  119. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSAMLProvidersCommand.d.ts +2 -0
  120. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSSHPublicKeysCommand.d.ts +2 -0
  121. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServerCertificateTagsCommand.d.ts +2 -0
  122. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServerCertificatesCommand.d.ts +2 -0
  123. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +2 -0
  124. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListSigningCertificatesCommand.d.ts +2 -0
  125. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUserPoliciesCommand.d.ts +2 -0
  126. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUserTagsCommand.d.ts +2 -0
  127. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListUsersCommand.d.ts +2 -0
  128. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +2 -0
  129. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +2 -0
  130. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +2 -0
  131. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +2 -0
  132. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -0
  133. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +2 -0
  134. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +2 -0
  135. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +2 -0
  136. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +2 -0
  137. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +2 -0
  138. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +2 -0
  139. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +2 -0
  140. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +2 -0
  141. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +2 -0
  142. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +2 -0
  143. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagInstanceProfileCommand.d.ts +2 -0
  144. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagMFADeviceCommand.d.ts +2 -0
  145. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +2 -0
  146. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagPolicyCommand.d.ts +2 -0
  147. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagRoleCommand.d.ts +2 -0
  148. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +2 -0
  149. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +2 -0
  150. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +2 -0
  151. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +2 -0
  152. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +2 -0
  153. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +2 -0
  154. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +2 -0
  155. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +2 -0
  156. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +2 -0
  157. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +2 -0
  158. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +2 -0
  159. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +2 -0
  160. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +2 -0
  161. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +2 -0
  162. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +2 -0
  163. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.d.ts +2 -0
  164. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +2 -0
  165. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleCommand.d.ts +2 -0
  166. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +2 -0
  167. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSAMLProviderCommand.d.ts +2 -0
  168. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +2 -0
  169. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateServerCertificateCommand.d.ts +2 -0
  170. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +2 -0
  171. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateSigningCertificateCommand.d.ts +2 -0
  172. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateUserCommand.d.ts +2 -0
  173. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +2 -0
  174. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadServerCertificateCommand.d.ts +2 -0
  175. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UploadSigningCertificateCommand.d.ts +2 -0
  176. package/node_modules/@aws-sdk/client-iam/package.json +19 -19
  177. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -0
  178. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -0
  179. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -0
  180. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -0
  181. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  182. package/node_modules/@aws-sdk/core/package.json +5 -5
  183. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  184. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
  185. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  186. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  187. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  188. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -12
  189. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -2
  190. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -1
  191. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  192. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +19 -3
  193. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +8 -0
  194. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +7 -2
  195. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
  196. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +3 -0
  197. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  198. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -1
  199. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +3 -1
  200. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -4
  201. package/node_modules/@aws-sdk/middleware-host-header/package.json +1 -1
  202. package/node_modules/@aws-sdk/middleware-logger/package.json +1 -1
  203. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
  204. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  205. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +2 -0
  206. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -0
  208. package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
  209. package/node_modules/@aws-sdk/region-config-resolver/package.json +3 -3
  210. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  211. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  212. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
  213. package/node_modules/@smithy/config-resolver/package.json +2 -2
  214. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +1 -1
  215. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +1 -1
  216. package/node_modules/@smithy/core/package.json +2 -2
  217. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  218. package/node_modules/@smithy/middleware-endpoint/package.json +4 -4
  219. package/node_modules/@smithy/middleware-retry/package.json +5 -5
  220. package/node_modules/@smithy/node-config-provider/package.json +2 -2
  221. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -2
  222. package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -2
  223. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  224. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/externalDataInterceptor.js +1 -0
  225. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +5 -1
  226. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +24 -2
  227. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +9 -5
  228. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  229. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +4 -0
  230. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +2 -1
  231. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +5 -1
  232. package/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  233. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +5 -1
  234. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +2 -1
  235. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +2 -0
  236. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  237. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +5 -1
  238. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +2 -1
  239. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +2 -0
  240. package/node_modules/@smithy/shared-ini-file-loader/package.json +1 -1
  241. package/node_modules/@smithy/smithy-client/package.json +4 -4
  242. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  243. package/node_modules/@smithy/util-defaults-mode-node/package.json +5 -5
  244. package/node_modules/@smithy/util-endpoints/package.json +2 -2
  245. package/node_modules/@smithy/util-retry/package.json +5 -3
  246. package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
  247. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
  248. package/node_modules/@smithy/util-stream/package.json +1 -1
  249. package/package.json +5 -5
@@ -56,6 +56,8 @@ declare const UploadServerCertificateCommand_base: {
56
56
  * ```javascript
57
57
  * import { IAMClient, UploadServerCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
58
58
  * // const { IAMClient, UploadServerCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
59
+ * // import type { IAMClientConfig } from "@aws-sdk/client-iam";
60
+ * const config = {}; // type is IAMClientConfig
59
61
  * const client = new IAMClient(config);
60
62
  * const input = { // UploadServerCertificateRequest
61
63
  * Path: "STRING_VALUE",
@@ -52,6 +52,8 @@ declare const UploadSigningCertificateCommand_base: {
52
52
  * ```javascript
53
53
  * import { IAMClient, UploadSigningCertificateCommand } from "@aws-sdk/client-iam"; // ES Modules import
54
54
  * // const { IAMClient, UploadSigningCertificateCommand } = require("@aws-sdk/client-iam"); // CommonJS import
55
+ * // import type { IAMClientConfig } from "@aws-sdk/client-iam";
56
+ * const config = {}; // type is IAMClientConfig
55
57
  * const client = new IAMClient(config);
56
58
  * const input = { // UploadSigningCertificateRequest
57
59
  * UserName: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.888.0",
4
+ "version": "3.891.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.888.0",
24
- "@aws-sdk/credential-provider-node": "3.888.0",
25
- "@aws-sdk/middleware-host-header": "3.887.0",
26
- "@aws-sdk/middleware-logger": "3.887.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
- "@aws-sdk/middleware-user-agent": "3.888.0",
29
- "@aws-sdk/region-config-resolver": "3.887.0",
23
+ "@aws-sdk/core": "3.890.0",
24
+ "@aws-sdk/credential-provider-node": "3.891.0",
25
+ "@aws-sdk/middleware-host-header": "3.891.0",
26
+ "@aws-sdk/middleware-logger": "3.891.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
28
+ "@aws-sdk/middleware-user-agent": "3.891.0",
29
+ "@aws-sdk/region-config-resolver": "3.890.0",
30
30
  "@aws-sdk/types": "3.887.0",
31
- "@aws-sdk/util-endpoints": "3.887.0",
31
+ "@aws-sdk/util-endpoints": "3.891.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.887.0",
33
- "@aws-sdk/util-user-agent-node": "3.888.0",
34
- "@smithy/config-resolver": "^4.2.1",
33
+ "@aws-sdk/util-user-agent-node": "3.891.0",
34
+ "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.0",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
37
37
  "@smithy/hash-node": "^4.1.1",
38
38
  "@smithy/invalid-dependency": "^4.1.1",
39
39
  "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.1",
41
- "@smithy/middleware-retry": "^4.2.1",
40
+ "@smithy/middleware-endpoint": "^4.2.2",
41
+ "@smithy/middleware-retry": "^4.2.3",
42
42
  "@smithy/middleware-serde": "^4.1.1",
43
43
  "@smithy/middleware-stack": "^4.1.1",
44
- "@smithy/node-config-provider": "^4.2.1",
44
+ "@smithy/node-config-provider": "^4.2.2",
45
45
  "@smithy/node-http-handler": "^4.2.1",
46
46
  "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.1",
47
+ "@smithy/smithy-client": "^4.6.2",
48
48
  "@smithy/types": "^4.5.0",
49
49
  "@smithy/url-parser": "^4.1.1",
50
50
  "@smithy/util-base64": "^4.1.0",
51
51
  "@smithy/util-body-length-browser": "^4.1.0",
52
52
  "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.1",
54
- "@smithy/util-defaults-mode-node": "^4.1.1",
55
- "@smithy/util-endpoints": "^3.1.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.2",
54
+ "@smithy/util-defaults-mode-node": "^4.1.2",
55
+ "@smithy/util-endpoints": "^3.1.2",
56
56
  "@smithy/util-middleware": "^4.1.1",
57
- "@smithy/util-retry": "^4.1.1",
57
+ "@smithy/util-retry": "^4.1.2",
58
58
  "@smithy/util-utf8": "^4.1.0",
59
59
  "@smithy/util-waiter": "^4.1.1",
60
60
  "tslib": "^2.6.2"
@@ -34,6 +34,8 @@ declare const GetRoleCredentialsCommand_base: {
34
34
  * ```javascript
35
35
  * import { SSOClient, GetRoleCredentialsCommand } from "@aws-sdk/client-sso"; // ES Modules import
36
36
  * // const { SSOClient, GetRoleCredentialsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
37
+ * // import type { SSOClientConfig } from "@aws-sdk/client-sso";
38
+ * const config = {}; // type is SSOClientConfig
37
39
  * const client = new SSOClient(config);
38
40
  * const input = { // GetRoleCredentialsRequest
39
41
  * roleName: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const ListAccountRolesCommand_base: {
33
33
  * ```javascript
34
34
  * import { SSOClient, ListAccountRolesCommand } from "@aws-sdk/client-sso"; // ES Modules import
35
35
  * // const { SSOClient, ListAccountRolesCommand } = require("@aws-sdk/client-sso"); // CommonJS import
36
+ * // import type { SSOClientConfig } from "@aws-sdk/client-sso";
37
+ * const config = {}; // type is SSOClientConfig
36
38
  * const client = new SSOClient(config);
37
39
  * const input = { // ListAccountRolesRequest
38
40
  * nextToken: "STRING_VALUE",
@@ -35,6 +35,8 @@ declare const ListAccountsCommand_base: {
35
35
  * ```javascript
36
36
  * import { SSOClient, ListAccountsCommand } from "@aws-sdk/client-sso"; // ES Modules import
37
37
  * // const { SSOClient, ListAccountsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
38
+ * // import type { SSOClientConfig } from "@aws-sdk/client-sso";
39
+ * const config = {}; // type is SSOClientConfig
38
40
  * const client = new SSOClient(config);
39
41
  * const input = { // ListAccountsRequest
40
42
  * nextToken: "STRING_VALUE",
@@ -46,6 +46,8 @@ declare const LogoutCommand_base: {
46
46
  * ```javascript
47
47
  * import { SSOClient, LogoutCommand } from "@aws-sdk/client-sso"; // ES Modules import
48
48
  * // const { SSOClient, LogoutCommand } = require("@aws-sdk/client-sso"); // CommonJS import
49
+ * // import type { SSOClientConfig } from "@aws-sdk/client-sso";
50
+ * const config = {}; // type is SSOClientConfig
49
51
  * const client = new SSOClient(config);
50
52
  * const input = { // LogoutRequest
51
53
  * accessToken: "STRING_VALUE", // required
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.888.0",
4
+ "version": "3.891.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.888.0",
24
- "@aws-sdk/middleware-host-header": "3.887.0",
25
- "@aws-sdk/middleware-logger": "3.887.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
27
- "@aws-sdk/middleware-user-agent": "3.888.0",
28
- "@aws-sdk/region-config-resolver": "3.887.0",
23
+ "@aws-sdk/core": "3.890.0",
24
+ "@aws-sdk/middleware-host-header": "3.891.0",
25
+ "@aws-sdk/middleware-logger": "3.891.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
27
+ "@aws-sdk/middleware-user-agent": "3.891.0",
28
+ "@aws-sdk/region-config-resolver": "3.890.0",
29
29
  "@aws-sdk/types": "3.887.0",
30
- "@aws-sdk/util-endpoints": "3.887.0",
30
+ "@aws-sdk/util-endpoints": "3.891.0",
31
31
  "@aws-sdk/util-user-agent-browser": "3.887.0",
32
- "@aws-sdk/util-user-agent-node": "3.888.0",
33
- "@smithy/config-resolver": "^4.2.1",
32
+ "@aws-sdk/util-user-agent-node": "3.891.0",
33
+ "@smithy/config-resolver": "^4.2.2",
34
34
  "@smithy/core": "^3.11.0",
35
35
  "@smithy/fetch-http-handler": "^5.2.1",
36
36
  "@smithy/hash-node": "^4.1.1",
37
37
  "@smithy/invalid-dependency": "^4.1.1",
38
38
  "@smithy/middleware-content-length": "^4.1.1",
39
- "@smithy/middleware-endpoint": "^4.2.1",
40
- "@smithy/middleware-retry": "^4.2.1",
39
+ "@smithy/middleware-endpoint": "^4.2.2",
40
+ "@smithy/middleware-retry": "^4.2.3",
41
41
  "@smithy/middleware-serde": "^4.1.1",
42
42
  "@smithy/middleware-stack": "^4.1.1",
43
- "@smithy/node-config-provider": "^4.2.1",
43
+ "@smithy/node-config-provider": "^4.2.2",
44
44
  "@smithy/node-http-handler": "^4.2.1",
45
45
  "@smithy/protocol-http": "^5.2.1",
46
- "@smithy/smithy-client": "^4.6.1",
46
+ "@smithy/smithy-client": "^4.6.2",
47
47
  "@smithy/types": "^4.5.0",
48
48
  "@smithy/url-parser": "^4.1.1",
49
49
  "@smithy/util-base64": "^4.1.0",
50
50
  "@smithy/util-body-length-browser": "^4.1.0",
51
51
  "@smithy/util-body-length-node": "^4.1.0",
52
- "@smithy/util-defaults-mode-browser": "^4.1.1",
53
- "@smithy/util-defaults-mode-node": "^4.1.1",
54
- "@smithy/util-endpoints": "^3.1.1",
52
+ "@smithy/util-defaults-mode-browser": "^4.1.2",
53
+ "@smithy/util-defaults-mode-node": "^4.1.2",
54
+ "@smithy/util-endpoints": "^3.1.2",
55
55
  "@smithy/util-middleware": "^4.1.1",
56
- "@smithy/util-retry": "^4.1.1",
56
+ "@smithy/util-retry": "^4.1.2",
57
57
  "@smithy/util-utf8": "^4.1.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.888.0",
3
+ "version": "3.890.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -84,11 +84,11 @@
84
84
  "@aws-sdk/types": "3.887.0",
85
85
  "@aws-sdk/xml-builder": "3.887.0",
86
86
  "@smithy/core": "^3.11.0",
87
- "@smithy/node-config-provider": "^4.2.1",
88
- "@smithy/property-provider": "^4.0.5",
87
+ "@smithy/node-config-provider": "^4.2.2",
88
+ "@smithy/property-provider": "^4.1.1",
89
89
  "@smithy/protocol-http": "^5.2.1",
90
- "@smithy/signature-v4": "^5.1.3",
91
- "@smithy/smithy-client": "^4.6.1",
90
+ "@smithy/signature-v4": "^5.2.1",
91
+ "@smithy/smithy-client": "^4.6.2",
92
92
  "@smithy/types": "^4.5.0",
93
93
  "@smithy/util-base64": "^4.1.0",
94
94
  "@smithy/util-body-length-browser": "^4.1.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.888.0",
3
+ "version": "3.890.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.888.0",
28
+ "@aws-sdk/core": "3.890.0",
29
29
  "@aws-sdk/types": "3.887.0",
30
- "@smithy/property-provider": "^4.0.5",
30
+ "@smithy/property-provider": "^4.1.1",
31
31
  "@smithy/types": "^4.5.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
@@ -46,7 +46,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
46
46
  }
47
47
  const url = new URL(host);
48
48
  (0, checkUrl_1.checkUrl)(url, options.logger);
49
- const requestHandler = new node_http_handler_1.NodeHttpHandler({
49
+ const requestHandler = node_http_handler_1.NodeHttpHandler.create({
50
50
  requestTimeout: options.timeout ?? 1000,
51
51
  connectionTimeout: options.timeout ?? 1000,
52
52
  });
@@ -42,7 +42,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
42
42
  }
43
43
  const url = new URL(host);
44
44
  checkUrl(url, options.logger);
45
- const requestHandler = new NodeHttpHandler({
45
+ const requestHandler = NodeHttpHandler.create({
46
46
  requestTimeout: options.timeout ?? 1000,
47
47
  connectionTimeout: options.timeout ?? 1000,
48
48
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.888.0",
3
+ "version": "3.890.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.888.0",
30
+ "@aws-sdk/core": "3.890.0",
31
31
  "@aws-sdk/types": "3.887.0",
32
32
  "@smithy/fetch-http-handler": "^5.2.1",
33
33
  "@smithy/node-http-handler": "^4.2.1",
34
- "@smithy/property-provider": "^4.0.5",
34
+ "@smithy/property-provider": "^4.1.1",
35
35
  "@smithy/protocol-http": "^5.2.1",
36
- "@smithy/smithy-client": "^4.6.1",
36
+ "@smithy/smithy-client": "^4.6.2",
37
37
  "@smithy/types": "^4.5.0",
38
38
  "@smithy/util-stream": "^4.3.1",
39
39
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,17 +27,17 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.888.0",
31
- "@aws-sdk/credential-provider-env": "3.888.0",
32
- "@aws-sdk/credential-provider-http": "3.888.0",
33
- "@aws-sdk/credential-provider-process": "3.888.0",
34
- "@aws-sdk/credential-provider-sso": "3.888.0",
35
- "@aws-sdk/credential-provider-web-identity": "3.888.0",
36
- "@aws-sdk/nested-clients": "3.888.0",
30
+ "@aws-sdk/core": "3.890.0",
31
+ "@aws-sdk/credential-provider-env": "3.890.0",
32
+ "@aws-sdk/credential-provider-http": "3.890.0",
33
+ "@aws-sdk/credential-provider-process": "3.890.0",
34
+ "@aws-sdk/credential-provider-sso": "3.891.0",
35
+ "@aws-sdk/credential-provider-web-identity": "3.891.0",
36
+ "@aws-sdk/nested-clients": "3.891.0",
37
37
  "@aws-sdk/types": "3.887.0",
38
- "@smithy/credential-provider-imds": "^4.0.7",
39
- "@smithy/property-provider": "^4.0.5",
40
- "@smithy/shared-ini-file-loader": "^4.0.5",
38
+ "@smithy/credential-provider-imds": "^4.1.2",
39
+ "@smithy/property-provider": "^4.1.1",
40
+ "@smithy/shared-ini-file-loader": "^4.2.0",
41
41
  "@smithy/types": "^4.5.0",
42
42
  "tslib": "^2.6.2"
43
43
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -16,8 +16,9 @@
16
16
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
17
17
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
18
18
  "test": "yarn g:vitest run",
19
- "test:integration": "yarn g:jest -c jest.config.integ.js",
20
- "test:watch": "yarn g:vitest watch"
19
+ "test:watch": "yarn g:vitest watch",
20
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
21
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
21
22
  },
22
23
  "keywords": [
23
24
  "aws",
@@ -29,16 +30,16 @@
29
30
  },
30
31
  "license": "Apache-2.0",
31
32
  "dependencies": {
32
- "@aws-sdk/credential-provider-env": "3.888.0",
33
- "@aws-sdk/credential-provider-http": "3.888.0",
34
- "@aws-sdk/credential-provider-ini": "3.888.0",
35
- "@aws-sdk/credential-provider-process": "3.888.0",
36
- "@aws-sdk/credential-provider-sso": "3.888.0",
37
- "@aws-sdk/credential-provider-web-identity": "3.888.0",
33
+ "@aws-sdk/credential-provider-env": "3.890.0",
34
+ "@aws-sdk/credential-provider-http": "3.890.0",
35
+ "@aws-sdk/credential-provider-ini": "3.891.0",
36
+ "@aws-sdk/credential-provider-process": "3.890.0",
37
+ "@aws-sdk/credential-provider-sso": "3.891.0",
38
+ "@aws-sdk/credential-provider-web-identity": "3.891.0",
38
39
  "@aws-sdk/types": "3.887.0",
39
- "@smithy/credential-provider-imds": "^4.0.7",
40
- "@smithy/property-provider": "^4.0.5",
41
- "@smithy/shared-ini-file-loader": "^4.0.5",
40
+ "@smithy/credential-provider-imds": "^4.1.2",
41
+ "@smithy/property-provider": "^4.1.1",
42
+ "@smithy/shared-ini-file-loader": "^4.2.0",
42
43
  "@smithy/types": "^4.5.0",
43
44
  "tslib": "^2.6.2"
44
45
  },
@@ -26,10 +26,11 @@ __export(index_exports, {
26
26
  module.exports = __toCommonJS(index_exports);
27
27
 
28
28
  // src/fromProcess.ts
29
- var import_shared_ini_file_loader = require("@smithy/shared-ini-file-loader");
29
+
30
30
 
31
31
  // src/resolveProcessCredentials.ts
32
32
  var import_property_provider = require("@smithy/property-provider");
33
+ var import_shared_ini_file_loader = require("@smithy/shared-ini-file-loader");
33
34
  var import_child_process = require("child_process");
34
35
  var import_util = require("util");
35
36
 
@@ -71,7 +72,7 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
71
72
  if (profiles[profileName]) {
72
73
  const credentialProcess = profile["credential_process"];
73
74
  if (credentialProcess !== void 0) {
74
- const execPromise = (0, import_util.promisify)(import_child_process.exec);
75
+ const execPromise = (0, import_util.promisify)(import_shared_ini_file_loader.externalDataInterceptor?.getTokenRecord?.().exec ?? import_child_process.exec);
75
76
  try {
76
77
  const { stdout } = await execPromise(credentialProcess);
77
78
  let data;
@@ -1,4 +1,5 @@
1
1
  import { CredentialsProviderError } from "@smithy/property-provider";
2
+ import { externalDataInterceptor } from "@smithy/shared-ini-file-loader";
2
3
  import { exec } from "child_process";
3
4
  import { promisify } from "util";
4
5
  import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials";
@@ -7,7 +8,7 @@ export const resolveProcessCredentials = async (profileName, profiles, logger) =
7
8
  if (profiles[profileName]) {
8
9
  const credentialProcess = profile["credential_process"];
9
10
  if (credentialProcess !== undefined) {
10
- const execPromise = promisify(exec);
11
+ const execPromise = promisify(externalDataInterceptor?.getTokenRecord?.().exec ?? exec);
11
12
  try {
12
13
  const { stdout } = await execPromise(credentialProcess);
13
14
  let data;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.888.0",
3
+ "version": "3.890.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.888.0",
28
+ "@aws-sdk/core": "3.890.0",
29
29
  "@aws-sdk/types": "3.887.0",
30
- "@smithy/property-provider": "^4.0.5",
31
- "@smithy/shared-ini-file-loader": "^4.0.5",
30
+ "@smithy/property-provider": "^4.1.1",
31
+ "@smithy/shared-ini-file-loader": "^4.2.0",
32
32
  "@smithy/types": "^4.5.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
@@ -67,13 +67,21 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
67
67
  clientConfig,
68
68
  parentClientConfig,
69
69
  profile,
70
+ filepath,
71
+ configFilepath,
72
+ ignoreCache,
70
73
  logger
71
74
  }) => {
72
75
  let token;
73
76
  const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
74
77
  if (ssoSession) {
75
78
  try {
76
- const _token = await (0, import_token_providers.fromSso)({ profile })();
79
+ const _token = await (0, import_token_providers.fromSso)({
80
+ profile,
81
+ filepath,
82
+ configFilepath,
83
+ ignoreCache
84
+ })();
77
85
  token = {
78
86
  accessToken: _token.token,
79
87
  expiresAt: new Date(_token.expiration).toISOString()
@@ -215,7 +223,11 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig
215
223
  ssoClient,
216
224
  clientConfig: init.clientConfig,
217
225
  parentClientConfig: init.parentClientConfig,
218
- profile: profileName
226
+ profile: profileName,
227
+ filepath: init.filepath,
228
+ configFilepath: init.configFilepath,
229
+ ignoreCache: init.ignoreCache,
230
+ logger: init.logger
219
231
  });
220
232
  } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {
221
233
  throw new import_property_provider.CredentialsProviderError(
@@ -232,7 +244,11 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig
232
244
  ssoClient,
233
245
  clientConfig: init.clientConfig,
234
246
  parentClientConfig: init.parentClientConfig,
235
- profile: profileName
247
+ profile: profileName,
248
+ filepath: init.filepath,
249
+ configFilepath: init.configFilepath,
250
+ ignoreCache: init.ignoreCache,
251
+ logger: init.logger
236
252
  });
237
253
  }
238
254
  }, "fromSSO");
@@ -51,6 +51,10 @@ export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
51
51
  clientConfig: init.clientConfig,
52
52
  parentClientConfig: init.parentClientConfig,
53
53
  profile: profileName,
54
+ filepath: init.filepath,
55
+ configFilepath: init.configFilepath,
56
+ ignoreCache: init.ignoreCache,
57
+ logger: init.logger,
54
58
  });
55
59
  }
56
60
  else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {
@@ -68,6 +72,10 @@ export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
68
72
  clientConfig: init.clientConfig,
69
73
  parentClientConfig: init.parentClientConfig,
70
74
  profile: profileName,
75
+ filepath: init.filepath,
76
+ configFilepath: init.configFilepath,
77
+ ignoreCache: init.ignoreCache,
78
+ logger: init.logger,
71
79
  });
72
80
  }
73
81
  };
@@ -3,12 +3,17 @@ import { fromSso as getSsoTokenProvider } from "@aws-sdk/token-providers";
3
3
  import { CredentialsProviderError } from "@smithy/property-provider";
4
4
  import { getSSOTokenFromFile } from "@smithy/shared-ini-file-loader";
5
5
  const SHOULD_FAIL_CREDENTIAL_CHAIN = false;
6
- export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, logger, }) => {
6
+ export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => {
7
7
  let token;
8
8
  const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
9
9
  if (ssoSession) {
10
10
  try {
11
- const _token = await getSsoTokenProvider({ profile })();
11
+ const _token = await getSsoTokenProvider({
12
+ profile,
13
+ filepath,
14
+ configFilepath,
15
+ ignoreCache,
16
+ })();
12
17
  token = {
13
18
  accessToken: _token.token,
14
19
  expiresAt: new Date(_token.expiration).toISOString(),
@@ -3,4 +3,4 @@ import { FromSSOInit, SsoCredentialsParameters } from "./fromSSO";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
6
+ export declare const resolveSSOCredentials: ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
@@ -10,5 +10,8 @@ export declare const resolveSSOCredentials: ({
10
10
  clientConfig,
11
11
  parentClientConfig,
12
12
  profile,
13
+ filepath,
14
+ configFilepath,
15
+ ignoreCache,
13
16
  logger,
14
17
  }: FromSSOInit & SsoCredentialsParameters) => Promise<AwsCredentialIdentity>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,12 +25,12 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso": "3.888.0",
29
- "@aws-sdk/core": "3.888.0",
30
- "@aws-sdk/token-providers": "3.888.0",
28
+ "@aws-sdk/client-sso": "3.891.0",
29
+ "@aws-sdk/core": "3.890.0",
30
+ "@aws-sdk/token-providers": "3.891.0",
31
31
  "@aws-sdk/types": "3.887.0",
32
- "@smithy/property-provider": "^4.0.5",
33
- "@smithy/shared-ini-file-loader": "^4.0.5",
32
+ "@smithy/property-provider": "^4.1.1",
33
+ "@smithy/shared-ini-file-loader": "^4.2.0",
34
34
  "@smithy/types": "^4.5.0",
35
35
  "tslib": "^2.6.2"
36
36
  },
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.fromTokenFile = void 0;
4
4
  const client_1 = require("@aws-sdk/core/client");
5
5
  const property_provider_1 = require("@smithy/property-provider");
6
+ const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader");
6
7
  const fs_1 = require("fs");
7
8
  const fromWebToken_1 = require("./fromWebToken");
8
9
  const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
@@ -20,7 +21,8 @@ const fromTokenFile = (init = {}) => async () => {
20
21
  }
21
22
  const credentials = await (0, fromWebToken_1.fromWebToken)({
22
23
  ...init,
23
- webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }),
24
+ webIdentityToken: shared_ini_file_loader_1.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??
25
+ (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }),
24
26
  roleArn,
25
27
  roleSessionName,
26
28
  })();
@@ -1,5 +1,6 @@
1
1
  import { setCredentialFeature } from "@aws-sdk/core/client";
2
2
  import { CredentialsProviderError } from "@smithy/property-provider";
3
+ import { externalDataInterceptor } from "@smithy/shared-ini-file-loader";
3
4
  import { readFileSync } from "fs";
4
5
  import { fromWebToken } from "./fromWebToken";
5
6
  const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
@@ -17,7 +18,8 @@ export const fromTokenFile = (init = {}) => async () => {
17
18
  }
18
19
  const credentials = await fromWebToken({
19
20
  ...init,
20
- webIdentityToken: readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
21
+ webIdentityToken: externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??
22
+ readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
21
23
  roleArn,
22
24
  roleSessionName,
23
25
  })();