cdk-rds-sql 3.4.0 → 3.4.1

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 (985) hide show
  1. package/.jsii +6 -6
  2. package/.pre-commit-config.yaml +1 -1
  3. package/lib/database.js +1 -1
  4. package/lib/handler.js +2 -2
  5. package/lib/provider.js +3 -2
  6. package/lib/role.js +1 -1
  7. package/lib/schema.js +1 -1
  8. package/lib/sql.js +1 -1
  9. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +30 -0
  10. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +1 -0
  11. package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.js → main/crossPlatformSha256.js} +0 -5
  12. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +1 -0
  13. package/node_modules/@aws-crypto/sha256-browser/build/{index.d.ts → main/index.d.ts} +0 -1
  14. package/node_modules/@aws-crypto/sha256-browser/build/{index.js → main/index.js} +1 -3
  15. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +1 -0
  16. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +1 -0
  17. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +1 -0
  18. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +10 -0
  19. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +40 -0
  20. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +1 -0
  21. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +8 -0
  22. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +27 -0
  23. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +1 -0
  24. package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +2 -0
  25. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +3 -0
  26. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +1 -0
  27. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +7 -0
  28. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +1 -0
  29. package/node_modules/@aws-crypto/sha256-browser/build/{ie11Sha256.d.ts → module/webCryptoSha256.d.ts} +3 -2
  30. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +53 -0
  31. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +1 -0
  32. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +10 -0
  33. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  34. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  35. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  36. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  37. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +60 -0
  38. package/node_modules/@aws-crypto/{ie11-detection → sha256-browser/node_modules/@smithy/util-buffer-from}/LICENSE +4 -5
  39. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +10 -0
  40. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  41. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  42. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  43. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  44. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +61 -0
  45. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +201 -0
  46. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +4 -0
  47. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  48. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  49. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  50. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  51. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  52. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  53. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  54. 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
  55. 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
  56. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  57. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  58. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  59. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  60. 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
  61. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  62. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  63. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  64. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  65. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  66. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +66 -0
  67. package/node_modules/@aws-crypto/sha256-browser/package.json +11 -11
  68. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -4
  69. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -1
  70. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +3 -15
  71. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +7 -0
  72. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +20 -0
  73. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +1 -0
  74. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +1 -0
  75. package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +1 -0
  76. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +1 -0
  77. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +1 -0
  78. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +17 -0
  79. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +121 -0
  80. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +1 -0
  81. package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +20 -0
  82. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +95 -0
  83. package/node_modules/@aws-crypto/sha256-js/build/{constants.js.map → module/constants.js.map} +1 -1
  84. package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +1 -0
  85. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +2 -0
  86. package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +1 -0
  87. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +12 -0
  88. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +82 -0
  89. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +1 -0
  90. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +5 -0
  91. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +319 -0
  92. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +1 -0
  93. package/node_modules/@aws-crypto/sha256-js/package.json +11 -7
  94. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +3 -10
  95. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +7 -0
  96. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +20 -0
  97. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +5 -0
  98. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +1 -0
  99. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +69 -0
  100. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +1 -0
  101. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +1 -0
  102. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +2 -0
  103. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +1 -0
  104. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +4 -0
  105. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +62 -0
  106. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +1 -0
  107. package/node_modules/@aws-crypto/supports-web-crypto/package.json +7 -5
  108. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +3 -9
  109. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +7 -0
  110. package/node_modules/@aws-crypto/util/CHANGELOG.md +24 -0
  111. package/node_modules/@aws-crypto/util/build/{convertToBuffer.js → main/convertToBuffer.js} +2 -2
  112. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +1 -0
  113. package/node_modules/@aws-crypto/util/build/main/index.js.map +1 -0
  114. package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +2 -0
  115. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +1 -0
  116. package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +1 -0
  117. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +1 -0
  118. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +2 -0
  119. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +20 -0
  120. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +1 -0
  121. package/node_modules/@aws-crypto/util/build/module/index.d.ts +4 -0
  122. package/node_modules/@aws-crypto/util/build/module/index.js +7 -0
  123. package/node_modules/@aws-crypto/util/build/module/index.js.map +1 -0
  124. package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +2 -0
  125. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +9 -0
  126. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +1 -0
  127. package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +1 -0
  128. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +11 -0
  129. package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +1 -0
  130. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +1 -0
  131. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +16 -0
  132. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +1 -0
  133. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  134. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +10 -0
  135. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  136. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  137. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  138. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  139. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  140. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  141. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +10 -0
  142. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  143. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  144. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  145. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  146. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  147. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +201 -0
  148. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +4 -0
  149. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  150. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  151. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  152. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  153. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  154. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  155. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  156. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
  157. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
  158. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  159. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  160. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  161. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  162. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
  163. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  164. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  165. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  166. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  167. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  168. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  169. package/node_modules/@aws-crypto/util/package.json +8 -7
  170. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +1 -1
  171. package/node_modules/@aws-crypto/util/tsconfig.json +2 -16
  172. package/node_modules/@aws-crypto/util/tsconfig.module.json +7 -0
  173. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/endpointResolver.js +6 -2
  174. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/index.js +35 -108
  175. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/SecretsManagerClient.js +9 -15
  176. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/BatchGetSecretValueCommand.js +1 -3
  177. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CancelRotateSecretCommand.js +1 -3
  178. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CreateSecretCommand.js +1 -3
  179. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  180. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteSecretCommand.js +1 -3
  181. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DescribeSecretCommand.js +1 -3
  182. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetRandomPasswordCommand.js +1 -3
  183. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetResourcePolicyCommand.js +1 -3
  184. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetSecretValueCommand.js +1 -3
  185. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretVersionIdsCommand.js +1 -3
  186. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretsCommand.js +1 -3
  187. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  188. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutSecretValueCommand.js +1 -3
  189. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RemoveRegionsFromReplicationCommand.js +1 -3
  190. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ReplicateSecretToRegionsCommand.js +1 -3
  191. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RestoreSecretCommand.js +1 -3
  192. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RotateSecretCommand.js +1 -3
  193. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/StopReplicationToReplicaCommand.js +1 -3
  194. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/TagResourceCommand.js +1 -3
  195. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UntagResourceCommand.js +1 -3
  196. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretCommand.js +1 -3
  197. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretVersionStageCommand.js +1 -3
  198. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ValidateResourcePolicyCommand.js +1 -3
  199. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/endpoint/endpointResolver.js +7 -3
  200. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/models/models_0.js +1 -0
  201. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/protocols/Aws_json1_1.js +1 -0
  202. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +6 -8
  203. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  204. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/BatchGetSecretValueCommand.d.ts +2 -1
  205. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CancelRotateSecretCommand.d.ts +2 -1
  206. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CreateSecretCommand.d.ts +6 -2
  207. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -1
  208. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteSecretCommand.d.ts +2 -1
  209. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DescribeSecretCommand.d.ts +2 -1
  210. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetRandomPasswordCommand.d.ts +2 -1
  211. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
  212. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetSecretValueCommand.d.ts +2 -1
  213. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretVersionIdsCommand.d.ts +2 -1
  214. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretsCommand.d.ts +2 -1
  215. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
  216. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutSecretValueCommand.d.ts +7 -2
  217. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
  218. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
  219. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RestoreSecretCommand.d.ts +2 -1
  220. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RotateSecretCommand.d.ts +2 -1
  221. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/StopReplicationToReplicaCommand.d.ts +2 -1
  222. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/TagResourceCommand.d.ts +2 -1
  223. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  224. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretCommand.d.ts +6 -2
  225. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
  226. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ValidateResourcePolicyCommand.d.ts +2 -1
  227. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/index.d.ts +2 -2
  228. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/SecretsManagerServiceException.d.ts +2 -1
  229. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +15 -1
  230. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +4 -2
  231. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +4 -2
  232. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +5 -3
  233. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/SecretsManagerClient.d.ts +7 -9
  234. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +2 -1
  235. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +2 -1
  236. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -1
  238. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +2 -1
  239. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +2 -1
  240. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +2 -1
  241. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -1
  242. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +2 -1
  243. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +2 -1
  244. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -1
  245. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -1
  246. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +2 -1
  247. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
  248. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
  249. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +2 -1
  250. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +2 -1
  251. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +2 -1
  252. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  253. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  254. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +2 -1
  255. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
  256. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +2 -1
  257. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +2 -1
  258. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +1 -0
  259. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  260. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  261. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  262. package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
  263. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
  264. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +13 -31
  265. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
  266. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
  267. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
  268. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
  269. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
  270. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
  271. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -8
  272. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  273. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
  274. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
  275. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
  276. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
  277. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -2
  278. package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +2 -1
  279. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +4 -2
  280. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +4 -2
  281. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -3
  282. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +7 -9
  283. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +2 -1
  284. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +2 -1
  285. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +2 -1
  286. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +2 -1
  287. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +2 -1
  288. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  289. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  290. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  291. package/node_modules/@aws-sdk/client-sso/package.json +34 -34
  292. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
  293. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +13 -31
  294. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
  295. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
  296. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
  297. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
  298. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
  299. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
  300. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +6 -8
  301. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  302. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
  303. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  304. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -1
  305. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  306. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +2 -2
  307. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +2 -1
  308. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +4 -2
  309. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +4 -2
  310. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +5 -3
  311. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +7 -9
  312. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +2 -1
  313. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  314. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +2 -1
  315. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  316. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +2 -1
  317. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  318. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  319. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  320. package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -36
  321. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
  322. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
  323. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +33 -40
  324. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
  325. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
  326. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
  327. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
  328. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
  329. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
  330. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
  331. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
  332. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
  333. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +24 -6
  334. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
  335. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -8
  336. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  337. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
  338. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  339. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  340. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  341. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  342. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
  343. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
  344. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
  345. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +2 -2
  346. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +2 -1
  347. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +4 -2
  348. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +4 -2
  349. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -3
  350. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +7 -9
  351. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +2 -1
  352. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  353. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  354. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  355. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  356. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +2 -1
  357. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -1
  358. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +2 -1
  359. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +2 -1
  360. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  361. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  362. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  363. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  364. package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
  365. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
  366. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +10 -1
  367. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +81 -9
  368. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
  369. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
  370. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
  371. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
  372. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +8 -1
  373. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
  374. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +20 -0
  375. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +14 -2
  376. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
  377. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -1
  378. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +25 -0
  379. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
  380. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
  381. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
  382. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
  383. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
  384. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
  385. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +26 -1
  386. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
  387. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +3 -1
  388. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -0
  389. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
  390. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
  391. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
  392. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
  393. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
  394. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
  395. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +18 -0
  396. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
  397. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -1
  398. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +18 -0
  399. package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
  400. package/node_modules/@aws-sdk/core/package.json +25 -9
  401. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +8 -3
  402. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +5 -2
  403. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
  404. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
  405. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  406. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  407. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +4 -4
  408. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -9
  409. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +4 -8
  410. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +2 -2
  411. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +4 -4
  412. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -9
  413. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -8
  414. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +3 -1
  415. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  416. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  417. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  418. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +2 -1
  419. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -1
  420. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -1
  421. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +3 -2
  422. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  423. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +73 -22
  424. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  425. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +35 -14
  426. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +19 -6
  427. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
  428. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  429. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +5 -2
  430. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -2
  431. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
  432. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +11 -2
  433. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +3 -2
  434. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
  435. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -11
  436. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  437. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +44 -16
  438. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +39 -16
  439. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +3 -3
  440. package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +2 -1
  441. package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +2 -1
  442. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +2 -0
  443. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +2 -1
  444. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  445. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +17 -9
  446. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +2 -2
  447. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
  448. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +7 -5
  449. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
  450. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  451. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +2 -2
  452. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
  453. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
  454. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +3 -2
  455. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  456. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +54 -23
  457. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +15 -7
  458. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +30 -8
  459. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +2 -2
  460. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
  461. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
  462. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +3 -1
  463. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -1
  464. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  465. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -2
  466. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -1
  467. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +4 -2
  468. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
  469. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  470. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  471. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  472. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  473. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +11 -0
  474. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  475. package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
  476. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  477. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  478. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -1
  479. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  480. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  481. package/node_modules/@aws-sdk/types/package.json +2 -2
  482. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +16 -6
  483. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +9 -2
  484. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +7 -4
  485. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +9 -2
  486. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  487. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  488. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  489. package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +7 -4
  490. package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  491. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +7 -4
  492. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  493. package/node_modules/@smithy/abort-controller/package.json +3 -3
  494. package/node_modules/@smithy/config-resolver/package.json +5 -5
  495. package/node_modules/@smithy/core/README.md +35 -2
  496. package/node_modules/@smithy/core/cbor.js +6 -0
  497. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  498. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +707 -0
  499. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
  500. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +181 -0
  501. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +20 -0
  502. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +15 -0
  503. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +2 -0
  504. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +82 -0
  505. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
  506. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
  507. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
  508. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
  509. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +40 -0
  510. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
  511. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +2 -0
  512. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +29 -0
  513. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
  514. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
  515. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +43 -0
  516. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
  517. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +2 -0
  518. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +29 -0
  519. package/node_modules/@smithy/core/package.json +40 -13
  520. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +32 -23
  521. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +17 -6
  522. package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +11 -9
  523. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
  524. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
  525. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
  526. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  527. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -5
  528. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +17 -3
  529. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  530. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  531. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  532. package/node_modules/@smithy/hash-node/package.json +3 -3
  533. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  534. package/node_modules/@smithy/middleware-content-length/package.json +5 -5
  535. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
  536. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +23 -2
  537. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
  538. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js +1 -1
  539. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +7 -1
  540. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +10 -1
  541. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts +4 -1
  542. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +11 -0
  543. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +4 -1
  544. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +11 -0
  545. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  546. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  547. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  548. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  549. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +21 -3
  550. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -2
  551. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -2
  552. package/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js +12 -0
  553. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +2 -2
  554. package/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts +9 -0
  555. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +2 -2
  556. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +9 -0
  557. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  558. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +119 -54
  559. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +29 -14
  560. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +9 -1
  561. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +27 -13
  562. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +18 -5
  563. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +12 -4
  564. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  565. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +6 -1
  566. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -1
  567. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +6 -1
  568. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  569. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -1
  570. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +2 -1
  571. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -1
  572. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  573. package/node_modules/@smithy/property-provider/dist-cjs/index.js +28 -10
  574. package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +2 -3
  575. package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +15 -4
  576. package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +2 -3
  577. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +16 -3
  578. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +25 -3
  579. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +16 -3
  580. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +16 -3
  581. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +25 -3
  582. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +16 -3
  583. package/node_modules/@smithy/property-provider/package.json +3 -3
  584. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  585. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  586. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +31 -1
  587. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +31 -1
  588. package/node_modules/@smithy/protocol-http/package.json +3 -3
  589. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  590. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  591. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  592. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +18 -2
  593. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +14 -2
  594. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -1
  595. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +5 -1
  596. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  597. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
  598. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
  599. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
  600. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  601. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
  602. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
  603. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  604. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
  605. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
  606. package/node_modules/@smithy/signature-v4/package.json +6 -6
  607. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -4
  608. package/node_modules/@smithy/smithy-client/dist-es/client.js +22 -4
  609. package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
  610. package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +3 -0
  611. package/node_modules/@smithy/smithy-client/dist-es/ser-utils.js +1 -0
  612. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +22 -1
  613. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +5 -0
  614. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +2 -0
  615. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +22 -1
  616. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +5 -0
  617. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +2 -0
  618. package/node_modules/@smithy/smithy-client/package.json +7 -7
  619. package/node_modules/@smithy/types/README.md +36 -1
  620. package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
  621. package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
  622. package/node_modules/@smithy/types/dist-types/abort.d.ts +4 -3
  623. package/node_modules/@smithy/types/dist-types/command.d.ts +14 -1
  624. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  625. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +11 -0
  626. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  627. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +4 -0
  628. package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +6 -6
  629. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +12 -6
  630. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +8 -3
  631. package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
  632. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +4 -3
  633. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +14 -1
  634. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +1 -1
  635. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +11 -0
  636. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +2 -2
  637. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +4 -0
  638. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +6 -6
  639. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +8 -10
  640. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +6 -9
  641. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +3 -3
  642. package/node_modules/@smithy/types/dist-types/waiter.d.ts +3 -3
  643. package/node_modules/@smithy/types/package.json +1 -1
  644. package/node_modules/@smithy/url-parser/package.json +4 -4
  645. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  646. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  647. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +73 -11
  648. package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +49 -0
  649. package/node_modules/@smithy/util-endpoints/dist-es/index.js +1 -0
  650. package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +0 -10
  651. package/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts +34 -0
  652. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +1 -0
  653. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +34 -0
  654. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  655. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  656. package/node_modules/@smithy/util-middleware/package.json +3 -3
  657. package/node_modules/@smithy/util-retry/package.json +4 -4
  658. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +36 -0
  659. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +46 -0
  660. package/node_modules/@smithy/util-stream/dist-cjs/index.js +7 -1
  661. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +3 -3
  662. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +11 -0
  663. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +17 -0
  664. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +9 -0
  665. package/node_modules/@smithy/util-stream/dist-es/headStream.browser.js +31 -0
  666. package/node_modules/@smithy/util-stream/dist-es/headStream.js +41 -0
  667. package/node_modules/@smithy/util-stream/dist-es/index.js +3 -0
  668. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +3 -3
  669. package/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js +7 -0
  670. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +13 -0
  671. package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +2 -0
  672. package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +8 -0
  673. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +9 -0
  674. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +3 -0
  675. package/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts +5 -0
  676. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +8 -0
  677. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +12 -0
  678. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +8 -0
  679. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +9 -0
  680. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +3 -0
  681. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +8 -0
  682. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +14 -0
  683. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +12 -0
  684. package/node_modules/@smithy/util-stream/package.json +14 -8
  685. package/node_modules/@types/aws-lambda/README.md +2 -2
  686. package/node_modules/@types/aws-lambda/index.d.ts +1 -0
  687. package/node_modules/@types/aws-lambda/package.json +8 -3
  688. package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +3 -1
  689. package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +133 -42
  690. package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +196 -30
  691. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +1 -1
  692. package/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +1 -1
  693. package/node_modules/@types/aws-lambda/trigger/sqs.d.ts +1 -0
  694. package/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts +2 -1
  695. package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
  696. package/node_modules/fast-xml-parser/README.md +83 -51
  697. package/node_modules/fast-xml-parser/package.json +8 -5
  698. package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
  699. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  700. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  701. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  702. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  703. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  704. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  705. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  706. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
  707. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  708. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  709. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  710. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  711. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  712. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  713. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  714. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  715. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  716. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  717. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  718. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  719. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
  720. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  721. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  722. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  723. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  724. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
  725. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
  726. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
  727. package/node_modules/pg/lib/native/query.js +3 -0
  728. package/node_modules/pg/lib/query.js +5 -0
  729. package/node_modules/pg/package.json +3 -3
  730. package/node_modules/tslib/package.json +1 -1
  731. package/node_modules/tslib/tslib.d.ts +1 -1
  732. package/node_modules/tslib/tslib.es6.js +19 -10
  733. package/node_modules/tslib/tslib.es6.mjs +23 -15
  734. package/node_modules/tslib/tslib.js +19 -11
  735. package/package.json +22 -16
  736. package/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +0 -46
  737. package/node_modules/@aws-crypto/ie11-detection/README.md +0 -20
  738. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.d.ts +0 -19
  739. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js +0 -3
  740. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js.map +0 -1
  741. package/node_modules/@aws-crypto/ie11-detection/build/Key.d.ts +0 -12
  742. package/node_modules/@aws-crypto/ie11-detection/build/Key.js +0 -3
  743. package/node_modules/@aws-crypto/ie11-detection/build/Key.js.map +0 -1
  744. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.d.ts +0 -12
  745. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js +0 -3
  746. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js.map +0 -1
  747. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +0 -33
  748. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js +0 -3
  749. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js.map +0 -1
  750. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.d.ts +0 -21
  751. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js +0 -32
  752. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js.map +0 -1
  753. package/node_modules/@aws-crypto/ie11-detection/build/index.d.ts +0 -5
  754. package/node_modules/@aws-crypto/ie11-detection/build/index.js +0 -9
  755. package/node_modules/@aws-crypto/ie11-detection/build/index.js.map +0 -1
  756. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/CopyrightNotice.txt +0 -15
  757. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/LICENSE.txt +0 -12
  758. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/README.md +0 -142
  759. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/index.js +0 -51
  760. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/package.json +0 -3
  761. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/package.json +0 -37
  762. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  763. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  764. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.d.ts +0 -37
  765. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.html +0 -1
  766. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js +0 -218
  767. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.html +0 -1
  768. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.js +0 -284
  769. package/node_modules/@aws-crypto/ie11-detection/package.json +0 -26
  770. package/node_modules/@aws-crypto/ie11-detection/src/CryptoOperation.ts +0 -21
  771. package/node_modules/@aws-crypto/ie11-detection/src/Key.ts +0 -12
  772. package/node_modules/@aws-crypto/ie11-detection/src/KeyOperation.ts +0 -13
  773. package/node_modules/@aws-crypto/ie11-detection/src/MsSubtleCrypto.ts +0 -88
  774. package/node_modules/@aws-crypto/ie11-detection/src/MsWindow.ts +0 -59
  775. package/node_modules/@aws-crypto/ie11-detection/src/index.ts +0 -5
  776. package/node_modules/@aws-crypto/ie11-detection/tsconfig.json +0 -17
  777. package/node_modules/@aws-crypto/sha256-browser/build/constants.js.map +0 -1
  778. package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +0 -1
  779. package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +0 -80
  780. package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +0 -1
  781. package/node_modules/@aws-crypto/sha256-browser/build/index.js.map +0 -1
  782. package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js.map +0 -1
  783. package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +0 -1
  784. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/CopyrightNotice.txt +0 -15
  785. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/LICENSE.txt +0 -12
  786. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/README.md +0 -142
  787. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/index.js +0 -51
  788. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/package.json +0 -3
  789. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/package.json +0 -37
  790. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  791. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  792. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.d.ts +0 -37
  793. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.html +0 -1
  794. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js +0 -218
  795. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.html +0 -1
  796. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.js +0 -284
  797. package/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +0 -108
  798. package/node_modules/@aws-crypto/sha256-js/build/RawSha256.js.map +0 -1
  799. package/node_modules/@aws-crypto/sha256-js/build/index.js.map +0 -1
  800. package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
  801. package/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +0 -1
  802. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/CopyrightNotice.txt +0 -15
  803. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/LICENSE.txt +0 -12
  804. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/README.md +0 -142
  805. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/index.js +0 -51
  806. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/package.json +0 -3
  807. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/package.json +0 -37
  808. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  809. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  810. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.d.ts +0 -37
  811. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.html +0 -1
  812. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js +0 -218
  813. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.html +0 -1
  814. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.js +0 -284
  815. package/node_modules/@aws-crypto/supports-web-crypto/build/index.js +0 -5
  816. package/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js +0 -69
  817. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/CopyrightNotice.txt +0 -15
  818. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/LICENSE.txt +0 -12
  819. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/README.md +0 -142
  820. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/index.js +0 -51
  821. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/package.json +0 -3
  822. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/package.json +0 -37
  823. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  824. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  825. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.d.ts +0 -37
  826. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.html +0 -1
  827. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js +0 -218
  828. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.html +0 -1
  829. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.js +0 -284
  830. package/node_modules/@aws-crypto/util/build/convertToBuffer.js.map +0 -1
  831. package/node_modules/@aws-crypto/util/build/index.js.map +0 -1
  832. package/node_modules/@aws-crypto/util/build/isEmptyData.js.map +0 -1
  833. package/node_modules/@aws-crypto/util/build/numToUint8.js.map +0 -1
  834. package/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js.map +0 -1
  835. package/node_modules/@aws-crypto/util/node_modules/tslib/CopyrightNotice.txt +0 -15
  836. package/node_modules/@aws-crypto/util/node_modules/tslib/LICENSE.txt +0 -12
  837. package/node_modules/@aws-crypto/util/node_modules/tslib/README.md +0 -142
  838. package/node_modules/@aws-crypto/util/node_modules/tslib/modules/index.js +0 -51
  839. package/node_modules/@aws-crypto/util/node_modules/tslib/modules/package.json +0 -3
  840. package/node_modules/@aws-crypto/util/node_modules/tslib/package.json +0 -37
  841. package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  842. package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  843. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.d.ts +0 -37
  844. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.html +0 -1
  845. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.js +0 -218
  846. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.html +0 -1
  847. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.js +0 -284
  848. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +0 -1
  849. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +0 -1
  850. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +0 -1
  851. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +0 -1
  852. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +0 -1
  853. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +0 -1
  854. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +0 -1
  855. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +0 -1
  856. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +0 -1
  857. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +0 -1
  858. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +0 -1
  859. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +0 -1
  860. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +0 -1
  861. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +0 -1
  862. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
  863. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +0 -1
  864. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
  865. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
  866. package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +0 -1
  867. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +0 -1
  868. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +0 -1
  869. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +0 -1
  870. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +0 -1
  871. package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +0 -1
  872. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +0 -1
  873. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +0 -1
  874. package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +0 -1
  875. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +0 -1
  876. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -1
  877. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -1
  878. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -1
  879. package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -1
  880. package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -1
  881. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -1
  882. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -1
  883. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -1
  884. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -1
  885. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -1
  886. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -1
  887. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -1
  888. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -1
  889. package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -1
  890. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -1
  891. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -1
  892. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
  893. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -1
  894. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -1
  895. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -1
  896. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -1
  897. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -1
  898. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -1
  899. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -1
  900. package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -1
  901. package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -1
  902. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -1
  903. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -1
  904. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -1
  905. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -1
  906. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -1
  907. package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -1
  908. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -1
  909. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -1
  910. package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -1
  911. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -1
  912. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +0 -1
  913. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +0 -1
  914. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +0 -1
  915. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +0 -1
  916. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +0 -1
  917. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
  918. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
  919. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
  920. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
  921. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
  922. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
  923. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
  924. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +0 -1
  925. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +0 -1
  926. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +0 -1
  927. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +0 -1
  928. package/node_modules/@aws-sdk/util-utf8-browser/README.md +0 -8
  929. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
  930. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
  931. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
  932. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
  933. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
  934. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
  935. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
  936. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
  937. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
  938. package/node_modules/@aws-sdk/util-utf8-browser/package.json +0 -50
  939. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
  940. package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
  941. package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
  942. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/cloneRequest.d.ts +0 -6
  943. package/node_modules/source-map/CHANGELOG.md +0 -301
  944. /package/node_modules/@aws-crypto/sha256-browser/build/{constants.d.ts → main/constants.d.ts} +0 -0
  945. /package/node_modules/@aws-crypto/sha256-browser/build/{constants.js → main/constants.js} +0 -0
  946. /package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.d.ts → main/crossPlatformSha256.d.ts} +0 -0
  947. /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.d.ts → main/isEmptyData.d.ts} +0 -0
  948. /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
  949. /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.d.ts → main/webCryptoSha256.d.ts} +0 -0
  950. /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.js → main/webCryptoSha256.js} +0 -0
  951. /package/node_modules/@aws-crypto/{util/build → sha256-browser/build/module}/isEmptyData.d.ts +0 -0
  952. /package/node_modules/{@aws-sdk/util-utf8-browser → @aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer}/LICENSE +0 -0
  953. /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
  954. /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
  955. /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
  956. /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
  957. /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
  958. /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.d.ts → main/RawSha256.d.ts} +0 -0
  959. /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.js → main/RawSha256.js} +0 -0
  960. /package/node_modules/@aws-crypto/sha256-js/build/{constants.d.ts → main/constants.d.ts} +0 -0
  961. /package/node_modules/@aws-crypto/sha256-js/build/{constants.js → main/constants.js} +0 -0
  962. /package/node_modules/@aws-crypto/sha256-js/build/{index.d.ts → main/index.d.ts} +0 -0
  963. /package/node_modules/@aws-crypto/sha256-js/build/{index.js → main/index.js} +0 -0
  964. /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.d.ts → main/jsSha256.d.ts} +0 -0
  965. /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.js → main/jsSha256.js} +0 -0
  966. /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.d.ts → main/knownHashes.fixture.d.ts} +0 -0
  967. /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.js → main/knownHashes.fixture.js} +0 -0
  968. /package/node_modules/@aws-crypto/supports-web-crypto/build/{index.d.ts → main/index.d.ts} +0 -0
  969. /package/node_modules/@aws-crypto/supports-web-crypto/build/{supportsWebCrypto.d.ts → main/supportsWebCrypto.d.ts} +0 -0
  970. /package/node_modules/@aws-crypto/util/build/{convertToBuffer.d.ts → main/convertToBuffer.d.ts} +0 -0
  971. /package/node_modules/@aws-crypto/util/build/{index.d.ts → main/index.d.ts} +0 -0
  972. /package/node_modules/@aws-crypto/util/build/{index.js → main/index.js} +0 -0
  973. /package/node_modules/@aws-crypto/util/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
  974. /package/node_modules/@aws-crypto/util/build/{numToUint8.d.ts → main/numToUint8.d.ts} +0 -0
  975. /package/node_modules/@aws-crypto/util/build/{numToUint8.js → main/numToUint8.js} +0 -0
  976. /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.d.ts → main/uint32ArrayFrom.d.ts} +0 -0
  977. /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.js → main/uint32ArrayFrom.js} +0 -0
  978. /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
  979. /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
  980. /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
  981. /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
  982. /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
  983. /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js → @smithy/node-config-provider/dist-cjs/getSelectorName.js} +0 -0
  984. /package/node_modules/{@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js → @smithy/types/dist-cjs/abort-handler.js} +0 -0
  985. /package/node_modules/{@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js → @smithy/util-endpoints/dist-cjs/cache/EndpointCache.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "3.0.0",
3
+ "version": "3.0.4",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "node ../../scripts/inline middleware-stack",
8
8
  "build:es": "yarn g:tsc -p tsconfig.es.json",
9
9
  "build:types": "yarn g:tsc -p tsconfig.types.json",
10
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
@@ -25,7 +25,7 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "types": "./dist-types/index.d.ts",
27
27
  "dependencies": {
28
- "@smithy/types": "^3.0.0",
28
+ "@smithy/types": "^3.4.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -29,7 +29,23 @@ module.exports = __toCommonJS(src_exports);
29
29
 
30
30
  // src/fromEnv.ts
31
31
  var import_property_provider = require("@smithy/property-provider");
32
- var fromEnv = /* @__PURE__ */ __name((envVarSelector) => async () => {
32
+
33
+ // src/getSelectorName.ts
34
+ function getSelectorName(functionString) {
35
+ try {
36
+ const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
37
+ constants.delete("CONFIG");
38
+ constants.delete("CONFIG_PREFIX_SEPARATOR");
39
+ constants.delete("ENV");
40
+ return [...constants].join(", ");
41
+ } catch (e) {
42
+ return functionString;
43
+ }
44
+ }
45
+ __name(getSelectorName, "getSelectorName");
46
+
47
+ // src/fromEnv.ts
48
+ var fromEnv = /* @__PURE__ */ __name((envVarSelector, logger) => async () => {
33
49
  try {
34
50
  const config = envVarSelector(process.env);
35
51
  if (config === void 0) {
@@ -38,7 +54,8 @@ var fromEnv = /* @__PURE__ */ __name((envVarSelector) => async () => {
38
54
  return config;
39
55
  } catch (e) {
40
56
  throw new import_property_provider.CredentialsProviderError(
41
- e.message || `Cannot load config from environment variables with getter: ${envVarSelector}`
57
+ e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`,
58
+ { logger }
42
59
  );
43
60
  }
44
61
  }, "fromEnv");
@@ -61,7 +78,8 @@ var fromSharedConfigFiles = /* @__PURE__ */ __name((configSelector, { preferredF
61
78
  return configValue;
62
79
  } catch (e) {
63
80
  throw new import_property_provider.CredentialsProviderError(
64
- e.message || `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`
81
+ e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`,
82
+ { logger: init.logger }
65
83
  );
66
84
  }
67
85
  }, "fromSharedConfigFiles");
@@ -1,5 +1,6 @@
1
1
  import { CredentialsProviderError } from "@smithy/property-provider";
2
- export const fromEnv = (envVarSelector) => async () => {
2
+ import { getSelectorName } from "./getSelectorName";
3
+ export const fromEnv = (envVarSelector, logger) => async () => {
3
4
  try {
4
5
  const config = envVarSelector(process.env);
5
6
  if (config === undefined) {
@@ -8,6 +9,6 @@ export const fromEnv = (envVarSelector) => async () => {
8
9
  return config;
9
10
  }
10
11
  catch (e) {
11
- throw new CredentialsProviderError(e.message || `Cannot load config from environment variables with getter: ${envVarSelector}`);
12
+ throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger });
12
13
  }
13
14
  };
@@ -1,5 +1,6 @@
1
1
  import { CredentialsProviderError } from "@smithy/property-provider";
2
2
  import { getProfileName, loadSharedConfigFiles } from "@smithy/shared-ini-file-loader";
3
+ import { getSelectorName } from "./getSelectorName";
3
4
  export const fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
4
5
  const profile = getProfileName(init);
5
6
  const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
@@ -17,7 +18,6 @@ export const fromSharedConfigFiles = (configSelector, { preferredFile = "config"
17
18
  return configValue;
18
19
  }
19
20
  catch (e) {
20
- throw new CredentialsProviderError(e.message ||
21
- `Cannot load config for profile ${profile} in SDK configuration files with getter: ${configSelector}`);
21
+ throw new CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger });
22
22
  }
23
23
  };
@@ -0,0 +1,12 @@
1
+ export function getSelectorName(functionString) {
2
+ try {
3
+ const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
4
+ constants.delete("CONFIG");
5
+ constants.delete("CONFIG_PREFIX_SEPARATOR");
6
+ constants.delete("ENV");
7
+ return [...constants].join(", ");
8
+ }
9
+ catch (e) {
10
+ return functionString;
11
+ }
12
+ }
@@ -1,7 +1,7 @@
1
- import { Provider } from "@smithy/types";
1
+ import { Logger, Provider } from "@smithy/types";
2
2
  export type GetterFromEnv<T> = (env: Record<string, string | undefined>) => T | undefined;
3
3
  /**
4
4
  * Get config value given the environment variable name or getter from
5
5
  * environment variable.
6
6
  */
7
- export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>) => Provider<T>;
7
+ export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>, logger?: Logger) => Provider<T>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Attempts to extract the name of the variable that the functional selector is looking for.
3
+ * Improves readability over the raw Function.toString() value.
4
+ * @internal
5
+ * @param functionString - function's string representation.
6
+ *
7
+ * @returns constant value used within the function.
8
+ */
9
+ export declare function getSelectorName(functionString: string): string;
@@ -1,7 +1,7 @@
1
- import { Provider } from "@smithy/types";
1
+ import { Logger, Provider } from "@smithy/types";
2
2
  export type GetterFromEnv<T> = (env: Record<string, string | undefined>) => T | undefined;
3
3
  /**
4
4
  * Get config value given the environment variable name or getter from
5
5
  * environment variable.
6
6
  */
7
- export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>) => Provider<T>;
7
+ export declare const fromEnv: <T = string>(envVarSelector: GetterFromEnv<T>, logger?: Logger) => Provider<T>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Attempts to extract the name of the variable that the functional selector is looking for.
3
+ * Improves readability over the raw Function.toString() value.
4
+ * @internal
5
+ * @param functionString - function's string representation.
6
+ *
7
+ * @returns constant value used within the function.
8
+ */
9
+ export declare function getSelectorName(functionString: string): string;
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "3.0.0",
3
+ "version": "3.1.5",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "node ../../scripts/inline node-config-provider",
8
8
  "build:es": "yarn g:tsc -p tsconfig.es.json",
9
9
  "build:types": "yarn g:tsc -p tsconfig.types.json",
10
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
@@ -24,9 +24,9 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^3.0.0",
28
- "@smithy/shared-ini-file-loader": "^3.0.0",
29
- "@smithy/types": "^3.0.0",
27
+ "@smithy/property-provider": "^3.1.4",
28
+ "@smithy/shared-ini-file-loader": "^3.1.5",
29
+ "@smithy/types": "^3.4.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -57,45 +57,81 @@ var getTransformedHeaders = /* @__PURE__ */ __name((headers) => {
57
57
  }, "getTransformedHeaders");
58
58
 
59
59
  // src/set-connection-timeout.ts
60
+ var DEFER_EVENT_LISTENER_TIME = 1e3;
60
61
  var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
61
62
  if (!timeoutInMs) {
62
- return;
63
- }
64
- const timeoutId = setTimeout(() => {
65
- request.destroy();
66
- reject(
67
- Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
68
- name: "TimeoutError"
69
- })
70
- );
71
- }, timeoutInMs);
72
- request.on("socket", (socket) => {
73
- if (socket.connecting) {
74
- socket.on("connect", () => {
63
+ return -1;
64
+ }
65
+ const registerTimeout = /* @__PURE__ */ __name((offset) => {
66
+ const timeoutId = setTimeout(() => {
67
+ request.destroy();
68
+ reject(
69
+ Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
70
+ name: "TimeoutError"
71
+ })
72
+ );
73
+ }, timeoutInMs - offset);
74
+ const doWithSocket = /* @__PURE__ */ __name((socket) => {
75
+ if (socket == null ? void 0 : socket.connecting) {
76
+ socket.on("connect", () => {
77
+ clearTimeout(timeoutId);
78
+ });
79
+ } else {
75
80
  clearTimeout(timeoutId);
76
- });
81
+ }
82
+ }, "doWithSocket");
83
+ if (request.socket) {
84
+ doWithSocket(request.socket);
77
85
  } else {
78
- clearTimeout(timeoutId);
86
+ request.on("socket", doWithSocket);
79
87
  }
80
- });
88
+ }, "registerTimeout");
89
+ if (timeoutInMs < 2e3) {
90
+ registerTimeout(0);
91
+ return 0;
92
+ }
93
+ return setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
81
94
  }, "setConnectionTimeout");
82
95
 
83
96
  // src/set-socket-keep-alive.ts
84
- var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }) => {
97
+ var DEFER_EVENT_LISTENER_TIME2 = 3e3;
98
+ var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME2) => {
85
99
  if (keepAlive !== true) {
86
- return;
100
+ return -1;
87
101
  }
88
- request.on("socket", (socket) => {
89
- socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
90
- });
102
+ const registerListener = /* @__PURE__ */ __name(() => {
103
+ if (request.socket) {
104
+ request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
105
+ } else {
106
+ request.on("socket", (socket) => {
107
+ socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
108
+ });
109
+ }
110
+ }, "registerListener");
111
+ if (deferTimeMs === 0) {
112
+ registerListener();
113
+ return 0;
114
+ }
115
+ return setTimeout(registerListener, deferTimeMs);
91
116
  }, "setSocketKeepAlive");
92
117
 
93
118
  // src/set-socket-timeout.ts
119
+ var DEFER_EVENT_LISTENER_TIME3 = 3e3;
94
120
  var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
95
- request.setTimeout(timeoutInMs, () => {
96
- request.destroy();
97
- reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
98
- });
121
+ const registerTimeout = /* @__PURE__ */ __name((offset) => {
122
+ request.setTimeout(timeoutInMs - offset, () => {
123
+ request.destroy();
124
+ reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
125
+ });
126
+ }, "registerTimeout");
127
+ if (0 < timeoutInMs && timeoutInMs < 6e3) {
128
+ registerTimeout(0);
129
+ return 0;
130
+ }
131
+ return setTimeout(
132
+ registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3),
133
+ DEFER_EVENT_LISTENER_TIME3
134
+ );
99
135
  }, "setSocketTimeout");
100
136
 
101
137
  // src/write-request-body.ts
@@ -182,10 +218,12 @@ var _NodeHttpHandler = class _NodeHttpHandler {
182
218
  * @internal
183
219
  *
184
220
  * @param agent - http(s) agent in use by the NodeHttpHandler instance.
221
+ * @param socketWarningTimestamp - last socket usage check timestamp.
222
+ * @param logger - channel for the warning.
185
223
  * @returns timestamp of last emitted warning.
186
224
  */
187
- static checkSocketUsage(agent, socketWarningTimestamp) {
188
- var _a, _b;
225
+ static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
226
+ var _a, _b, _c;
189
227
  const { sockets, requests, maxSockets } = agent;
190
228
  if (typeof maxSockets !== "number" || maxSockets === Infinity) {
191
229
  return socketWarningTimestamp;
@@ -199,11 +237,11 @@ var _NodeHttpHandler = class _NodeHttpHandler {
199
237
  const socketsInUse = ((_a = sockets[origin]) == null ? void 0 : _a.length) ?? 0;
200
238
  const requestsEnqueued = ((_b = requests[origin]) == null ? void 0 : _b.length) ?? 0;
201
239
  if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
202
- console.warn(
203
- "@smithy/node-http-handler:WARN",
204
- `socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.`,
205
- "See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html",
206
- "or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config."
240
+ (_c = logger == null ? void 0 : logger.warn) == null ? void 0 : _c.call(
241
+ logger,
242
+ `@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
243
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
244
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`
207
245
  );
208
246
  return Date.now();
209
247
  }
@@ -229,7 +267,8 @@ var _NodeHttpHandler = class _NodeHttpHandler {
229
267
  return httpsAgent;
230
268
  }
231
269
  return new import_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
232
- })()
270
+ })(),
271
+ logger: console
233
272
  };
234
273
  }
235
274
  destroy() {
@@ -241,16 +280,17 @@ var _NodeHttpHandler = class _NodeHttpHandler {
241
280
  if (!this.config) {
242
281
  this.config = await this.configProvider;
243
282
  }
244
- let socketCheckTimeoutId;
245
283
  return new Promise((_resolve, _reject) => {
246
284
  let writeRequestBodyPromise = void 0;
285
+ const timeouts = [];
247
286
  const resolve = /* @__PURE__ */ __name(async (arg) => {
248
287
  await writeRequestBodyPromise;
249
- clearTimeout(socketCheckTimeoutId);
288
+ timeouts.forEach(clearTimeout);
250
289
  _resolve(arg);
251
290
  }, "resolve");
252
291
  const reject = /* @__PURE__ */ __name(async (arg) => {
253
292
  await writeRequestBodyPromise;
293
+ timeouts.forEach(clearTimeout);
254
294
  _reject(arg);
255
295
  }, "reject");
256
296
  if (!this.config) {
@@ -264,11 +304,17 @@ var _NodeHttpHandler = class _NodeHttpHandler {
264
304
  }
265
305
  const isSSL = request.protocol === "https:";
266
306
  const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
267
- socketCheckTimeoutId = setTimeout(
268
- () => {
269
- this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
270
- },
271
- this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3)
307
+ timeouts.push(
308
+ setTimeout(
309
+ () => {
310
+ this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(
311
+ agent,
312
+ this.socketWarningTimestamp,
313
+ this.config.logger
314
+ );
315
+ },
316
+ this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3)
317
+ )
272
318
  );
273
319
  const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
274
320
  let auth = void 0;
@@ -310,26 +356,38 @@ var _NodeHttpHandler = class _NodeHttpHandler {
310
356
  reject(err);
311
357
  }
312
358
  });
313
- setConnectionTimeout(req, reject, this.config.connectionTimeout);
314
- setSocketTimeout(req, reject, this.config.requestTimeout);
315
359
  if (abortSignal) {
316
- abortSignal.onabort = () => {
317
- req.abort();
360
+ const onAbort = /* @__PURE__ */ __name(() => {
361
+ req.destroy();
318
362
  const abortError = new Error("Request aborted");
319
363
  abortError.name = "AbortError";
320
364
  reject(abortError);
321
- };
365
+ }, "onAbort");
366
+ if (typeof abortSignal.addEventListener === "function") {
367
+ const signal = abortSignal;
368
+ signal.addEventListener("abort", onAbort, { once: true });
369
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
370
+ } else {
371
+ abortSignal.onabort = onAbort;
372
+ }
322
373
  }
374
+ timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
375
+ timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout));
323
376
  const httpAgent = nodeHttpsOptions.agent;
324
377
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
325
- setSocketKeepAlive(req, {
326
- // @ts-expect-error keepAlive is not public on httpAgent.
327
- keepAlive: httpAgent.keepAlive,
328
- // @ts-expect-error keepAliveMsecs is not public on httpAgent.
329
- keepAliveMsecs: httpAgent.keepAliveMsecs
330
- });
378
+ timeouts.push(
379
+ setSocketKeepAlive(req, {
380
+ // @ts-expect-error keepAlive is not public on httpAgent.
381
+ keepAlive: httpAgent.keepAlive,
382
+ // @ts-expect-error keepAliveMsecs is not public on httpAgent.
383
+ keepAliveMsecs: httpAgent.keepAliveMsecs
384
+ })
385
+ );
331
386
  }
332
- writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
387
+ writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
388
+ timeouts.forEach(clearTimeout);
389
+ return _reject(e);
390
+ });
333
391
  });
334
392
  }
335
393
  updateHttpClientConfig(key, value) {
@@ -597,12 +655,19 @@ var _NodeHttp2Handler = class _NodeHttp2Handler {
597
655
  });
598
656
  }
599
657
  if (abortSignal) {
600
- abortSignal.onabort = () => {
658
+ const onAbort = /* @__PURE__ */ __name(() => {
601
659
  req.close();
602
660
  const abortError = new Error("Request aborted");
603
661
  abortError.name = "AbortError";
604
662
  rejectWithDestroy(abortError);
605
- };
663
+ }, "onAbort");
664
+ if (typeof abortSignal.addEventListener === "function") {
665
+ const signal = abortSignal;
666
+ signal.addEventListener("abort", onAbort, { once: true });
667
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
668
+ } else {
669
+ abortSignal.onabort = onAbort;
670
+ }
606
671
  }
607
672
  req.on("frameError", (type, code, id) => {
608
673
  rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
@@ -16,7 +16,7 @@ export class NodeHttpHandler {
16
16
  }
17
17
  return new NodeHttpHandler(instanceOrOptions);
18
18
  }
19
- static checkSocketUsage(agent, socketWarningTimestamp) {
19
+ static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
20
20
  const { sockets, requests, maxSockets } = agent;
21
21
  if (typeof maxSockets !== "number" || maxSockets === Infinity) {
22
22
  return socketWarningTimestamp;
@@ -30,7 +30,9 @@ export class NodeHttpHandler {
30
30
  const socketsInUse = sockets[origin]?.length ?? 0;
31
31
  const requestsEnqueued = requests[origin]?.length ?? 0;
32
32
  if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
33
- console.warn("@smithy/node-http-handler:WARN", `socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.`, "See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html", "or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.");
33
+ logger?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
34
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
35
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);
34
36
  return Date.now();
35
37
  }
36
38
  }
@@ -72,6 +74,7 @@ export class NodeHttpHandler {
72
74
  }
73
75
  return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
74
76
  })(),
77
+ logger: console,
75
78
  };
76
79
  }
77
80
  destroy() {
@@ -82,16 +85,17 @@ export class NodeHttpHandler {
82
85
  if (!this.config) {
83
86
  this.config = await this.configProvider;
84
87
  }
85
- let socketCheckTimeoutId;
86
88
  return new Promise((_resolve, _reject) => {
87
89
  let writeRequestBodyPromise = undefined;
90
+ const timeouts = [];
88
91
  const resolve = async (arg) => {
89
92
  await writeRequestBodyPromise;
90
- clearTimeout(socketCheckTimeoutId);
93
+ timeouts.forEach(clearTimeout);
91
94
  _resolve(arg);
92
95
  };
93
96
  const reject = async (arg) => {
94
97
  await writeRequestBodyPromise;
98
+ timeouts.forEach(clearTimeout);
95
99
  _reject(arg);
96
100
  };
97
101
  if (!this.config) {
@@ -105,10 +109,10 @@ export class NodeHttpHandler {
105
109
  }
106
110
  const isSSL = request.protocol === "https:";
107
111
  const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
108
- socketCheckTimeoutId = setTimeout(() => {
109
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
112
+ timeouts.push(setTimeout(() => {
113
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, this.config.logger);
110
114
  }, this.config.socketAcquisitionWarningTimeout ??
111
- (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000));
115
+ (this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
112
116
  const queryString = buildQueryString(request.query || {});
113
117
  let auth = undefined;
114
118
  if (request.username != null || request.password != null) {
@@ -150,24 +154,35 @@ export class NodeHttpHandler {
150
154
  reject(err);
151
155
  }
152
156
  });
153
- setConnectionTimeout(req, reject, this.config.connectionTimeout);
154
- setSocketTimeout(req, reject, this.config.requestTimeout);
155
157
  if (abortSignal) {
156
- abortSignal.onabort = () => {
157
- req.abort();
158
+ const onAbort = () => {
159
+ req.destroy();
158
160
  const abortError = new Error("Request aborted");
159
161
  abortError.name = "AbortError";
160
162
  reject(abortError);
161
163
  };
164
+ if (typeof abortSignal.addEventListener === "function") {
165
+ const signal = abortSignal;
166
+ signal.addEventListener("abort", onAbort, { once: true });
167
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
168
+ }
169
+ else {
170
+ abortSignal.onabort = onAbort;
171
+ }
162
172
  }
173
+ timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
174
+ timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout));
163
175
  const httpAgent = nodeHttpsOptions.agent;
164
176
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
165
- setSocketKeepAlive(req, {
177
+ timeouts.push(setSocketKeepAlive(req, {
166
178
  keepAlive: httpAgent.keepAlive,
167
179
  keepAliveMsecs: httpAgent.keepAliveMsecs,
168
- });
180
+ }));
169
181
  }
170
- writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
182
+ writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
183
+ timeouts.forEach(clearTimeout);
184
+ return _reject(e);
185
+ });
171
186
  });
172
187
  }
173
188
  updateHttpClientConfig(key, value) {
@@ -113,12 +113,20 @@ export class NodeHttp2Handler {
113
113
  });
114
114
  }
115
115
  if (abortSignal) {
116
- abortSignal.onabort = () => {
116
+ const onAbort = () => {
117
117
  req.close();
118
118
  const abortError = new Error("Request aborted");
119
119
  abortError.name = "AbortError";
120
120
  rejectWithDestroy(abortError);
121
121
  };
122
+ if (typeof abortSignal.addEventListener === "function") {
123
+ const signal = abortSignal;
124
+ signal.addEventListener("abort", onAbort, { once: true });
125
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
126
+ }
127
+ else {
128
+ abortSignal.onabort = onAbort;
129
+ }
122
130
  }
123
131
  req.on("frameError", (type, code, id) => {
124
132
  rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
@@ -1,21 +1,35 @@
1
+ const DEFER_EVENT_LISTENER_TIME = 1000;
1
2
  export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
2
3
  if (!timeoutInMs) {
3
- return;
4
+ return -1;
4
5
  }
5
- const timeoutId = setTimeout(() => {
6
- request.destroy();
7
- reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
8
- name: "TimeoutError",
9
- }));
10
- }, timeoutInMs);
11
- request.on("socket", (socket) => {
12
- if (socket.connecting) {
13
- socket.on("connect", () => {
6
+ const registerTimeout = (offset) => {
7
+ const timeoutId = setTimeout(() => {
8
+ request.destroy();
9
+ reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
10
+ name: "TimeoutError",
11
+ }));
12
+ }, timeoutInMs - offset);
13
+ const doWithSocket = (socket) => {
14
+ if (socket?.connecting) {
15
+ socket.on("connect", () => {
16
+ clearTimeout(timeoutId);
17
+ });
18
+ }
19
+ else {
14
20
  clearTimeout(timeoutId);
15
- });
21
+ }
22
+ };
23
+ if (request.socket) {
24
+ doWithSocket(request.socket);
16
25
  }
17
26
  else {
18
- clearTimeout(timeoutId);
27
+ request.on("socket", doWithSocket);
19
28
  }
20
- });
29
+ };
30
+ if (timeoutInMs < 2000) {
31
+ registerTimeout(0);
32
+ return 0;
33
+ }
34
+ return setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
21
35
  };