@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,10 +33,11 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.888.0",
37
- "@aws-sdk/nested-clients": "3.888.0",
36
+ "@aws-sdk/core": "3.890.0",
37
+ "@aws-sdk/nested-clients": "3.891.0",
38
38
  "@aws-sdk/types": "3.887.0",
39
- "@smithy/property-provider": "^4.0.5",
39
+ "@smithy/property-provider": "^4.1.1",
40
+ "@smithy/shared-ini-file-loader": "^4.2.0",
40
41
  "@smithy/types": "^4.5.0",
41
42
  "tslib": "^2.6.2"
42
43
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-host-header",
3
- "version": "3.887.0",
3
+ "version": "3.891.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.887.0",
3
+ "version": "3.891.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-logger",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.887.0",
3
+ "version": "3.891.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.888.0",
27
+ "@aws-sdk/core": "3.890.0",
28
28
  "@aws-sdk/types": "3.887.0",
29
- "@aws-sdk/util-endpoints": "3.887.0",
29
+ "@aws-sdk/util-endpoints": "3.891.0",
30
30
  "@smithy/core": "^3.11.0",
31
31
  "@smithy/protocol-http": "^5.2.1",
32
32
  "@smithy/types": "^4.5.0",
@@ -35,6 +35,8 @@ declare const CreateTokenCommand_base: {
35
35
  * ```javascript
36
36
  * import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
37
37
  * // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
38
+ * // import type { SSOOIDCClientConfig } from "@aws-sdk/client-sso-oidc";
39
+ * const config = {}; // type is SSOOIDCClientConfig
38
40
  * const client = new SSOOIDCClient(config);
39
41
  * const input = { // CreateTokenRequest
40
42
  * clientId: "STRING_VALUE", // required
@@ -120,6 +120,8 @@ declare const AssumeRoleCommand_base: {
120
120
  * ```javascript
121
121
  * import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts"; // ES Modules import
122
122
  * // const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts"); // CommonJS import
123
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
124
+ * const config = {}; // type is STSClientConfig
123
125
  * const client = new STSClient(config);
124
126
  * const input = { // AssumeRoleRequest
125
127
  * RoleArn: "STRING_VALUE", // required
@@ -149,6 +149,8 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
149
149
  * ```javascript
150
150
  * import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
151
151
  * // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
152
+ * // import type { STSClientConfig } from "@aws-sdk/client-sts";
153
+ * const config = {}; // type is STSClientConfig
152
154
  * const client = new STSClient(config);
153
155
  * const input = { // AssumeRoleWithWebIdentityRequest
154
156
  * RoleArn: "STRING_VALUE", // required
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,40 +28,40 @@
28
28
  "dependencies": {
29
29
  "@aws-crypto/sha256-browser": "5.2.0",
30
30
  "@aws-crypto/sha256-js": "5.2.0",
31
- "@aws-sdk/core": "3.888.0",
32
- "@aws-sdk/middleware-host-header": "3.887.0",
33
- "@aws-sdk/middleware-logger": "3.887.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
35
- "@aws-sdk/middleware-user-agent": "3.888.0",
36
- "@aws-sdk/region-config-resolver": "3.887.0",
31
+ "@aws-sdk/core": "3.890.0",
32
+ "@aws-sdk/middleware-host-header": "3.891.0",
33
+ "@aws-sdk/middleware-logger": "3.891.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.891.0",
35
+ "@aws-sdk/middleware-user-agent": "3.891.0",
36
+ "@aws-sdk/region-config-resolver": "3.890.0",
37
37
  "@aws-sdk/types": "3.887.0",
38
- "@aws-sdk/util-endpoints": "3.887.0",
38
+ "@aws-sdk/util-endpoints": "3.891.0",
39
39
  "@aws-sdk/util-user-agent-browser": "3.887.0",
40
- "@aws-sdk/util-user-agent-node": "3.888.0",
41
- "@smithy/config-resolver": "^4.2.1",
40
+ "@aws-sdk/util-user-agent-node": "3.891.0",
41
+ "@smithy/config-resolver": "^4.2.2",
42
42
  "@smithy/core": "^3.11.0",
43
43
  "@smithy/fetch-http-handler": "^5.2.1",
44
44
  "@smithy/hash-node": "^4.1.1",
45
45
  "@smithy/invalid-dependency": "^4.1.1",
46
46
  "@smithy/middleware-content-length": "^4.1.1",
47
- "@smithy/middleware-endpoint": "^4.2.1",
48
- "@smithy/middleware-retry": "^4.2.1",
47
+ "@smithy/middleware-endpoint": "^4.2.2",
48
+ "@smithy/middleware-retry": "^4.2.3",
49
49
  "@smithy/middleware-serde": "^4.1.1",
50
50
  "@smithy/middleware-stack": "^4.1.1",
51
- "@smithy/node-config-provider": "^4.2.1",
51
+ "@smithy/node-config-provider": "^4.2.2",
52
52
  "@smithy/node-http-handler": "^4.2.1",
53
53
  "@smithy/protocol-http": "^5.2.1",
54
- "@smithy/smithy-client": "^4.6.1",
54
+ "@smithy/smithy-client": "^4.6.2",
55
55
  "@smithy/types": "^4.5.0",
56
56
  "@smithy/url-parser": "^4.1.1",
57
57
  "@smithy/util-base64": "^4.1.0",
58
58
  "@smithy/util-body-length-browser": "^4.1.0",
59
59
  "@smithy/util-body-length-node": "^4.1.0",
60
- "@smithy/util-defaults-mode-browser": "^4.1.1",
61
- "@smithy/util-defaults-mode-node": "^4.1.1",
62
- "@smithy/util-endpoints": "^3.1.1",
60
+ "@smithy/util-defaults-mode-browser": "^4.1.2",
61
+ "@smithy/util-defaults-mode-node": "^4.1.2",
62
+ "@smithy/util-endpoints": "^3.1.2",
63
63
  "@smithy/util-middleware": "^4.1.1",
64
- "@smithy/util-retry": "^4.1.1",
64
+ "@smithy/util-retry": "^4.1.2",
65
65
  "@smithy/util-utf8": "^4.1.0",
66
66
  "tslib": "^2.6.2"
67
67
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.887.0",
3
+ "version": "3.890.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -23,9 +23,9 @@
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
25
  "@aws-sdk/types": "3.887.0",
26
- "@smithy/node-config-provider": "^4.2.1",
26
+ "@smithy/node-config-provider": "^4.2.2",
27
27
  "@smithy/types": "^4.5.0",
28
- "@smithy/util-config-provider": "^4.0.0",
28
+ "@smithy/util-config-provider": "^4.1.0",
29
29
  "@smithy/util-middleware": "^4.1.1",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.888.0",
33
- "@aws-sdk/nested-clients": "3.888.0",
32
+ "@aws-sdk/core": "3.890.0",
33
+ "@aws-sdk/nested-clients": "3.891.0",
34
34
  "@aws-sdk/types": "3.887.0",
35
- "@smithy/property-provider": "^4.0.5",
36
- "@smithy/shared-ini-file-loader": "^4.0.5",
35
+ "@smithy/property-provider": "^4.1.1",
36
+ "@smithy/shared-ini-file-loader": "^4.2.0",
37
37
  "@smithy/types": "^4.5.0",
38
38
  "tslib": "^2.6.2"
39
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.887.0",
3
+ "version": "3.891.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,7 +28,7 @@
28
28
  "@aws-sdk/types": "3.887.0",
29
29
  "@smithy/types": "^4.5.0",
30
30
  "@smithy/url-parser": "^4.1.1",
31
- "@smithy/util-endpoints": "^3.1.1",
31
+ "@smithy/util-endpoints": "^3.1.2",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.888.0",
3
+ "version": "3.891.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.888.0",
24
+ "@aws-sdk/middleware-user-agent": "3.891.0",
25
25
  "@aws-sdk/types": "3.887.0",
26
- "@smithy/node-config-provider": "^4.2.1",
26
+ "@smithy/node-config-provider": "^4.2.2",
27
27
  "@smithy/types": "^4.5.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/node-config-provider": "^4.2.1",
28
+ "@smithy/node-config-provider": "^4.2.2",
29
29
  "@smithy/types": "^4.5.0",
30
30
  "@smithy/util-config-provider": "^4.1.0",
31
31
  "@smithy/util-middleware": "^4.1.1",
@@ -10,7 +10,7 @@
10
10
  */
11
11
  export declare const cbor: {
12
12
  deserialize(payload: Uint8Array): any;
13
- serialize(input: any): Uint8Array<ArrayBufferLike>;
13
+ serialize(input: any): Uint8Array;
14
14
  /**
15
15
  * @public
16
16
  * @param size - byte length to allocate.
@@ -10,7 +10,7 @@
10
10
  */
11
11
  export declare const cbor: {
12
12
  deserialize(payload: Uint8Array): any;
13
- serialize(input: any): Uint8Array<ArrayBufferLike>;
13
+ serialize(input: any): Uint8Array;
14
14
  /**
15
15
  * @public
16
16
  * @param size - byte length to allocate.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -83,7 +83,7 @@
83
83
  "@smithy/util-base64": "^4.1.0",
84
84
  "@smithy/util-body-length-browser": "^4.1.0",
85
85
  "@smithy/util-middleware": "^4.1.1",
86
- "@smithy/util-stream": "^4.3.1",
86
+ "@smithy/util-stream": "^4.3.2",
87
87
  "@smithy/util-utf8": "^4.1.0",
88
88
  "@types/uuid": "^9.0.1",
89
89
  "tslib": "^2.6.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,7 +28,7 @@
28
28
  "license": "Apache-2.0",
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@smithy/node-config-provider": "^4.2.1",
31
+ "@smithy/node-config-provider": "^4.2.2",
32
32
  "@smithy/property-provider": "^4.1.1",
33
33
  "@smithy/types": "^4.5.0",
34
34
  "@smithy/url-parser": "^4.1.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -25,10 +25,10 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.11.0",
28
+ "@smithy/core": "^3.11.1",
29
29
  "@smithy/middleware-serde": "^4.1.1",
30
- "@smithy/node-config-provider": "^4.2.1",
31
- "@smithy/shared-ini-file-loader": "^4.1.1",
30
+ "@smithy/node-config-provider": "^4.2.2",
31
+ "@smithy/shared-ini-file-loader": "^4.2.0",
32
32
  "@smithy/types": "^4.5.0",
33
33
  "@smithy/url-parser": "^4.1.1",
34
34
  "@smithy/util-middleware": "^4.1.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.2.1",
3
+ "version": "4.2.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -34,13 +34,13 @@
34
34
  "license": "Apache-2.0",
35
35
  "sideEffects": false,
36
36
  "dependencies": {
37
- "@smithy/node-config-provider": "^4.2.1",
37
+ "@smithy/node-config-provider": "^4.2.2",
38
38
  "@smithy/protocol-http": "^5.2.1",
39
- "@smithy/service-error-classification": "^4.1.1",
40
- "@smithy/smithy-client": "^4.6.1",
39
+ "@smithy/service-error-classification": "^4.1.2",
40
+ "@smithy/smithy-client": "^4.6.3",
41
41
  "@smithy/types": "^4.5.0",
42
42
  "@smithy/util-middleware": "^4.1.1",
43
- "@smithy/util-retry": "^4.1.1",
43
+ "@smithy/util-retry": "^4.1.2",
44
44
  "@types/uuid": "^9.0.1",
45
45
  "tslib": "^2.6.2",
46
46
  "uuid": "^9.0.1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -27,7 +27,7 @@
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
29
  "@smithy/property-provider": "^4.1.1",
30
- "@smithy/shared-ini-file-loader": "^4.1.1",
30
+ "@smithy/shared-ini-file-loader": "^4.2.0",
31
31
  "@smithy/types": "^4.5.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
@@ -62,7 +62,7 @@ var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMED
62
62
  var NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND"];
63
63
 
64
64
  // src/index.ts
65
- var isRetryableByTrait = /* @__PURE__ */ __name((error) => error.$retryable !== void 0, "isRetryableByTrait");
65
+ var isRetryableByTrait = /* @__PURE__ */ __name((error) => error?.$retryable !== void 0, "isRetryableByTrait");
66
66
  var isClockSkewError = /* @__PURE__ */ __name((error) => CLOCK_SKEW_ERROR_CODES.includes(error.name), "isClockSkewError");
67
67
  var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
68
68
  var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
@@ -85,7 +85,7 @@ var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
85
85
  return errorMessages.has(error.message);
86
86
  }, "isBrowserNetworkError");
87
87
  var isThrottlingError = /* @__PURE__ */ __name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
88
- var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
88
+ var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isRetryableByTrait(error) || isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
89
89
  var isServerError = /* @__PURE__ */ __name((error) => {
90
90
  if (error.$metadata?.httpStatusCode !== void 0) {
91
91
  const statusCode = error.$metadata.httpStatusCode;
@@ -1,5 +1,5 @@
1
1
  import { CLOCK_SKEW_ERROR_CODES, NODEJS_NETWORK_ERROR_CODES, NODEJS_TIMEOUT_ERROR_CODES, THROTTLING_ERROR_CODES, TRANSIENT_ERROR_CODES, TRANSIENT_ERROR_STATUS_CODES, } from "./constants";
2
- export const isRetryableByTrait = (error) => error.$retryable !== undefined;
2
+ export const isRetryableByTrait = (error) => error?.$retryable !== undefined;
3
3
  export const isClockSkewError = (error) => CLOCK_SKEW_ERROR_CODES.includes(error.name);
4
4
  export const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected;
5
5
  export const isBrowserNetworkError = (error) => {
@@ -19,7 +19,8 @@ export const isBrowserNetworkError = (error) => {
19
19
  export const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||
20
20
  THROTTLING_ERROR_CODES.includes(error.name) ||
21
21
  error.$retryable?.throttling == true;
22
- export const isTransientError = (error, depth = 0) => isClockSkewCorrectedError(error) ||
22
+ export const isTransientError = (error, depth = 0) => isRetryableByTrait(error) ||
23
+ isClockSkewCorrectedError(error) ||
23
24
  TRANSIENT_ERROR_CODES.includes(error.name) ||
24
25
  NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
25
26
  NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") ||
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline service-error-classification",
@@ -0,0 +1 @@
1
+ module.exports = require("./index.js");
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSSOTokenFromFile = void 0;
3
+ exports.getSSOTokenFromFile = exports.tokenIntercept = void 0;
4
4
  const fs_1 = require("fs");
5
5
  const getSSOTokenFilepath_1 = require("./getSSOTokenFilepath");
6
6
  const { readFile } = fs_1.promises;
7
+ exports.tokenIntercept = {};
7
8
  const getSSOTokenFromFile = async (id) => {
9
+ if (exports.tokenIntercept[id]) {
10
+ return exports.tokenIntercept[id];
11
+ }
8
12
  const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id);
9
13
  const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
10
14
  return JSON.parse(ssoTokenText);
@@ -24,7 +24,10 @@ __export(index_exports, {
24
24
  CONFIG_PREFIX_SEPARATOR: () => CONFIG_PREFIX_SEPARATOR,
25
25
  DEFAULT_PROFILE: () => DEFAULT_PROFILE,
26
26
  ENV_PROFILE: () => ENV_PROFILE,
27
+ SSOToken: () => import_getSSOTokenFromFile2.SSOToken,
28
+ externalDataInterceptor: () => externalDataInterceptor,
27
29
  getProfileName: () => getProfileName,
30
+ getSSOTokenFromFile: () => import_getSSOTokenFromFile2.getSSOTokenFromFile,
28
31
  loadSharedConfigFiles: () => loadSharedConfigFiles,
29
32
  loadSsoSessionData: () => loadSsoSessionData,
30
33
  parseKnownFiles: () => parseKnownFiles
@@ -39,7 +42,7 @@ var getProfileName = /* @__PURE__ */ __name((init) => init.profile || process.en
39
42
 
40
43
  // src/index.ts
41
44
  __reExport(index_exports, require("././getSSOTokenFilepath"), module.exports);
42
- __reExport(index_exports, require("././getSSOTokenFromFile"), module.exports);
45
+ var import_getSSOTokenFromFile2 = require("././getSSOTokenFromFile");
43
46
 
44
47
  // src/loadSharedConfigFiles.ts
45
48
 
@@ -189,15 +192,34 @@ var parseKnownFiles = /* @__PURE__ */ __name(async (init) => {
189
192
  const parsedFiles = await loadSharedConfigFiles(init);
190
193
  return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
191
194
  }, "parseKnownFiles");
195
+
196
+ // src/externalDataInterceptor.ts
197
+ var import_getSSOTokenFromFile = require("././getSSOTokenFromFile");
198
+ var import_slurpFile3 = require("././slurpFile");
199
+ var externalDataInterceptor = {
200
+ getFileRecord() {
201
+ return import_slurpFile3.fileIntercept;
202
+ },
203
+ interceptFile(path, contents) {
204
+ import_slurpFile3.fileIntercept[path] = Promise.resolve(contents);
205
+ },
206
+ getTokenRecord() {
207
+ return import_getSSOTokenFromFile.tokenIntercept;
208
+ },
209
+ interceptToken(id, contents) {
210
+ import_getSSOTokenFromFile.tokenIntercept[id] = contents;
211
+ }
212
+ };
192
213
  // Annotate the CommonJS export names for ESM import in node:
193
214
 
194
215
  0 && (module.exports = {
216
+ getSSOTokenFromFile,
217
+ externalDataInterceptor,
195
218
  getHomeDir,
196
219
  ENV_PROFILE,
197
220
  DEFAULT_PROFILE,
198
221
  getProfileName,
199
222
  getSSOTokenFilepath,
200
- getSSOTokenFromFile,
201
223
  CONFIG_PREFIX_SEPARATOR,
202
224
  loadSharedConfigFiles,
203
225
  loadSsoSessionData,
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.slurpFile = void 0;
3
+ exports.slurpFile = exports.fileIntercept = exports.filePromisesHash = void 0;
4
4
  const fs_1 = require("fs");
5
5
  const { readFile } = fs_1.promises;
6
- const filePromisesHash = {};
6
+ exports.filePromisesHash = {};
7
+ exports.fileIntercept = {};
7
8
  const slurpFile = (path, options) => {
8
- if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) {
9
- filePromisesHash[path] = readFile(path, "utf8");
9
+ if (exports.fileIntercept[path] !== undefined) {
10
+ return exports.fileIntercept[path];
10
11
  }
11
- return filePromisesHash[path];
12
+ if (!exports.filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) {
13
+ exports.filePromisesHash[path] = readFile(path, "utf8");
14
+ }
15
+ return exports.filePromisesHash[path];
12
16
  };
13
17
  exports.slurpFile = slurpFile;
@@ -0,0 +1,16 @@
1
+ import { tokenIntercept } from "./getSSOTokenFromFile";
2
+ import { fileIntercept } from "./slurpFile";
3
+ export const externalDataInterceptor = {
4
+ getFileRecord() {
5
+ return fileIntercept;
6
+ },
7
+ interceptFile(path, contents) {
8
+ fileIntercept[path] = Promise.resolve(contents);
9
+ },
10
+ getTokenRecord() {
11
+ return tokenIntercept;
12
+ },
13
+ interceptToken(id, contents) {
14
+ tokenIntercept[id] = contents;
15
+ },
16
+ };
@@ -1,7 +1,11 @@
1
1
  import { promises as fsPromises } from "fs";
2
2
  import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
3
3
  const { readFile } = fsPromises;
4
+ export const tokenIntercept = {};
4
5
  export const getSSOTokenFromFile = async (id) => {
6
+ if (tokenIntercept[id]) {
7
+ return tokenIntercept[id];
8
+ }
5
9
  const ssoTokenFilepath = getSSOTokenFilepath(id);
6
10
  const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
7
11
  return JSON.parse(ssoTokenText);
@@ -1,8 +1,9 @@
1
1
  export * from "./getHomeDir";
2
2
  export * from "./getProfileName";
3
3
  export * from "./getSSOTokenFilepath";
4
- export * from "./getSSOTokenFromFile";
4
+ export { getSSOTokenFromFile } from "./getSSOTokenFromFile";
5
5
  export * from "./loadSharedConfigFiles";
6
6
  export * from "./loadSsoSessionData";
7
7
  export * from "./parseKnownFiles";
8
+ export { externalDataInterceptor } from "./externalDataInterceptor";
8
9
  export * from "./types";
@@ -1,7 +1,11 @@
1
1
  import { promises as fsPromises } from "fs";
2
2
  const { readFile } = fsPromises;
3
- const filePromisesHash = {};
3
+ export const filePromisesHash = {};
4
+ export const fileIntercept = {};
4
5
  export const slurpFile = (path, options) => {
6
+ if (fileIntercept[path] !== undefined) {
7
+ return fileIntercept[path];
8
+ }
5
9
  if (!filePromisesHash[path] || options?.ignoreCache) {
6
10
  filePromisesHash[path] = readFile(path, "utf8");
7
11
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare const externalDataInterceptor: {
5
+ getFileRecord(): Record<string, Promise<string>>;
6
+ interceptFile(path: string, contents: string): void;
7
+ getTokenRecord(): Record<string, any>;
8
+ interceptToken(id: string, contents: any): void;
9
+ };
@@ -38,9 +38,13 @@ export interface SSOToken {
38
38
  */
39
39
  startUrl?: string;
40
40
  }
41
+ /**
42
+ * @internal
43
+ */
44
+ export declare const tokenIntercept: Record<string, any>;
41
45
  /**
42
46
  * @internal
43
47
  * @param id - can be either a start URL or the SSO session name.
44
48
  * Returns the SSO token from the file system.
45
49
  */
46
- export declare const getSSOTokenFromFile: (id: string) => Promise<SSOToken>;
50
+ export declare const getSSOTokenFromFile: (id: string) => Promise<any>;