cdk-rds-sql 3.4.0 → 3.4.2

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 (987) hide show
  1. package/.jsii +31 -14
  2. package/.pre-commit-config.yaml +1 -1
  3. package/README.md +11 -0
  4. package/lib/database.js +1 -1
  5. package/lib/handler.js +34 -8
  6. package/lib/provider.js +3 -2
  7. package/lib/role.js +1 -1
  8. package/lib/schema.d.ts +5 -0
  9. package/lib/schema.js +5 -2
  10. package/lib/sql.js +1 -1
  11. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +30 -0
  12. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +1 -0
  13. package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.js → main/crossPlatformSha256.js} +0 -5
  14. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +1 -0
  15. package/node_modules/@aws-crypto/sha256-browser/build/{index.d.ts → main/index.d.ts} +0 -1
  16. package/node_modules/@aws-crypto/sha256-browser/build/{index.js → main/index.js} +1 -3
  17. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +1 -0
  18. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +1 -0
  19. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +1 -0
  20. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +10 -0
  21. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +40 -0
  22. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +1 -0
  23. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +8 -0
  24. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +27 -0
  25. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +1 -0
  26. package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +2 -0
  27. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +3 -0
  28. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +1 -0
  29. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +7 -0
  30. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +1 -0
  31. package/node_modules/@aws-crypto/sha256-browser/build/{ie11Sha256.d.ts → module/webCryptoSha256.d.ts} +3 -2
  32. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +53 -0
  33. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +1 -0
  34. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +10 -0
  35. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  36. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  37. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  38. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  39. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +60 -0
  40. package/node_modules/@aws-crypto/{ie11-detection → sha256-browser/node_modules/@smithy/util-buffer-from}/LICENSE +4 -5
  41. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +10 -0
  42. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  43. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  44. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  45. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  46. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +61 -0
  47. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +201 -0
  48. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +4 -0
  49. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  50. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  51. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  52. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  53. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  54. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  55. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  56. package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/index.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts} +0 -1
  57. package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts} +0 -1
  58. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  59. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  60. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  61. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  62. package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts} +1 -2
  63. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  64. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  65. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  66. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  67. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  68. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +66 -0
  69. package/node_modules/@aws-crypto/sha256-browser/package.json +11 -11
  70. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -4
  71. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -1
  72. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +3 -15
  73. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +7 -0
  74. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +20 -0
  75. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +1 -0
  76. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +1 -0
  77. package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +1 -0
  78. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +1 -0
  79. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +1 -0
  80. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +17 -0
  81. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +121 -0
  82. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +1 -0
  83. package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +20 -0
  84. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +95 -0
  85. package/node_modules/@aws-crypto/sha256-js/build/{constants.js.map → module/constants.js.map} +1 -1
  86. package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +1 -0
  87. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +2 -0
  88. package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +1 -0
  89. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +12 -0
  90. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +82 -0
  91. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +1 -0
  92. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +5 -0
  93. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +319 -0
  94. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +1 -0
  95. package/node_modules/@aws-crypto/sha256-js/package.json +11 -7
  96. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +3 -10
  97. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +7 -0
  98. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +20 -0
  99. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +5 -0
  100. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +1 -0
  101. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +69 -0
  102. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +1 -0
  103. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +1 -0
  104. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +2 -0
  105. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +1 -0
  106. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +4 -0
  107. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +62 -0
  108. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +1 -0
  109. package/node_modules/@aws-crypto/supports-web-crypto/package.json +7 -5
  110. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +3 -9
  111. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +7 -0
  112. package/node_modules/@aws-crypto/util/CHANGELOG.md +24 -0
  113. package/node_modules/@aws-crypto/util/build/{convertToBuffer.js → main/convertToBuffer.js} +2 -2
  114. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +1 -0
  115. package/node_modules/@aws-crypto/util/build/main/index.js.map +1 -0
  116. package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +2 -0
  117. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +1 -0
  118. package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +1 -0
  119. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +1 -0
  120. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +2 -0
  121. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +20 -0
  122. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +1 -0
  123. package/node_modules/@aws-crypto/util/build/module/index.d.ts +4 -0
  124. package/node_modules/@aws-crypto/util/build/module/index.js +7 -0
  125. package/node_modules/@aws-crypto/util/build/module/index.js.map +1 -0
  126. package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +2 -0
  127. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +9 -0
  128. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +1 -0
  129. package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +1 -0
  130. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +11 -0
  131. package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +1 -0
  132. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +1 -0
  133. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +16 -0
  134. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +1 -0
  135. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  136. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +10 -0
  137. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  138. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  139. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  140. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  141. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  142. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  143. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +10 -0
  144. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  145. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  146. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  147. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  148. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  149. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +201 -0
  150. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +4 -0
  151. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  152. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  153. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  154. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  155. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  156. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  157. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  158. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
  159. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
  160. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  161. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  162. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  163. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  164. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
  165. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  166. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  167. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  168. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  169. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  170. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  171. package/node_modules/@aws-crypto/util/package.json +8 -7
  172. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +1 -1
  173. package/node_modules/@aws-crypto/util/tsconfig.json +2 -16
  174. package/node_modules/@aws-crypto/util/tsconfig.module.json +7 -0
  175. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/endpointResolver.js +6 -2
  176. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/index.js +35 -108
  177. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/SecretsManagerClient.js +9 -15
  178. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/BatchGetSecretValueCommand.js +1 -3
  179. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CancelRotateSecretCommand.js +1 -3
  180. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CreateSecretCommand.js +1 -3
  181. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  182. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteSecretCommand.js +1 -3
  183. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DescribeSecretCommand.js +1 -3
  184. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetRandomPasswordCommand.js +1 -3
  185. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetResourcePolicyCommand.js +1 -3
  186. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetSecretValueCommand.js +1 -3
  187. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretVersionIdsCommand.js +1 -3
  188. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretsCommand.js +1 -3
  189. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  190. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutSecretValueCommand.js +1 -3
  191. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RemoveRegionsFromReplicationCommand.js +1 -3
  192. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ReplicateSecretToRegionsCommand.js +1 -3
  193. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RestoreSecretCommand.js +1 -3
  194. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RotateSecretCommand.js +1 -3
  195. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/StopReplicationToReplicaCommand.js +1 -3
  196. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/TagResourceCommand.js +1 -3
  197. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UntagResourceCommand.js +1 -3
  198. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretCommand.js +1 -3
  199. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretVersionStageCommand.js +1 -3
  200. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ValidateResourcePolicyCommand.js +1 -3
  201. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/endpoint/endpointResolver.js +7 -3
  202. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/models/models_0.js +1 -0
  203. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/protocols/Aws_json1_1.js +1 -0
  204. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +6 -8
  205. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  206. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/BatchGetSecretValueCommand.d.ts +2 -1
  207. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CancelRotateSecretCommand.d.ts +2 -1
  208. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CreateSecretCommand.d.ts +6 -2
  209. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -1
  210. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteSecretCommand.d.ts +2 -1
  211. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DescribeSecretCommand.d.ts +2 -1
  212. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetRandomPasswordCommand.d.ts +2 -1
  213. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
  214. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetSecretValueCommand.d.ts +2 -1
  215. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretVersionIdsCommand.d.ts +2 -1
  216. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretsCommand.d.ts +2 -1
  217. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
  218. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutSecretValueCommand.d.ts +7 -2
  219. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
  220. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
  221. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RestoreSecretCommand.d.ts +2 -1
  222. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RotateSecretCommand.d.ts +2 -1
  223. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/StopReplicationToReplicaCommand.d.ts +2 -1
  224. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/TagResourceCommand.d.ts +2 -1
  225. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  226. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretCommand.d.ts +6 -2
  227. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
  228. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ValidateResourcePolicyCommand.d.ts +2 -1
  229. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/index.d.ts +2 -2
  230. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/SecretsManagerServiceException.d.ts +2 -1
  231. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +15 -1
  232. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +4 -2
  233. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +4 -2
  234. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +5 -3
  235. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/SecretsManagerClient.d.ts +7 -9
  236. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +2 -1
  238. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +2 -1
  239. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -1
  240. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +2 -1
  241. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +2 -1
  242. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +2 -1
  243. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -1
  244. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +2 -1
  245. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +2 -1
  246. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -1
  247. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -1
  248. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +2 -1
  249. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
  250. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
  251. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +2 -1
  252. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +2 -1
  253. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +2 -1
  254. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  255. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  256. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +2 -1
  257. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
  258. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +2 -1
  259. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +2 -1
  260. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +1 -0
  261. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  262. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  263. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  264. package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
  265. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
  266. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +13 -31
  267. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
  268. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
  269. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
  270. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
  271. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
  272. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
  273. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -8
  274. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  275. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
  276. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
  277. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
  278. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
  279. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -2
  280. package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +2 -1
  281. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +4 -2
  282. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +4 -2
  283. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -3
  284. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +7 -9
  285. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +2 -1
  286. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +2 -1
  287. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +2 -1
  288. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +2 -1
  289. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +2 -1
  290. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  291. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  292. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  293. package/node_modules/@aws-sdk/client-sso/package.json +34 -34
  294. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
  295. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +13 -31
  296. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
  297. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
  298. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
  299. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
  300. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
  301. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
  302. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +6 -8
  303. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  304. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
  305. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  306. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -1
  307. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  308. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +2 -2
  309. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +2 -1
  310. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +4 -2
  311. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +4 -2
  312. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +5 -3
  313. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +7 -9
  314. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +2 -1
  315. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  316. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +2 -1
  317. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  318. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +2 -1
  319. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  320. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  321. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  322. package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -36
  323. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
  324. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
  325. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +33 -40
  326. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
  327. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
  328. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
  329. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
  330. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
  331. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
  332. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
  333. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
  334. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
  335. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +24 -6
  336. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
  337. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -8
  338. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  339. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
  340. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  341. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  342. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  343. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  344. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
  345. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
  346. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
  347. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +2 -2
  348. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +2 -1
  349. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +4 -2
  350. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +4 -2
  351. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -3
  352. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +7 -9
  353. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +2 -1
  354. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  355. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  356. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  357. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  358. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +2 -1
  359. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -1
  360. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +2 -1
  361. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +2 -1
  362. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  363. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  364. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  365. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  366. package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
  367. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
  368. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +10 -1
  369. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +81 -9
  370. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
  371. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
  372. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
  373. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
  374. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +8 -1
  375. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
  376. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +20 -0
  377. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +14 -2
  378. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
  379. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -1
  380. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +25 -0
  381. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
  382. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
  383. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
  384. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
  385. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
  386. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
  387. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +26 -1
  388. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
  389. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +3 -1
  390. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -0
  391. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
  392. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
  393. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
  394. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
  395. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
  396. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
  397. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +18 -0
  398. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
  399. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -1
  400. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +18 -0
  401. package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
  402. package/node_modules/@aws-sdk/core/package.json +25 -9
  403. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +8 -3
  404. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +5 -2
  405. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
  406. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
  407. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  408. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  409. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +4 -4
  410. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -9
  411. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +4 -8
  412. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +2 -2
  413. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +4 -4
  414. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -9
  415. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -8
  416. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +3 -1
  417. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  418. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  419. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  420. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +2 -1
  421. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -1
  422. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -1
  423. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +3 -2
  424. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  425. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +73 -22
  426. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  427. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +35 -14
  428. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +19 -6
  429. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
  430. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  431. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +5 -2
  432. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -2
  433. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
  434. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +11 -2
  435. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +3 -2
  436. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
  437. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -11
  438. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  439. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +44 -16
  440. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +39 -16
  441. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +3 -3
  442. package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +2 -1
  443. package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +2 -1
  444. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +2 -0
  445. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +2 -1
  446. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  447. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +17 -9
  448. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +2 -2
  449. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
  450. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +7 -5
  451. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
  452. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  453. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +2 -2
  454. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
  455. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
  456. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +3 -2
  457. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  458. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +54 -23
  459. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +15 -7
  460. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +30 -8
  461. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +2 -2
  462. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
  463. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
  464. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +3 -1
  465. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -1
  466. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  467. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -2
  468. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -1
  469. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +4 -2
  470. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
  471. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  472. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  473. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  474. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  475. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +11 -0
  476. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  477. package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
  478. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  479. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  480. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -1
  481. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  482. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  483. package/node_modules/@aws-sdk/types/package.json +2 -2
  484. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +16 -6
  485. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +9 -2
  486. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +7 -4
  487. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +9 -2
  488. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  489. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  490. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  491. package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +7 -4
  492. package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  493. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +7 -4
  494. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  495. package/node_modules/@smithy/abort-controller/package.json +3 -3
  496. package/node_modules/@smithy/config-resolver/package.json +5 -5
  497. package/node_modules/@smithy/core/README.md +35 -2
  498. package/node_modules/@smithy/core/cbor.js +6 -0
  499. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  500. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +707 -0
  501. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
  502. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +181 -0
  503. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +20 -0
  504. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +15 -0
  505. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +2 -0
  506. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +82 -0
  507. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
  508. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
  509. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
  510. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
  511. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +40 -0
  512. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
  513. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +2 -0
  514. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +29 -0
  515. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
  516. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
  517. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +43 -0
  518. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
  519. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +2 -0
  520. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +29 -0
  521. package/node_modules/@smithy/core/package.json +40 -13
  522. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +32 -23
  523. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +17 -6
  524. package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +11 -9
  525. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
  526. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
  527. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
  528. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  529. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -5
  530. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +17 -3
  531. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  532. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  533. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  534. package/node_modules/@smithy/hash-node/package.json +3 -3
  535. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  536. package/node_modules/@smithy/middleware-content-length/package.json +5 -5
  537. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
  538. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +23 -2
  539. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
  540. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js +1 -1
  541. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +7 -1
  542. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +10 -1
  543. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts +4 -1
  544. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +11 -0
  545. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +4 -1
  546. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +11 -0
  547. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  548. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  549. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  550. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  551. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +21 -3
  552. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -2
  553. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -2
  554. package/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js +12 -0
  555. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +2 -2
  556. package/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts +9 -0
  557. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +2 -2
  558. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +9 -0
  559. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  560. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +119 -54
  561. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +29 -14
  562. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +9 -1
  563. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +27 -13
  564. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +18 -5
  565. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +12 -4
  566. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  567. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +6 -1
  568. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -1
  569. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +6 -1
  570. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  571. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -1
  572. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +2 -1
  573. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -1
  574. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  575. package/node_modules/@smithy/property-provider/dist-cjs/index.js +28 -10
  576. package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +2 -3
  577. package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +15 -4
  578. package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +2 -3
  579. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +16 -3
  580. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +25 -3
  581. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +16 -3
  582. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +16 -3
  583. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +25 -3
  584. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +16 -3
  585. package/node_modules/@smithy/property-provider/package.json +3 -3
  586. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  587. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  588. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +31 -1
  589. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +31 -1
  590. package/node_modules/@smithy/protocol-http/package.json +3 -3
  591. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  592. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  593. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  594. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +18 -2
  595. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +14 -2
  596. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -1
  597. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +5 -1
  598. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  599. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
  600. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
  601. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
  602. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  603. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
  604. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
  605. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  606. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
  607. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
  608. package/node_modules/@smithy/signature-v4/package.json +6 -6
  609. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -4
  610. package/node_modules/@smithy/smithy-client/dist-es/client.js +22 -4
  611. package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
  612. package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +3 -0
  613. package/node_modules/@smithy/smithy-client/dist-es/ser-utils.js +1 -0
  614. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +22 -1
  615. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +5 -0
  616. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +2 -0
  617. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +22 -1
  618. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +5 -0
  619. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +2 -0
  620. package/node_modules/@smithy/smithy-client/package.json +7 -7
  621. package/node_modules/@smithy/types/README.md +36 -1
  622. package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
  623. package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
  624. package/node_modules/@smithy/types/dist-types/abort.d.ts +4 -3
  625. package/node_modules/@smithy/types/dist-types/command.d.ts +14 -1
  626. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  627. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +11 -0
  628. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  629. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +4 -0
  630. package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +6 -6
  631. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +12 -6
  632. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +8 -3
  633. package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
  634. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +4 -3
  635. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +14 -1
  636. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +1 -1
  637. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +11 -0
  638. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +2 -2
  639. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +4 -0
  640. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +6 -6
  641. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +8 -10
  642. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +6 -9
  643. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +3 -3
  644. package/node_modules/@smithy/types/dist-types/waiter.d.ts +3 -3
  645. package/node_modules/@smithy/types/package.json +1 -1
  646. package/node_modules/@smithy/url-parser/package.json +4 -4
  647. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  648. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  649. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +73 -11
  650. package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +49 -0
  651. package/node_modules/@smithy/util-endpoints/dist-es/index.js +1 -0
  652. package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +0 -10
  653. package/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts +34 -0
  654. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +1 -0
  655. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +34 -0
  656. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  657. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  658. package/node_modules/@smithy/util-middleware/package.json +3 -3
  659. package/node_modules/@smithy/util-retry/package.json +4 -4
  660. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +36 -0
  661. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +46 -0
  662. package/node_modules/@smithy/util-stream/dist-cjs/index.js +7 -1
  663. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +3 -3
  664. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +11 -0
  665. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +17 -0
  666. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +9 -0
  667. package/node_modules/@smithy/util-stream/dist-es/headStream.browser.js +31 -0
  668. package/node_modules/@smithy/util-stream/dist-es/headStream.js +41 -0
  669. package/node_modules/@smithy/util-stream/dist-es/index.js +3 -0
  670. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +3 -3
  671. package/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js +7 -0
  672. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +13 -0
  673. package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +2 -0
  674. package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +8 -0
  675. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +9 -0
  676. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +3 -0
  677. package/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts +5 -0
  678. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +8 -0
  679. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +12 -0
  680. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +8 -0
  681. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +9 -0
  682. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +3 -0
  683. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +8 -0
  684. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +14 -0
  685. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +12 -0
  686. package/node_modules/@smithy/util-stream/package.json +14 -8
  687. package/node_modules/@types/aws-lambda/README.md +2 -2
  688. package/node_modules/@types/aws-lambda/index.d.ts +1 -0
  689. package/node_modules/@types/aws-lambda/package.json +8 -3
  690. package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +3 -1
  691. package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +133 -42
  692. package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +196 -30
  693. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +1 -1
  694. package/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +1 -1
  695. package/node_modules/@types/aws-lambda/trigger/sqs.d.ts +1 -0
  696. package/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts +2 -1
  697. package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
  698. package/node_modules/fast-xml-parser/README.md +83 -51
  699. package/node_modules/fast-xml-parser/package.json +8 -5
  700. package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
  701. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  702. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  703. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  704. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  705. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  706. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  707. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  708. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
  709. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  710. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  711. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  712. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  713. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  714. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  715. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  716. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  717. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  718. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  719. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  720. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  721. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
  722. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  723. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  724. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  725. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  726. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
  727. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
  728. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
  729. package/node_modules/pg/lib/native/query.js +3 -0
  730. package/node_modules/pg/lib/query.js +5 -0
  731. package/node_modules/pg/package.json +3 -3
  732. package/node_modules/tslib/package.json +1 -1
  733. package/node_modules/tslib/tslib.d.ts +1 -1
  734. package/node_modules/tslib/tslib.es6.js +19 -10
  735. package/node_modules/tslib/tslib.es6.mjs +23 -15
  736. package/node_modules/tslib/tslib.js +19 -11
  737. package/package.json +22 -16
  738. package/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +0 -46
  739. package/node_modules/@aws-crypto/ie11-detection/README.md +0 -20
  740. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.d.ts +0 -19
  741. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js +0 -3
  742. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js.map +0 -1
  743. package/node_modules/@aws-crypto/ie11-detection/build/Key.d.ts +0 -12
  744. package/node_modules/@aws-crypto/ie11-detection/build/Key.js +0 -3
  745. package/node_modules/@aws-crypto/ie11-detection/build/Key.js.map +0 -1
  746. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.d.ts +0 -12
  747. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js +0 -3
  748. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js.map +0 -1
  749. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +0 -33
  750. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js +0 -3
  751. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js.map +0 -1
  752. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.d.ts +0 -21
  753. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js +0 -32
  754. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js.map +0 -1
  755. package/node_modules/@aws-crypto/ie11-detection/build/index.d.ts +0 -5
  756. package/node_modules/@aws-crypto/ie11-detection/build/index.js +0 -9
  757. package/node_modules/@aws-crypto/ie11-detection/build/index.js.map +0 -1
  758. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/CopyrightNotice.txt +0 -15
  759. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/LICENSE.txt +0 -12
  760. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/README.md +0 -142
  761. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/index.js +0 -51
  762. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/package.json +0 -3
  763. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/package.json +0 -37
  764. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  765. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  766. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.d.ts +0 -37
  767. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.html +0 -1
  768. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js +0 -218
  769. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.html +0 -1
  770. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.js +0 -284
  771. package/node_modules/@aws-crypto/ie11-detection/package.json +0 -26
  772. package/node_modules/@aws-crypto/ie11-detection/src/CryptoOperation.ts +0 -21
  773. package/node_modules/@aws-crypto/ie11-detection/src/Key.ts +0 -12
  774. package/node_modules/@aws-crypto/ie11-detection/src/KeyOperation.ts +0 -13
  775. package/node_modules/@aws-crypto/ie11-detection/src/MsSubtleCrypto.ts +0 -88
  776. package/node_modules/@aws-crypto/ie11-detection/src/MsWindow.ts +0 -59
  777. package/node_modules/@aws-crypto/ie11-detection/src/index.ts +0 -5
  778. package/node_modules/@aws-crypto/ie11-detection/tsconfig.json +0 -17
  779. package/node_modules/@aws-crypto/sha256-browser/build/constants.js.map +0 -1
  780. package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +0 -1
  781. package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +0 -80
  782. package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +0 -1
  783. package/node_modules/@aws-crypto/sha256-browser/build/index.js.map +0 -1
  784. package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js.map +0 -1
  785. package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +0 -1
  786. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/CopyrightNotice.txt +0 -15
  787. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/LICENSE.txt +0 -12
  788. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/README.md +0 -142
  789. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/index.js +0 -51
  790. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/package.json +0 -3
  791. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/package.json +0 -37
  792. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  793. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  794. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.d.ts +0 -37
  795. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.html +0 -1
  796. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js +0 -218
  797. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.html +0 -1
  798. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.js +0 -284
  799. package/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +0 -108
  800. package/node_modules/@aws-crypto/sha256-js/build/RawSha256.js.map +0 -1
  801. package/node_modules/@aws-crypto/sha256-js/build/index.js.map +0 -1
  802. package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
  803. package/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +0 -1
  804. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/CopyrightNotice.txt +0 -15
  805. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/LICENSE.txt +0 -12
  806. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/README.md +0 -142
  807. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/index.js +0 -51
  808. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/package.json +0 -3
  809. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/package.json +0 -37
  810. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  811. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  812. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.d.ts +0 -37
  813. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.html +0 -1
  814. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js +0 -218
  815. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.html +0 -1
  816. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.js +0 -284
  817. package/node_modules/@aws-crypto/supports-web-crypto/build/index.js +0 -5
  818. package/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js +0 -69
  819. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/CopyrightNotice.txt +0 -15
  820. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/LICENSE.txt +0 -12
  821. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/README.md +0 -142
  822. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/index.js +0 -51
  823. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/package.json +0 -3
  824. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/package.json +0 -37
  825. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  826. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  827. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.d.ts +0 -37
  828. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.html +0 -1
  829. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js +0 -218
  830. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.html +0 -1
  831. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.js +0 -284
  832. package/node_modules/@aws-crypto/util/build/convertToBuffer.js.map +0 -1
  833. package/node_modules/@aws-crypto/util/build/index.js.map +0 -1
  834. package/node_modules/@aws-crypto/util/build/isEmptyData.js.map +0 -1
  835. package/node_modules/@aws-crypto/util/build/numToUint8.js.map +0 -1
  836. package/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js.map +0 -1
  837. package/node_modules/@aws-crypto/util/node_modules/tslib/CopyrightNotice.txt +0 -15
  838. package/node_modules/@aws-crypto/util/node_modules/tslib/LICENSE.txt +0 -12
  839. package/node_modules/@aws-crypto/util/node_modules/tslib/README.md +0 -142
  840. package/node_modules/@aws-crypto/util/node_modules/tslib/modules/index.js +0 -51
  841. package/node_modules/@aws-crypto/util/node_modules/tslib/modules/package.json +0 -3
  842. package/node_modules/@aws-crypto/util/node_modules/tslib/package.json +0 -37
  843. package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  844. package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  845. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.d.ts +0 -37
  846. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.html +0 -1
  847. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.js +0 -218
  848. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.html +0 -1
  849. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.js +0 -284
  850. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +0 -1
  851. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +0 -1
  852. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +0 -1
  853. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +0 -1
  854. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +0 -1
  855. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +0 -1
  856. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +0 -1
  857. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +0 -1
  858. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +0 -1
  859. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +0 -1
  860. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +0 -1
  861. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +0 -1
  862. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +0 -1
  863. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +0 -1
  864. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
  865. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +0 -1
  866. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
  867. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
  868. package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +0 -1
  869. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +0 -1
  870. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +0 -1
  871. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +0 -1
  872. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +0 -1
  873. package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +0 -1
  874. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +0 -1
  875. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +0 -1
  876. package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +0 -1
  877. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +0 -1
  878. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -1
  879. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -1
  880. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -1
  881. package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -1
  882. package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -1
  883. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -1
  884. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -1
  885. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -1
  886. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -1
  887. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -1
  888. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -1
  889. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -1
  890. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -1
  891. package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -1
  892. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -1
  893. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -1
  894. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
  895. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -1
  896. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -1
  897. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -1
  898. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -1
  899. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -1
  900. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -1
  901. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -1
  902. package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -1
  903. package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -1
  904. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -1
  905. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -1
  906. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -1
  907. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -1
  908. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -1
  909. package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -1
  910. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -1
  911. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -1
  912. package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -1
  913. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -1
  914. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +0 -1
  915. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +0 -1
  916. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +0 -1
  917. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +0 -1
  918. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +0 -1
  919. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
  920. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
  921. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
  922. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
  923. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
  924. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
  925. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
  926. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +0 -1
  927. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +0 -1
  928. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +0 -1
  929. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +0 -1
  930. package/node_modules/@aws-sdk/util-utf8-browser/README.md +0 -8
  931. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
  932. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
  933. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
  934. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
  935. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
  936. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
  937. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
  938. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
  939. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
  940. package/node_modules/@aws-sdk/util-utf8-browser/package.json +0 -50
  941. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
  942. package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
  943. package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
  944. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/cloneRequest.d.ts +0 -6
  945. package/node_modules/source-map/CHANGELOG.md +0 -301
  946. /package/node_modules/@aws-crypto/sha256-browser/build/{constants.d.ts → main/constants.d.ts} +0 -0
  947. /package/node_modules/@aws-crypto/sha256-browser/build/{constants.js → main/constants.js} +0 -0
  948. /package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.d.ts → main/crossPlatformSha256.d.ts} +0 -0
  949. /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.d.ts → main/isEmptyData.d.ts} +0 -0
  950. /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
  951. /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.d.ts → main/webCryptoSha256.d.ts} +0 -0
  952. /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.js → main/webCryptoSha256.js} +0 -0
  953. /package/node_modules/@aws-crypto/{util/build → sha256-browser/build/module}/isEmptyData.d.ts +0 -0
  954. /package/node_modules/{@aws-sdk/util-utf8-browser → @aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer}/LICENSE +0 -0
  955. /package/node_modules/{@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js} +0 -0
  956. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js} +0 -0
  957. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js} +0 -0
  958. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js} +0 -0
  959. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js} +0 -0
  960. /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.d.ts → main/RawSha256.d.ts} +0 -0
  961. /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.js → main/RawSha256.js} +0 -0
  962. /package/node_modules/@aws-crypto/sha256-js/build/{constants.d.ts → main/constants.d.ts} +0 -0
  963. /package/node_modules/@aws-crypto/sha256-js/build/{constants.js → main/constants.js} +0 -0
  964. /package/node_modules/@aws-crypto/sha256-js/build/{index.d.ts → main/index.d.ts} +0 -0
  965. /package/node_modules/@aws-crypto/sha256-js/build/{index.js → main/index.js} +0 -0
  966. /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.d.ts → main/jsSha256.d.ts} +0 -0
  967. /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.js → main/jsSha256.js} +0 -0
  968. /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.d.ts → main/knownHashes.fixture.d.ts} +0 -0
  969. /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.js → main/knownHashes.fixture.js} +0 -0
  970. /package/node_modules/@aws-crypto/supports-web-crypto/build/{index.d.ts → main/index.d.ts} +0 -0
  971. /package/node_modules/@aws-crypto/supports-web-crypto/build/{supportsWebCrypto.d.ts → main/supportsWebCrypto.d.ts} +0 -0
  972. /package/node_modules/@aws-crypto/util/build/{convertToBuffer.d.ts → main/convertToBuffer.d.ts} +0 -0
  973. /package/node_modules/@aws-crypto/util/build/{index.d.ts → main/index.d.ts} +0 -0
  974. /package/node_modules/@aws-crypto/util/build/{index.js → main/index.js} +0 -0
  975. /package/node_modules/@aws-crypto/util/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
  976. /package/node_modules/@aws-crypto/util/build/{numToUint8.d.ts → main/numToUint8.d.ts} +0 -0
  977. /package/node_modules/@aws-crypto/util/build/{numToUint8.js → main/numToUint8.js} +0 -0
  978. /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.d.ts → main/uint32ArrayFrom.d.ts} +0 -0
  979. /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.js → main/uint32ArrayFrom.js} +0 -0
  980. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js} +0 -0
  981. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js} +0 -0
  982. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js} +0 -0
  983. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js} +0 -0
  984. /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js} +0 -0
  985. /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js → @smithy/node-config-provider/dist-cjs/getSelectorName.js} +0 -0
  986. /package/node_modules/{@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js → @smithy/types/dist-cjs/abort-handler.js} +0 -0
  987. /package/node_modules/{@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js → @smithy/util-endpoints/dist-cjs/cache/EndpointCache.js} +0 -0
@@ -47,28 +47,58 @@ var import_shared_ini_file_loader = require("@smithy/shared-ini-file-loader");
47
47
 
48
48
  // src/resolveCredentialSource.ts
49
49
  var import_property_provider = require("@smithy/property-provider");
50
- var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName) => {
50
+ var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => {
51
51
  const sourceProvidersMap = {
52
- EcsContainer: (options) => Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds"))).then(({ fromContainerMetadata }) => fromContainerMetadata(options)),
53
- Ec2InstanceMetadata: (options) => Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds"))).then(({ fromInstanceMetadata }) => fromInstanceMetadata(options)),
54
- Environment: (options) => Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-env"))).then(({ fromEnv }) => fromEnv(options))
52
+ EcsContainer: async (options) => {
53
+ const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
54
+ const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
55
+ logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
56
+ return (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options));
57
+ },
58
+ Ec2InstanceMetadata: async (options) => {
59
+ logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
60
+ const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
61
+ return fromInstanceMetadata(options);
62
+ },
63
+ Environment: async (options) => {
64
+ logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
65
+ const { fromEnv } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-env")));
66
+ return fromEnv(options);
67
+ }
55
68
  };
56
69
  if (credentialSource in sourceProvidersMap) {
57
70
  return sourceProvidersMap[credentialSource];
58
71
  } else {
59
72
  throw new import_property_provider.CredentialsProviderError(
60
- `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`
73
+ `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`,
74
+ { logger }
61
75
  );
62
76
  }
63
77
  }, "resolveCredentialSource");
64
78
 
65
79
  // src/resolveAssumeRoleCredentials.ts
66
- var isAssumeRoleProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg)), "isAssumeRoleProfile");
67
- var isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined", "isAssumeRoleWithSourceProfile");
68
- var isAssumeRoleWithProviderProfile = /* @__PURE__ */ __name((arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined", "isAssumeRoleWithProviderProfile");
69
- var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
80
+ var isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = "default", logger } = {}) => {
81
+ return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
82
+ }, "isAssumeRoleProfile");
83
+ var isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {
84
+ var _a;
85
+ const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
86
+ if (withSourceProfile) {
87
+ (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, ` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);
88
+ }
89
+ return withSourceProfile;
90
+ }, "isAssumeRoleWithSourceProfile");
91
+ var isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {
70
92
  var _a;
71
- (_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini", "resolveAssumeRoleCredentials (STS)");
93
+ const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
94
+ if (withProviderProfile) {
95
+ (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, ` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);
96
+ }
97
+ return withProviderProfile;
98
+ }, "isCredentialSourceProfile");
99
+ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
100
+ var _a, _b;
101
+ (_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
72
102
  const data = profiles[profileName];
73
103
  if (!options.roleAssumer) {
74
104
  const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/client-sts")));
@@ -85,13 +115,30 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
85
115
  if (source_profile && source_profile in visitedProfiles) {
86
116
  throw new import_property_provider.CredentialsProviderError(
87
117
  `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "),
88
- false
118
+ { logger: options.logger }
89
119
  );
90
120
  }
91
- const sourceCredsProvider = source_profile ? resolveProfileData(source_profile, profiles, options, {
92
- ...visitedProfiles,
93
- [source_profile]: true
94
- }) : (await resolveCredentialSource(data.credential_source, profileName)(options))();
121
+ (_b = options.logger) == null ? void 0 : _b.debug(
122
+ `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`
123
+ );
124
+ const sourceCredsProvider = source_profile ? resolveProfileData(
125
+ source_profile,
126
+ {
127
+ ...profiles,
128
+ [source_profile]: {
129
+ ...profiles[source_profile],
130
+ // This assigns the role_arn of the "root" profile
131
+ // to the credential_source profile so this recursive call knows
132
+ // what role to assume.
133
+ role_arn: data.role_arn ?? profiles[source_profile].role_arn
134
+ }
135
+ },
136
+ options,
137
+ {
138
+ ...visitedProfiles,
139
+ [source_profile]: true
140
+ }
141
+ ) : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))();
95
142
  const params = {
96
143
  RoleArn: data.role_arn,
97
144
  RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
@@ -103,7 +150,7 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
103
150
  if (!options.mfaCodeProvider) {
104
151
  throw new import_property_provider.CredentialsProviderError(
105
152
  `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,
106
- false
153
+ { logger: options.logger, tryNextLink: false }
107
154
  );
108
155
  }
109
156
  params.SerialNumber = mfa_serial;
@@ -133,15 +180,16 @@ var resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, options = {})
133
180
  var isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"), "isSsoProfile");
134
181
 
135
182
  // src/resolveStaticCredentials.ts
136
- var isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1, "isStaticCredsProfile");
183
+ var isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, "isStaticCredsProfile");
137
184
  var resolveStaticCredentials = /* @__PURE__ */ __name((profile, options) => {
138
185
  var _a;
139
- (_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini", "resolveStaticCredentials");
186
+ (_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
140
187
  return Promise.resolve({
141
188
  accessKeyId: profile.aws_access_key_id,
142
189
  secretAccessKey: profile.aws_secret_access_key,
143
190
  sessionToken: profile.aws_session_token,
144
- credentialScope: profile.aws_credential_scope
191
+ ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope },
192
+ ...profile.aws_account_id && { accountId: profile.aws_account_id }
145
193
  });
146
194
  }, "resolveStaticCredentials");
147
195
 
@@ -164,7 +212,7 @@ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, op
164
212
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
165
213
  return resolveStaticCredentials(data, options);
166
214
  }
167
- if (isAssumeRoleProfile(data)) {
215
+ if (isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
168
216
  return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
169
217
  }
170
218
  if (isStaticCredsProfile(data)) {
@@ -179,13 +227,16 @@ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, op
179
227
  if (isSsoProfile(data)) {
180
228
  return await resolveSsoCredentials(profileName, options);
181
229
  }
182
- throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`);
230
+ throw new import_property_provider.CredentialsProviderError(
231
+ `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`,
232
+ { logger: options.logger }
233
+ );
183
234
  }, "resolveProfileData");
184
235
 
185
236
  // src/fromIni.ts
186
237
  var fromIni = /* @__PURE__ */ __name((init = {}) => async () => {
187
238
  var _a;
188
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini", "fromIni");
239
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - fromIni");
189
240
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
190
241
  return resolveProfileData((0, import_shared_ini_file_loader.getProfileName)(init), profiles, init);
191
242
  }, "fromIni");
@@ -1,7 +1,7 @@
1
1
  import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
2
2
  import { resolveProfileData } from "./resolveProfileData";
3
3
  export const fromIni = (init = {}) => async () => {
4
- init.logger?.debug("@aws-sdk/credential-provider-ini", "fromIni");
4
+ init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
5
5
  const profiles = await parseKnownFiles(init);
6
6
  return resolveProfileData(getProfileName(init), profiles, init);
7
7
  };
@@ -2,17 +2,31 @@ import { CredentialsProviderError } from "@smithy/property-provider";
2
2
  import { getProfileName } from "@smithy/shared-ini-file-loader";
3
3
  import { resolveCredentialSource } from "./resolveCredentialSource";
4
4
  import { resolveProfileData } from "./resolveProfileData";
5
- export const isAssumeRoleProfile = (arg) => Boolean(arg) &&
6
- typeof arg === "object" &&
7
- typeof arg.role_arn === "string" &&
8
- ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 &&
9
- ["undefined", "string"].indexOf(typeof arg.external_id) > -1 &&
10
- ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 &&
11
- (isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg));
12
- const isAssumeRoleWithSourceProfile = (arg) => typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
13
- const isAssumeRoleWithProviderProfile = (arg) => typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
5
+ export const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
6
+ return (Boolean(arg) &&
7
+ typeof arg === "object" &&
8
+ typeof arg.role_arn === "string" &&
9
+ ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 &&
10
+ ["undefined", "string"].indexOf(typeof arg.external_id) > -1 &&
11
+ ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 &&
12
+ (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger })));
13
+ };
14
+ const isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
15
+ const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
16
+ if (withSourceProfile) {
17
+ logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);
18
+ }
19
+ return withSourceProfile;
20
+ };
21
+ const isCredentialSourceProfile = (arg, { profile, logger }) => {
22
+ const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
23
+ if (withProviderProfile) {
24
+ logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);
25
+ }
26
+ return withProviderProfile;
27
+ };
14
28
  export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => {
15
- options.logger?.debug("@aws-sdk/credential-provider-ini", "resolveAssumeRoleCredentials (STS)");
29
+ options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
16
30
  const data = profiles[profileName];
17
31
  if (!options.roleAssumer) {
18
32
  const { getDefaultRoleAssumer } = await import("@aws-sdk/client-sts");
@@ -26,14 +40,21 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
26
40
  if (source_profile && source_profile in visitedProfiles) {
27
41
  throw new CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile` +
28
42
  ` ${getProfileName(options)}. Profiles visited: ` +
29
- Object.keys(visitedProfiles).join(", "), false);
43
+ Object.keys(visitedProfiles).join(", "), { logger: options.logger });
30
44
  }
45
+ options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
31
46
  const sourceCredsProvider = source_profile
32
- ? resolveProfileData(source_profile, profiles, options, {
47
+ ? resolveProfileData(source_profile, {
48
+ ...profiles,
49
+ [source_profile]: {
50
+ ...profiles[source_profile],
51
+ role_arn: data.role_arn ?? profiles[source_profile].role_arn,
52
+ },
53
+ }, options, {
33
54
  ...visitedProfiles,
34
55
  [source_profile]: true,
35
56
  })
36
- : (await resolveCredentialSource(data.credential_source, profileName)(options))();
57
+ : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))();
37
58
  const params = {
38
59
  RoleArn: data.role_arn,
39
60
  RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
@@ -43,7 +64,7 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
43
64
  const { mfa_serial } = data;
44
65
  if (mfa_serial) {
45
66
  if (!options.mfaCodeProvider) {
46
- throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, false);
67
+ throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
47
68
  }
48
69
  params.SerialNumber = mfa_serial;
49
70
  params.TokenCode = await options.mfaCodeProvider(mfa_serial);
@@ -1,15 +1,28 @@
1
- import { CredentialsProviderError } from "@smithy/property-provider";
2
- export const resolveCredentialSource = (credentialSource, profileName) => {
1
+ import { chain, CredentialsProviderError } from "@smithy/property-provider";
2
+ export const resolveCredentialSource = (credentialSource, profileName, logger) => {
3
3
  const sourceProvidersMap = {
4
- EcsContainer: (options) => import("@smithy/credential-provider-imds").then(({ fromContainerMetadata }) => fromContainerMetadata(options)),
5
- Ec2InstanceMetadata: (options) => import("@smithy/credential-provider-imds").then(({ fromInstanceMetadata }) => fromInstanceMetadata(options)),
6
- Environment: (options) => import("@aws-sdk/credential-provider-env").then(({ fromEnv }) => fromEnv(options)),
4
+ EcsContainer: async (options) => {
5
+ const { fromHttp } = await import("@aws-sdk/credential-provider-http");
6
+ const { fromContainerMetadata } = await import("@smithy/credential-provider-imds");
7
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
8
+ return chain(fromHttp(options ?? {}), fromContainerMetadata(options));
9
+ },
10
+ Ec2InstanceMetadata: async (options) => {
11
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
12
+ const { fromInstanceMetadata } = await import("@smithy/credential-provider-imds");
13
+ return fromInstanceMetadata(options);
14
+ },
15
+ Environment: async (options) => {
16
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
17
+ const { fromEnv } = await import("@aws-sdk/credential-provider-env");
18
+ return fromEnv(options);
19
+ },
7
20
  };
8
21
  if (credentialSource in sourceProvidersMap) {
9
22
  return sourceProvidersMap[credentialSource];
10
23
  }
11
24
  else {
12
25
  throw new CredentialsProviderError(`Unsupported credential source in profile ${profileName}. Got ${credentialSource}, ` +
13
- `expected EcsContainer or Ec2InstanceMetadata or Environment.`);
26
+ `expected EcsContainer or Ec2InstanceMetadata or Environment.`, { logger });
14
27
  }
15
28
  };
@@ -9,7 +9,7 @@ export const resolveProfileData = async (profileName, profiles, options, visited
9
9
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
10
10
  return resolveStaticCredentials(data, options);
11
11
  }
12
- if (isAssumeRoleProfile(data)) {
12
+ if (isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
13
13
  return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
14
14
  }
15
15
  if (isStaticCredsProfile(data)) {
@@ -24,5 +24,5 @@ export const resolveProfileData = async (profileName, profiles, options, visited
24
24
  if (isSsoProfile(data)) {
25
25
  return await resolveSsoCredentials(profileName, options);
26
26
  }
27
- throw new CredentialsProviderError(`Profile ${profileName} could not be found or parsed in shared credentials file.`);
27
+ throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
28
28
  };
@@ -2,13 +2,15 @@ export const isStaticCredsProfile = (arg) => Boolean(arg) &&
2
2
  typeof arg === "object" &&
3
3
  typeof arg.aws_access_key_id === "string" &&
4
4
  typeof arg.aws_secret_access_key === "string" &&
5
- ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1;
5
+ ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 &&
6
+ ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1;
6
7
  export const resolveStaticCredentials = (profile, options) => {
7
- options?.logger?.debug("@aws-sdk/credential-provider-ini", "resolveStaticCredentials");
8
+ options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
8
9
  return Promise.resolve({
9
10
  accessKeyId: profile.aws_access_key_id,
10
11
  secretAccessKey: profile.aws_secret_access_key,
11
12
  sessionToken: profile.aws_session_token,
12
- credentialScope: profile.aws_credential_scope,
13
+ ...(profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }),
14
+ ...(profile.aws_account_id && { accountId: profile.aws_account_id }),
13
15
  });
14
16
  };
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
1
+ import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types";
2
2
  import { FromIniInit } from "./fromIni";
3
3
  /**
4
4
  * @internal
@@ -37,7 +37,10 @@ export interface AssumeRoleParams {
37
37
  /**
38
38
  * @internal
39
39
  */
40
- export declare const isAssumeRoleProfile: (arg: any) => boolean;
40
+ export declare const isAssumeRoleProfile: (arg: any, { profile, logger }?: {
41
+ profile?: string | undefined;
42
+ logger?: Logger | undefined;
43
+ }) => boolean;
41
44
  /**
42
45
  * @internal
43
46
  */
@@ -1,5 +1,5 @@
1
1
  import type { CredentialProviderOptions } from "@aws-sdk/types";
2
- import { AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import { AwsCredentialIdentityProvider, Logger } from "@smithy/types";
3
3
  /**
4
4
  * @internal
5
5
  *
@@ -9,4 +9,4 @@ import { AwsCredentialIdentityProvider } from "@smithy/types";
9
9
  * fromIni() provider. The source credential needs to be refreshed every time
10
10
  * fromIni() is called.
11
11
  */
12
- export declare const resolveCredentialSource: (credentialSource: string, profileName: string) => (options?: CredentialProviderOptions) => Promise<AwsCredentialIdentityProvider>;
12
+ export declare const resolveCredentialSource: (credentialSource: string, profileName: string, logger?: Logger) => (options?: CredentialProviderOptions) => Promise<AwsCredentialIdentityProvider>;
@@ -8,6 +8,7 @@ export interface StaticCredsProfile extends Profile {
8
8
  aws_secret_access_key: string;
9
9
  aws_session_token?: string;
10
10
  aws_credential_scope?: string;
11
+ aws_account_id?: string;
11
12
  }
12
13
  /**
13
14
  * @internal
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
1
+ import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types";
2
2
  import { FromIniInit } from "./fromIni";
3
3
  export interface AssumeRoleParams {
4
4
  RoleArn: string;
@@ -8,7 +8,16 @@ export interface AssumeRoleParams {
8
8
  TokenCode?: string;
9
9
  DurationSeconds?: number;
10
10
  }
11
- export declare const isAssumeRoleProfile: (arg: any) => boolean;
11
+ export declare const isAssumeRoleProfile: (
12
+ arg: any,
13
+ {
14
+ profile,
15
+ logger,
16
+ }?: {
17
+ profile?: string | undefined;
18
+ logger?: Logger | undefined;
19
+ }
20
+ ) => boolean;
12
21
  export declare const resolveAssumeRoleCredentials: (
13
22
  profileName: string,
14
23
  profiles: ParsedIniData,
@@ -1,8 +1,9 @@
1
1
  import { CredentialProviderOptions } from "@aws-sdk/types";
2
- import { AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import { AwsCredentialIdentityProvider, Logger } from "@smithy/types";
3
3
  export declare const resolveCredentialSource: (
4
4
  credentialSource: string,
5
- profileName: string
5
+ profileName: string,
6
+ logger?: Logger
6
7
  ) => (
7
8
  options?: CredentialProviderOptions
8
9
  ) => Promise<AwsCredentialIdentityProvider>;
@@ -5,6 +5,7 @@ export interface StaticCredsProfile extends Profile {
5
5
  aws_secret_access_key: string;
6
6
  aws_session_token?: string;
7
7
  aws_credential_scope?: string;
8
+ aws_account_id?: string;
8
9
  }
9
10
  export declare const isStaticCredsProfile: (
10
11
  arg: any
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.577.0",
3
+ "version": "3.650.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",
@@ -24,15 +24,16 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/credential-provider-env": "3.577.0",
28
- "@aws-sdk/credential-provider-process": "3.577.0",
29
- "@aws-sdk/credential-provider-sso": "3.577.0",
30
- "@aws-sdk/credential-provider-web-identity": "3.577.0",
31
- "@aws-sdk/types": "3.577.0",
32
- "@smithy/credential-provider-imds": "^3.0.0",
33
- "@smithy/property-provider": "^3.0.0",
34
- "@smithy/shared-ini-file-loader": "^3.0.0",
35
- "@smithy/types": "^3.0.0",
27
+ "@aws-sdk/credential-provider-env": "3.649.0",
28
+ "@aws-sdk/credential-provider-http": "3.649.0",
29
+ "@aws-sdk/credential-provider-process": "3.649.0",
30
+ "@aws-sdk/credential-provider-sso": "3.650.0",
31
+ "@aws-sdk/credential-provider-web-identity": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@smithy/credential-provider-imds": "^3.2.1",
34
+ "@smithy/property-provider": "^3.1.4",
35
+ "@smithy/shared-ini-file-loader": "^3.1.5",
36
+ "@smithy/types": "^3.4.0",
36
37
  "tslib": "^2.6.2"
37
38
  },
38
39
  "devDependencies": {
@@ -44,7 +45,7 @@
44
45
  "typescript": "~4.9.5"
45
46
  },
46
47
  "peerDependencies": {
47
- "@aws-sdk/client-sts": "^3.577.0"
48
+ "@aws-sdk/client-sts": "^3.650.0"
48
49
  },
49
50
  "types": "./dist-types/index.d.ts",
50
51
  "engines": {
@@ -5,9 +5,9 @@
5
5
 
6
6
  ## AWS Credential Provider for Node.JS
7
7
 
8
- This module provides a factory function, `fromEnv`, that will attempt to source
9
- AWS credentials from a Node.JS environment. It will attempt to find credentials
10
- from the following sources (listed in order of precedence):
8
+ This module provides a factory function, `defaultProvider`, that will attempt to
9
+ source AWS credentials from a Node.JS environment. It will attempt to find
10
+ credentials from the following sources (listed in order of precedence):
11
11
 
12
12
  - Environment variables exposed via `process.env`
13
13
  - SSO credentials from token cache
@@ -49,36 +49,61 @@ var remoteProvider = /* @__PURE__ */ __name(async (init) => {
49
49
  var _a, _b;
50
50
  const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
51
51
  if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
52
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "remoteProvider::fromHttp/fromContainerMetadata");
52
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
53
53
  const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
54
54
  return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));
55
55
  }
56
56
  if (process.env[ENV_IMDS_DISABLED]) {
57
57
  return async () => {
58
- throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled");
58
+ throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger });
59
59
  };
60
60
  }
61
- (_b = init.logger) == null ? void 0 : _b.debug("@aws-sdk/credential-provider-node", "remoteProvider::fromInstanceMetadata");
61
+ (_b = init.logger) == null ? void 0 : _b.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
62
62
  return fromInstanceMetadata(init);
63
63
  }, "remoteProvider");
64
64
 
65
65
  // src/defaultProvider.ts
66
+ var multipleCredentialSourceWarningEmitted = false;
66
67
  var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(
67
68
  (0, import_property_provider.chain)(
68
- ...init.profile || process.env[import_shared_ini_file_loader.ENV_PROFILE] ? [] : [
69
- async () => {
70
- var _a;
71
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromEnv");
72
- return (0, import_credential_provider_env.fromEnv)(init)();
69
+ async () => {
70
+ var _a, _b, _c, _d;
71
+ const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];
72
+ if (profile) {
73
+ const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];
74
+ if (envStaticCredentialsAreSet) {
75
+ if (!multipleCredentialSourceWarningEmitted) {
76
+ const warnFn = ((_a = init.logger) == null ? void 0 : _a.warn) && ((_c = (_b = init.logger) == null ? void 0 : _b.constructor) == null ? void 0 : _c.name) !== "NoOpLogger" ? init.logger.warn : console.warn;
77
+ warnFn(
78
+ `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
79
+ Multiple credential sources detected:
80
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
81
+ This SDK will proceed with the AWS_PROFILE value.
82
+
83
+ However, a future version may change this behavior to prefer the ENV static credentials.
84
+ Please ensure that your environment only sets either the AWS_PROFILE or the
85
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
86
+ `
87
+ );
88
+ multipleCredentialSourceWarningEmitted = true;
89
+ }
90
+ }
91
+ throw new import_property_provider.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
92
+ logger: init.logger,
93
+ tryNextLink: true
94
+ });
73
95
  }
74
- ],
96
+ (_d = init.logger) == null ? void 0 : _d.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
97
+ return (0, import_credential_provider_env.fromEnv)(init)();
98
+ },
75
99
  async () => {
76
100
  var _a;
77
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromSSO");
101
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
78
102
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
79
103
  if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
80
104
  throw new import_property_provider.CredentialsProviderError(
81
- "Skipping SSO provider in default chain (inputs do not include SSO fields)."
105
+ "Skipping SSO provider in default chain (inputs do not include SSO fields).",
106
+ { logger: init.logger }
82
107
  );
83
108
  }
84
109
  const { fromSSO } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-sso")));
@@ -86,29 +111,32 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
86
111
  },
87
112
  async () => {
88
113
  var _a;
89
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromIni");
114
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
90
115
  const { fromIni } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-ini")));
91
116
  return fromIni(init)();
92
117
  },
93
118
  async () => {
94
119
  var _a;
95
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromProcess");
120
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
96
121
  const { fromProcess } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-process")));
97
122
  return fromProcess(init)();
98
123
  },
99
124
  async () => {
100
125
  var _a;
101
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromTokenFile");
126
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
102
127
  const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-web-identity")));
103
128
  return fromTokenFile(init)();
104
129
  },
105
130
  async () => {
106
131
  var _a;
107
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node", "defaultProvider::remoteProvider");
132
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
108
133
  return (await remoteProvider(init))();
109
134
  },
110
135
  async () => {
111
- throw new import_property_provider.CredentialsProviderError("Could not load credentials from any providers", false);
136
+ throw new import_property_provider.CredentialsProviderError("Could not load credentials from any providers", {
137
+ tryNextLink: false,
138
+ logger: init.logger
139
+ });
112
140
  }
113
141
  ),
114
142
  credentialsTreatedAsExpired,