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
@@ -1,39 +1,62 @@
1
- import { fromEnv } from "@aws-sdk/credential-provider-env";
1
+ import { ENV_KEY, ENV_SECRET, fromEnv } from "@aws-sdk/credential-provider-env";
2
2
  import { chain, CredentialsProviderError, memoize } from "@smithy/property-provider";
3
3
  import { ENV_PROFILE } from "@smithy/shared-ini-file-loader";
4
4
  import { remoteProvider } from "./remoteProvider";
5
- export const defaultProvider = (init = {}) => memoize(chain(...(init.profile || process.env[ENV_PROFILE]
6
- ? []
7
- : [
8
- async () => {
9
- init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromEnv");
10
- return fromEnv(init)();
11
- },
12
- ]), async () => {
13
- init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromSSO");
5
+ let multipleCredentialSourceWarningEmitted = false;
6
+ export const defaultProvider = (init = {}) => memoize(chain(async () => {
7
+ const profile = init.profile ?? process.env[ENV_PROFILE];
8
+ if (profile) {
9
+ const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
10
+ if (envStaticCredentialsAreSet) {
11
+ if (!multipleCredentialSourceWarningEmitted) {
12
+ const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn : console.warn;
13
+ warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
14
+ Multiple credential sources detected:
15
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
16
+ This SDK will proceed with the AWS_PROFILE value.
17
+
18
+ However, a future version may change this behavior to prefer the ENV static credentials.
19
+ Please ensure that your environment only sets either the AWS_PROFILE or the
20
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
21
+ `);
22
+ multipleCredentialSourceWarningEmitted = true;
23
+ }
24
+ }
25
+ throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
26
+ logger: init.logger,
27
+ tryNextLink: true,
28
+ });
29
+ }
30
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
31
+ return fromEnv(init)();
32
+ }, async () => {
33
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
14
34
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
15
35
  if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
16
- throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).");
36
+ throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
17
37
  }
18
38
  const { fromSSO } = await import("@aws-sdk/credential-provider-sso");
19
39
  return fromSSO(init)();
20
40
  }, async () => {
21
- init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromIni");
41
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
22
42
  const { fromIni } = await import("@aws-sdk/credential-provider-ini");
23
43
  return fromIni(init)();
24
44
  }, async () => {
25
- init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromProcess");
45
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
26
46
  const { fromProcess } = await import("@aws-sdk/credential-provider-process");
27
47
  return fromProcess(init)();
28
48
  }, async () => {
29
- init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::fromTokenFile");
49
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
30
50
  const { fromTokenFile } = await import("@aws-sdk/credential-provider-web-identity");
31
51
  return fromTokenFile(init)();
32
52
  }, async () => {
33
- init.logger?.debug("@aws-sdk/credential-provider-node", "defaultProvider::remoteProvider");
53
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
34
54
  return (await remoteProvider(init))();
35
55
  }, async () => {
36
- throw new CredentialsProviderError("Could not load credentials from any providers", false);
56
+ throw new CredentialsProviderError("Could not load credentials from any providers", {
57
+ tryNextLink: false,
58
+ logger: init.logger,
59
+ });
37
60
  }), credentialsTreatedAsExpired, credentialsWillNeedRefresh);
38
61
  export const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
39
62
  export const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
@@ -3,15 +3,15 @@ export const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
3
3
  export const remoteProvider = async (init) => {
4
4
  const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("@smithy/credential-provider-imds");
5
5
  if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
6
- init.logger?.debug("@aws-sdk/credential-provider-node", "remoteProvider::fromHttp/fromContainerMetadata");
6
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
7
7
  const { fromHttp } = await import("@aws-sdk/credential-provider-http");
8
8
  return chain(fromHttp(init), fromContainerMetadata(init));
9
9
  }
10
10
  if (process.env[ENV_IMDS_DISABLED]) {
11
11
  return async () => {
12
- throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled");
12
+ throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger });
13
13
  };
14
14
  }
15
- init.logger?.debug("@aws-sdk/credential-provider-node", "remoteProvider::fromInstanceMetadata");
15
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
16
16
  return fromInstanceMetadata(init);
17
17
  };
@@ -1,3 +1,4 @@
1
+ import type { FromHttpOptions } from "@aws-sdk/credential-provider-http";
1
2
  import type { FromIniInit } from "@aws-sdk/credential-provider-ini";
2
3
  import type { FromProcessInit } from "@aws-sdk/credential-provider-process";
3
4
  import type { FromSSOInit, SsoCredentialsParameters } from "@aws-sdk/credential-provider-sso";
@@ -7,7 +8,7 @@ import { AwsCredentialIdentity, MemoizedProvider } from "@smithy/types";
7
8
  /**
8
9
  * @public
9
10
  */
10
- export type DefaultProviderInit = FromIniInit & RemoteProviderInit & FromProcessInit & (FromSSOInit & Partial<SsoCredentialsParameters>) & FromTokenFileInit;
11
+ export type DefaultProviderInit = FromIniInit & FromHttpOptions & RemoteProviderInit & FromProcessInit & (FromSSOInit & Partial<SsoCredentialsParameters>) & FromTokenFileInit;
11
12
  /**
12
13
  * Creates a credential provider that will attempt to find credentials from the
13
14
  * following sources (listed in order of precedence):
@@ -1,3 +1,4 @@
1
+ import type { FromHttpOptions } from "@aws-sdk/credential-provider-http";
1
2
  import type { RemoteProviderInit } from "@smithy/credential-provider-imds";
2
3
  import type { AwsCredentialIdentityProvider } from "@smithy/types";
3
4
  /**
@@ -7,4 +8,4 @@ export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
7
8
  /**
8
9
  * @internal
9
10
  */
10
- export declare const remoteProvider: (init: RemoteProviderInit) => Promise<AwsCredentialIdentityProvider>;
11
+ export declare const remoteProvider: (init: RemoteProviderInit | FromHttpOptions) => Promise<AwsCredentialIdentityProvider>;
@@ -1,3 +1,4 @@
1
+ import { FromHttpOptions } from "@aws-sdk/credential-provider-http";
1
2
  import { FromIniInit } from "@aws-sdk/credential-provider-ini";
2
3
  import { FromProcessInit } from "@aws-sdk/credential-provider-process";
3
4
  import {
@@ -8,6 +9,7 @@ import { FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
8
9
  import { RemoteProviderInit } from "@smithy/credential-provider-imds";
9
10
  import { AwsCredentialIdentity, MemoizedProvider } from "@smithy/types";
10
11
  export type DefaultProviderInit = FromIniInit &
12
+ FromHttpOptions &
11
13
  RemoteProviderInit &
12
14
  FromProcessInit &
13
15
  (FromSSOInit & Partial<SsoCredentialsParameters>) &
@@ -1,6 +1,7 @@
1
+ import { FromHttpOptions } from "@aws-sdk/credential-provider-http";
1
2
  import { RemoteProviderInit } from "@smithy/credential-provider-imds";
2
3
  import { AwsCredentialIdentityProvider } from "@smithy/types";
3
4
  export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
4
5
  export declare const remoteProvider: (
5
- init: RemoteProviderInit
6
+ init: RemoteProviderInit | FromHttpOptions
6
7
  ) => Promise<AwsCredentialIdentityProvider>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.577.0",
3
+ "version": "3.650.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -28,17 +28,17 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/credential-provider-env": "3.577.0",
32
- "@aws-sdk/credential-provider-http": "3.577.0",
33
- "@aws-sdk/credential-provider-ini": "3.577.0",
34
- "@aws-sdk/credential-provider-process": "3.577.0",
35
- "@aws-sdk/credential-provider-sso": "3.577.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.577.0",
37
- "@aws-sdk/types": "3.577.0",
38
- "@smithy/credential-provider-imds": "^3.0.0",
39
- "@smithy/property-provider": "^3.0.0",
40
- "@smithy/shared-ini-file-loader": "^3.0.0",
41
- "@smithy/types": "^3.0.0",
31
+ "@aws-sdk/credential-provider-env": "3.649.0",
32
+ "@aws-sdk/credential-provider-http": "3.649.0",
33
+ "@aws-sdk/credential-provider-ini": "3.650.0",
34
+ "@aws-sdk/credential-provider-process": "3.649.0",
35
+ "@aws-sdk/credential-provider-sso": "3.650.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.649.0",
37
+ "@aws-sdk/types": "3.649.0",
38
+ "@smithy/credential-provider-imds": "^3.2.1",
39
+ "@smithy/property-provider": "^3.1.4",
40
+ "@smithy/shared-ini-file-loader": "^3.1.5",
41
+ "@smithy/types": "^3.4.0",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
@@ -34,7 +34,8 @@ var import_child_process = require("child_process");
34
34
  var import_util = require("util");
35
35
 
36
36
  // src/getValidatedProcessCredentials.ts
37
- var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data) => {
37
+ var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {
38
+ var _a;
38
39
  if (data.Version !== 1) {
39
40
  throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
40
41
  }
@@ -48,17 +49,22 @@ var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data)
48
49
  throw Error(`Profile ${profileName} credential_process returned expired credentials.`);
49
50
  }
50
51
  }
52
+ let accountId = data.AccountId;
53
+ if (!accountId && ((_a = profiles == null ? void 0 : profiles[profileName]) == null ? void 0 : _a.aws_account_id)) {
54
+ accountId = profiles[profileName].aws_account_id;
55
+ }
51
56
  return {
52
57
  accessKeyId: data.AccessKeyId,
53
58
  secretAccessKey: data.SecretAccessKey,
54
59
  ...data.SessionToken && { sessionToken: data.SessionToken },
55
60
  ...data.Expiration && { expiration: new Date(data.Expiration) },
56
- ...data.CredentialScope && { credentialScope: data.CredentialScope }
61
+ ...data.CredentialScope && { credentialScope: data.CredentialScope },
62
+ ...accountId && { accountId }
57
63
  };
58
64
  }, "getValidatedProcessCredentials");
59
65
 
60
66
  // src/resolveProcessCredentials.ts
61
- var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles) => {
67
+ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => {
62
68
  const profile = profiles[profileName];
63
69
  if (profiles[profileName]) {
64
70
  const credentialProcess = profile["credential_process"];
@@ -72,24 +78,26 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
72
78
  } catch {
73
79
  throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);
74
80
  }
75
- return getValidatedProcessCredentials(profileName, data);
81
+ return getValidatedProcessCredentials(profileName, data, profiles);
76
82
  } catch (error) {
77
- throw new import_property_provider.CredentialsProviderError(error.message);
83
+ throw new import_property_provider.CredentialsProviderError(error.message, { logger });
78
84
  }
79
85
  } else {
80
- throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`);
86
+ throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });
81
87
  }
82
88
  } else {
83
- throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`);
89
+ throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {
90
+ logger
91
+ });
84
92
  }
85
93
  }, "resolveProcessCredentials");
86
94
 
87
95
  // src/fromProcess.ts
88
96
  var fromProcess = /* @__PURE__ */ __name((init = {}) => async () => {
89
97
  var _a;
90
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process", "fromProcess");
98
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process - fromProcess");
91
99
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
92
- return resolveProcessCredentials((0, import_shared_ini_file_loader.getProfileName)(init), profiles);
100
+ return resolveProcessCredentials((0, import_shared_ini_file_loader.getProfileName)(init), profiles, init.logger);
93
101
  }, "fromProcess");
94
102
  // Annotate the CommonJS export names for ESM import in node:
95
103
 
@@ -1,7 +1,7 @@
1
1
  import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
2
2
  import { resolveProcessCredentials } from "./resolveProcessCredentials";
3
3
  export const fromProcess = (init = {}) => async () => {
4
- init.logger?.debug("@aws-sdk/credential-provider-process", "fromProcess");
4
+ init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
5
5
  const profiles = await parseKnownFiles(init);
6
- return resolveProcessCredentials(getProfileName(init), profiles);
6
+ return resolveProcessCredentials(getProfileName(init), profiles, init.logger);
7
7
  };
@@ -1,4 +1,4 @@
1
- export const getValidatedProcessCredentials = (profileName, data) => {
1
+ export const getValidatedProcessCredentials = (profileName, data, profiles) => {
2
2
  if (data.Version !== 1) {
3
3
  throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
4
4
  }
@@ -12,11 +12,16 @@ export const getValidatedProcessCredentials = (profileName, data) => {
12
12
  throw Error(`Profile ${profileName} credential_process returned expired credentials.`);
13
13
  }
14
14
  }
15
+ let accountId = data.AccountId;
16
+ if (!accountId && profiles?.[profileName]?.aws_account_id) {
17
+ accountId = profiles[profileName].aws_account_id;
18
+ }
15
19
  return {
16
20
  accessKeyId: data.AccessKeyId,
17
21
  secretAccessKey: data.SecretAccessKey,
18
22
  ...(data.SessionToken && { sessionToken: data.SessionToken }),
19
23
  ...(data.Expiration && { expiration: new Date(data.Expiration) }),
20
24
  ...(data.CredentialScope && { credentialScope: data.CredentialScope }),
25
+ ...(accountId && { accountId }),
21
26
  };
22
27
  };
@@ -2,7 +2,7 @@ import { CredentialsProviderError } from "@smithy/property-provider";
2
2
  import { exec } from "child_process";
3
3
  import { promisify } from "util";
4
4
  import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials";
5
- export const resolveProcessCredentials = async (profileName, profiles) => {
5
+ export const resolveProcessCredentials = async (profileName, profiles, logger) => {
6
6
  const profile = profiles[profileName];
7
7
  if (profiles[profileName]) {
8
8
  const credentialProcess = profile["credential_process"];
@@ -17,17 +17,19 @@ export const resolveProcessCredentials = async (profileName, profiles) => {
17
17
  catch {
18
18
  throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);
19
19
  }
20
- return getValidatedProcessCredentials(profileName, data);
20
+ return getValidatedProcessCredentials(profileName, data, profiles);
21
21
  }
22
22
  catch (error) {
23
- throw new CredentialsProviderError(error.message);
23
+ throw new CredentialsProviderError(error.message, { logger });
24
24
  }
25
25
  }
26
26
  else {
27
- throw new CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`);
27
+ throw new CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger });
28
28
  }
29
29
  }
30
30
  else {
31
- throw new CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`);
31
+ throw new CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, {
32
+ logger,
33
+ });
32
34
  }
33
35
  };
@@ -8,4 +8,5 @@ export type ProcessCredentials = {
8
8
  SessionToken?: string;
9
9
  Expiration?: number;
10
10
  CredentialScope?: string;
11
+ AccountId?: string;
11
12
  };
@@ -1,6 +1,6 @@
1
- import { AwsCredentialIdentity } from "@smithy/types";
1
+ import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
2
2
  import { ProcessCredentials } from "./ProcessCredentials";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export declare const getValidatedProcessCredentials: (profileName: string, data: ProcessCredentials) => AwsCredentialIdentity;
6
+ export declare const getValidatedProcessCredentials: (profileName: string, data: ProcessCredentials, profiles: ParsedIniData) => AwsCredentialIdentity;
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
1
+ import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export declare const resolveProcessCredentials: (profileName: string, profiles: ParsedIniData) => Promise<AwsCredentialIdentity>;
5
+ export declare const resolveProcessCredentials: (profileName: string, profiles: ParsedIniData, logger?: Logger) => Promise<AwsCredentialIdentity>;
@@ -5,4 +5,5 @@ export type ProcessCredentials = {
5
5
  SessionToken?: string;
6
6
  Expiration?: number;
7
7
  CredentialScope?: string;
8
+ AccountId?: string;
8
9
  };
@@ -1,6 +1,7 @@
1
- import { AwsCredentialIdentity } from "@smithy/types";
1
+ import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
2
2
  import { ProcessCredentials } from "./ProcessCredentials";
3
3
  export declare const getValidatedProcessCredentials: (
4
4
  profileName: string,
5
- data: ProcessCredentials
5
+ data: ProcessCredentials,
6
+ profiles: ParsedIniData
6
7
  ) => AwsCredentialIdentity;
@@ -1,5 +1,6 @@
1
- import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
1
+ import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types";
2
2
  export declare const resolveProcessCredentials: (
3
3
  profileName: string,
4
- profiles: ParsedIniData
4
+ profiles: ParsedIniData,
5
+ logger?: Logger
5
6
  ) => Promise<AwsCredentialIdentity>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.577.0",
3
+ "version": "3.649.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.577.0",
28
- "@smithy/property-provider": "^3.0.0",
29
- "@smithy/shared-ini-file-loader": "^3.0.0",
30
- "@smithy/types": "^3.0.0",
27
+ "@aws-sdk/types": "3.649.0",
28
+ "@smithy/property-provider": "^3.1.4",
29
+ "@smithy/shared-ini-file-loader": "^3.1.5",
30
+ "@smithy/types": "^3.4.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -64,7 +64,8 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
64
64
  ssoRoleName,
65
65
  ssoClient,
66
66
  clientConfig,
67
- profile
67
+ profile,
68
+ logger
68
69
  }) => {
69
70
  let token;
70
71
  const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
@@ -76,23 +77,26 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
76
77
  expiresAt: new Date(_token.expiration).toISOString()
77
78
  };
78
79
  } catch (e) {
79
- throw new import_property_provider.CredentialsProviderError(e.message, SHOULD_FAIL_CREDENTIAL_CHAIN);
80
+ throw new import_property_provider.CredentialsProviderError(e.message, {
81
+ tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
82
+ logger
83
+ });
80
84
  }
81
85
  } else {
82
86
  try {
83
87
  token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl);
84
88
  } catch (e) {
85
- throw new import_property_provider.CredentialsProviderError(
86
- `The SSO session associated with this profile is invalid. ${refreshMessage}`,
87
- SHOULD_FAIL_CREDENTIAL_CHAIN
88
- );
89
+ throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, {
90
+ tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
91
+ logger
92
+ });
89
93
  }
90
94
  }
91
95
  if (new Date(token.expiresAt).getTime() - Date.now() <= 0) {
92
- throw new import_property_provider.CredentialsProviderError(
93
- `The SSO session associated with this profile has expired. ${refreshMessage}`,
94
- SHOULD_FAIL_CREDENTIAL_CHAIN
95
- );
96
+ throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, {
97
+ tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
98
+ logger
99
+ });
96
100
  }
97
101
  const { accessToken } = token;
98
102
  const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));
@@ -111,18 +115,33 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
111
115
  })
112
116
  );
113
117
  } catch (e) {
114
- throw import_property_provider.CredentialsProviderError.from(e, SHOULD_FAIL_CREDENTIAL_CHAIN);
118
+ throw new import_property_provider.CredentialsProviderError(e, {
119
+ tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
120
+ logger
121
+ });
115
122
  }
116
- const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope } = {} } = ssoResp;
123
+ const {
124
+ roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}
125
+ } = ssoResp;
117
126
  if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {
118
- throw new import_property_provider.CredentialsProviderError("SSO returns an invalid temporary credential.", SHOULD_FAIL_CREDENTIAL_CHAIN);
127
+ throw new import_property_provider.CredentialsProviderError("SSO returns an invalid temporary credential.", {
128
+ tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
129
+ logger
130
+ });
119
131
  }
120
- return { accessKeyId, secretAccessKey, sessionToken, expiration: new Date(expiration), credentialScope };
132
+ return {
133
+ accessKeyId,
134
+ secretAccessKey,
135
+ sessionToken,
136
+ expiration: new Date(expiration),
137
+ ...credentialScope && { credentialScope },
138
+ ...accountId && { accountId }
139
+ };
121
140
  }, "resolveSSOCredentials");
122
141
 
123
142
  // src/validateSsoProfile.ts
124
143
 
125
- var validateSsoProfile = /* @__PURE__ */ __name((profile) => {
144
+ var validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => {
126
145
  const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
127
146
  if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
128
147
  throw new import_property_provider.CredentialsProviderError(
@@ -130,7 +149,7 @@ var validateSsoProfile = /* @__PURE__ */ __name((profile) => {
130
149
  ", "
131
150
  )}
132
151
  Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,
133
- false
152
+ { tryNextLink: false, logger }
134
153
  );
135
154
  }
136
155
  return profile;
@@ -139,7 +158,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
139
158
  // src/fromSSO.ts
140
159
  var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
141
160
  var _a;
142
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso", "fromSSO");
161
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso - fromSSO");
143
162
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
144
163
  const { ssoClient } = init;
145
164
  const profileName = (0, import_shared_ini_file_loader.getProfileName)(init);
@@ -147,25 +166,36 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
147
166
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
148
167
  const profile = profiles[profileName];
149
168
  if (!profile) {
150
- throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`);
169
+ throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });
151
170
  }
152
171
  if (!isSsoProfile(profile)) {
153
- throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`);
172
+ throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {
173
+ logger: init.logger
174
+ });
154
175
  }
155
176
  if (profile == null ? void 0 : profile.sso_session) {
156
177
  const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);
157
178
  const session = ssoSessions[profile.sso_session];
158
179
  const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;
159
180
  if (ssoRegion && ssoRegion !== session.sso_region) {
160
- throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, false);
181
+ throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {
182
+ tryNextLink: false,
183
+ logger: init.logger
184
+ });
161
185
  }
162
186
  if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {
163
- throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, false);
187
+ throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {
188
+ tryNextLink: false,
189
+ logger: init.logger
190
+ });
164
191
  }
165
192
  profile.sso_region = session.sso_region;
166
193
  profile.sso_start_url = session.sso_start_url;
167
194
  }
168
- const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile);
195
+ const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(
196
+ profile,
197
+ init.logger
198
+ );
169
199
  return resolveSSOCredentials({
170
200
  ssoStartUrl: sso_start_url,
171
201
  ssoSession: sso_session,
@@ -178,7 +208,8 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
178
208
  });
179
209
  } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {
180
210
  throw new import_property_provider.CredentialsProviderError(
181
- 'Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"'
211
+ 'Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',
212
+ { tryNextLink: false, logger: init.logger }
182
213
  );
183
214
  } else {
184
215
  return resolveSSOCredentials({
@@ -4,7 +4,7 @@ import { isSsoProfile } from "./isSsoProfile";
4
4
  import { resolveSSOCredentials } from "./resolveSSOCredentials";
5
5
  import { validateSsoProfile } from "./validateSsoProfile";
6
6
  export const fromSSO = (init = {}) => async () => {
7
- init.logger?.debug("@aws-sdk/credential-provider-sso", "fromSSO");
7
+ init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
8
8
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
9
9
  const { ssoClient } = init;
10
10
  const profileName = getProfileName(init);
@@ -12,25 +12,33 @@ export const fromSSO = (init = {}) => async () => {
12
12
  const profiles = await parseKnownFiles(init);
13
13
  const profile = profiles[profileName];
14
14
  if (!profile) {
15
- throw new CredentialsProviderError(`Profile ${profileName} was not found.`);
15
+ throw new CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger });
16
16
  }
17
17
  if (!isSsoProfile(profile)) {
18
- throw new CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`);
18
+ throw new CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, {
19
+ logger: init.logger,
20
+ });
19
21
  }
20
22
  if (profile?.sso_session) {
21
23
  const ssoSessions = await loadSsoSessionData(init);
22
24
  const session = ssoSessions[profile.sso_session];
23
25
  const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;
24
26
  if (ssoRegion && ssoRegion !== session.sso_region) {
25
- throw new CredentialsProviderError(`Conflicting SSO region` + conflictMsg, false);
27
+ throw new CredentialsProviderError(`Conflicting SSO region` + conflictMsg, {
28
+ tryNextLink: false,
29
+ logger: init.logger,
30
+ });
26
31
  }
27
32
  if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) {
28
- throw new CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, false);
33
+ throw new CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, {
34
+ tryNextLink: false,
35
+ logger: init.logger,
36
+ });
29
37
  }
30
38
  profile.sso_region = session.sso_region;
31
39
  profile.sso_start_url = session.sso_start_url;
32
40
  }
33
- const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile);
41
+ const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile(profile, init.logger);
34
42
  return resolveSSOCredentials({
35
43
  ssoStartUrl: sso_start_url,
36
44
  ssoSession: sso_session,
@@ -44,7 +52,7 @@ export const fromSSO = (init = {}) => async () => {
44
52
  }
45
53
  else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) {
46
54
  throw new CredentialsProviderError("Incomplete configuration. The fromSSO() argument hash must include " +
47
- '"ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"');
55
+ '"ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"', { tryNextLink: false, logger: init.logger });
48
56
  }
49
57
  else {
50
58
  return resolveSSOCredentials({