@cdk8s/awscdk-resolver 0.0.225 → 0.0.227

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 (236) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +610 -478
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +1 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +81 -54
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +3 -2
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  13. package/node_modules/@aws-sdk/client-cloudformation/package.json +44 -44
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
  15. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
  16. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
  17. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
  19. package/node_modules/@aws-sdk/client-sso/package.json +40 -40
  20. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  29. package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
  30. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
  31. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
  32. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
  33. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
  34. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  37. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  38. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  39. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  40. package/node_modules/@aws-sdk/client-sts/package.json +42 -42
  41. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
  42. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
  43. package/node_modules/@aws-sdk/core/package.json +12 -12
  44. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
  45. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  46. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  47. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
  48. package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
  49. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
  50. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  51. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
  52. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  53. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
  54. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  55. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
  56. package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
  57. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
  58. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  59. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
  60. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
  61. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
  62. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  63. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
  64. package/node_modules/@aws-sdk/token-providers/package.json +9 -9
  65. package/node_modules/@aws-sdk/types/package.json +4 -4
  66. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  67. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  68. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  69. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
  70. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
  71. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  72. package/node_modules/@smithy/abort-controller/package.json +3 -3
  73. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
  74. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  75. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  76. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  77. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  78. package/node_modules/@smithy/config-resolver/package.json +6 -6
  79. package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
  80. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
  81. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  82. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
  83. package/node_modules/@smithy/core/package.json +10 -10
  84. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
  85. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  86. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  87. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
  88. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  89. package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
  90. package/node_modules/@smithy/hash-node/package.json +6 -6
  91. package/node_modules/@smithy/invalid-dependency/package.json +5 -2
  92. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  93. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  94. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
  95. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  96. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
  97. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  98. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
  99. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  100. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
  101. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
  102. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
  103. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  104. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
  105. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
  106. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
  107. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
  108. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
  109. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
  110. package/node_modules/@smithy/node-config-provider/package.json +6 -6
  111. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
  112. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  113. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  114. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  115. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  116. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  117. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  118. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  119. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  120. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  121. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  122. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  123. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  124. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  125. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  126. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  127. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  128. package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
  129. package/node_modules/@smithy/property-provider/package.json +3 -3
  130. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
  131. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
  132. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
  133. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
  134. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
  135. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
  136. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
  137. package/node_modules/@smithy/protocol-http/package.json +3 -3
  138. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  139. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  140. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
  141. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  142. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
  143. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
  144. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  145. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
  146. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
  147. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
  148. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
  149. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
  150. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  151. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
  152. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
  153. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
  154. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
  155. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
  156. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
  157. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
  158. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
  159. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
  160. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  161. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  162. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  163. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
  164. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
  165. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
  166. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
  167. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
  168. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
  169. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
  170. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
  171. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
  172. package/node_modules/@smithy/signature-v4/package.json +9 -9
  173. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
  174. package/node_modules/@smithy/smithy-client/package.json +9 -9
  175. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
  176. package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
  177. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
  178. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
  179. package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
  180. package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
  181. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
  182. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
  183. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
  184. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
  185. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
  186. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
  187. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
  188. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
  189. package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
  190. package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
  191. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  192. package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
  193. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
  194. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
  195. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
  196. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
  197. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
  198. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
  199. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
  200. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
  201. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
  202. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
  203. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
  204. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
  205. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
  206. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
  207. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
  208. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
  209. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
  210. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
  211. package/node_modules/@smithy/types/package.json +2 -2
  212. package/node_modules/@smithy/url-parser/package.json +6 -3
  213. package/node_modules/@smithy/util-base64/package.json +8 -7
  214. package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
  215. package/node_modules/@smithy/util-body-length-node/package.json +6 -5
  216. package/node_modules/@smithy/util-buffer-from/package.json +7 -6
  217. package/node_modules/@smithy/util-config-provider/package.json +6 -5
  218. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  219. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
  220. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  221. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
  222. package/node_modules/@smithy/util-endpoints/package.json +5 -5
  223. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  224. package/node_modules/@smithy/util-middleware/package.json +4 -4
  225. package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
  226. package/node_modules/@smithy/util-retry/package.json +5 -5
  227. package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
  228. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
  229. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
  230. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  231. package/node_modules/@smithy/util-stream/package.json +10 -10
  232. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  233. package/node_modules/@smithy/util-utf8/package.json +6 -5
  234. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
  235. package/node_modules/@smithy/util-waiter/package.json +4 -4
  236. package/package.json +3 -3
@@ -1,98 +1,98 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { STSServiceException as __BaseException } from "./STSServiceException";
3
3
  export class ExpiredTokenException extends __BaseException {
4
+ name = "ExpiredTokenException";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "ExpiredTokenException",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "ExpiredTokenException";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, ExpiredTokenException.prototype);
13
13
  }
14
14
  }
15
15
  export class MalformedPolicyDocumentException extends __BaseException {
16
+ name = "MalformedPolicyDocumentException";
17
+ $fault = "client";
16
18
  constructor(opts) {
17
19
  super({
18
20
  name: "MalformedPolicyDocumentException",
19
21
  $fault: "client",
20
22
  ...opts,
21
23
  });
22
- this.name = "MalformedPolicyDocumentException";
23
- this.$fault = "client";
24
24
  Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
25
25
  }
26
26
  }
27
27
  export class PackedPolicyTooLargeException extends __BaseException {
28
+ name = "PackedPolicyTooLargeException";
29
+ $fault = "client";
28
30
  constructor(opts) {
29
31
  super({
30
32
  name: "PackedPolicyTooLargeException",
31
33
  $fault: "client",
32
34
  ...opts,
33
35
  });
34
- this.name = "PackedPolicyTooLargeException";
35
- this.$fault = "client";
36
36
  Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
37
37
  }
38
38
  }
39
39
  export class RegionDisabledException extends __BaseException {
40
+ name = "RegionDisabledException";
41
+ $fault = "client";
40
42
  constructor(opts) {
41
43
  super({
42
44
  name: "RegionDisabledException",
43
45
  $fault: "client",
44
46
  ...opts,
45
47
  });
46
- this.name = "RegionDisabledException";
47
- this.$fault = "client";
48
48
  Object.setPrototypeOf(this, RegionDisabledException.prototype);
49
49
  }
50
50
  }
51
51
  export class IDPRejectedClaimException extends __BaseException {
52
+ name = "IDPRejectedClaimException";
53
+ $fault = "client";
52
54
  constructor(opts) {
53
55
  super({
54
56
  name: "IDPRejectedClaimException",
55
57
  $fault: "client",
56
58
  ...opts,
57
59
  });
58
- this.name = "IDPRejectedClaimException";
59
- this.$fault = "client";
60
60
  Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
61
61
  }
62
62
  }
63
63
  export class InvalidIdentityTokenException extends __BaseException {
64
+ name = "InvalidIdentityTokenException";
65
+ $fault = "client";
64
66
  constructor(opts) {
65
67
  super({
66
68
  name: "InvalidIdentityTokenException",
67
69
  $fault: "client",
68
70
  ...opts,
69
71
  });
70
- this.name = "InvalidIdentityTokenException";
71
- this.$fault = "client";
72
72
  Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
73
73
  }
74
74
  }
75
75
  export class IDPCommunicationErrorException extends __BaseException {
76
+ name = "IDPCommunicationErrorException";
77
+ $fault = "client";
76
78
  constructor(opts) {
77
79
  super({
78
80
  name: "IDPCommunicationErrorException",
79
81
  $fault: "client",
80
82
  ...opts,
81
83
  });
82
- this.name = "IDPCommunicationErrorException";
83
- this.$fault = "client";
84
84
  Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
85
85
  }
86
86
  }
87
87
  export class InvalidAuthorizationMessageException extends __BaseException {
88
+ name = "InvalidAuthorizationMessageException";
89
+ $fault = "client";
88
90
  constructor(opts) {
89
91
  super({
90
92
  name: "InvalidAuthorizationMessageException",
91
93
  $fault: "client",
92
94
  ...opts,
93
95
  });
94
- this.name = "InvalidAuthorizationMessageException";
95
- this.$fault = "client";
96
96
  Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
97
97
  }
98
98
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
9
  runtime: string;
10
10
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
12
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
13
13
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
14
14
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
15
15
  schemeId: string;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  } | undefined) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  params: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -22,55 +22,55 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.721.0",
26
- "@aws-sdk/core": "3.716.0",
27
- "@aws-sdk/credential-provider-node": "3.721.0",
28
- "@aws-sdk/middleware-host-header": "3.714.0",
29
- "@aws-sdk/middleware-logger": "3.714.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
31
- "@aws-sdk/middleware-user-agent": "3.721.0",
32
- "@aws-sdk/region-config-resolver": "3.714.0",
33
- "@aws-sdk/types": "3.714.0",
34
- "@aws-sdk/util-endpoints": "3.714.0",
35
- "@aws-sdk/util-user-agent-browser": "3.714.0",
36
- "@aws-sdk/util-user-agent-node": "3.721.0",
37
- "@smithy/config-resolver": "^3.0.13",
38
- "@smithy/core": "^2.5.5",
39
- "@smithy/fetch-http-handler": "^4.1.2",
40
- "@smithy/hash-node": "^3.0.11",
41
- "@smithy/invalid-dependency": "^3.0.11",
42
- "@smithy/middleware-content-length": "^3.0.13",
43
- "@smithy/middleware-endpoint": "^3.2.6",
44
- "@smithy/middleware-retry": "^3.0.31",
45
- "@smithy/middleware-serde": "^3.0.11",
46
- "@smithy/middleware-stack": "^3.0.11",
47
- "@smithy/node-config-provider": "^3.1.12",
48
- "@smithy/node-http-handler": "^3.3.2",
49
- "@smithy/protocol-http": "^4.1.8",
50
- "@smithy/smithy-client": "^3.5.1",
51
- "@smithy/types": "^3.7.2",
52
- "@smithy/url-parser": "^3.0.11",
53
- "@smithy/util-base64": "^3.0.0",
54
- "@smithy/util-body-length-browser": "^3.0.0",
55
- "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.31",
57
- "@smithy/util-defaults-mode-node": "^3.0.31",
58
- "@smithy/util-endpoints": "^2.1.7",
59
- "@smithy/util-middleware": "^3.0.11",
60
- "@smithy/util-retry": "^3.0.11",
61
- "@smithy/util-utf8": "^3.0.0",
25
+ "@aws-sdk/client-sso-oidc": "3.723.0",
26
+ "@aws-sdk/core": "3.723.0",
27
+ "@aws-sdk/credential-provider-node": "3.723.0",
28
+ "@aws-sdk/middleware-host-header": "3.723.0",
29
+ "@aws-sdk/middleware-logger": "3.723.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
31
+ "@aws-sdk/middleware-user-agent": "3.723.0",
32
+ "@aws-sdk/region-config-resolver": "3.723.0",
33
+ "@aws-sdk/types": "3.723.0",
34
+ "@aws-sdk/util-endpoints": "3.723.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
36
+ "@aws-sdk/util-user-agent-node": "3.723.0",
37
+ "@smithy/config-resolver": "^4.0.0",
38
+ "@smithy/core": "^3.0.0",
39
+ "@smithy/fetch-http-handler": "^5.0.0",
40
+ "@smithy/hash-node": "^4.0.0",
41
+ "@smithy/invalid-dependency": "^4.0.0",
42
+ "@smithy/middleware-content-length": "^4.0.0",
43
+ "@smithy/middleware-endpoint": "^4.0.0",
44
+ "@smithy/middleware-retry": "^4.0.0",
45
+ "@smithy/middleware-serde": "^4.0.0",
46
+ "@smithy/middleware-stack": "^4.0.0",
47
+ "@smithy/node-config-provider": "^4.0.0",
48
+ "@smithy/node-http-handler": "^4.0.0",
49
+ "@smithy/protocol-http": "^5.0.0",
50
+ "@smithy/smithy-client": "^4.0.0",
51
+ "@smithy/types": "^4.0.0",
52
+ "@smithy/url-parser": "^4.0.0",
53
+ "@smithy/util-base64": "^4.0.0",
54
+ "@smithy/util-body-length-browser": "^4.0.0",
55
+ "@smithy/util-body-length-node": "^4.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
57
+ "@smithy/util-defaults-mode-node": "^4.0.0",
58
+ "@smithy/util-endpoints": "^3.0.0",
59
+ "@smithy/util-middleware": "^4.0.0",
60
+ "@smithy/util-retry": "^4.0.0",
61
+ "@smithy/util-utf8": "^4.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@tsconfig/node16": "16.1.3",
66
- "@types/node": "^16.18.96",
65
+ "@tsconfig/node18": "18.2.4",
66
+ "@types/node": "^18.19.69",
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~4.9.5"
70
+ "typescript": "~5.2.2"
71
71
  },
72
72
  "engines": {
73
- "node": ">=16.0.0"
73
+ "node": ">=18.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {
@@ -37,10 +37,7 @@ var import_protocol_http2 = require("@smithy/protocol-http");
37
37
 
38
38
  // src/submodules/httpAuthSchemes/utils/getDateHeader.ts
39
39
  var import_protocol_http = require("@smithy/protocol-http");
40
- var getDateHeader = /* @__PURE__ */ __name((response) => {
41
- var _a, _b;
42
- return import_protocol_http.HttpResponse.isInstance(response) ? ((_a = response.headers) == null ? void 0 : _a.date) ?? ((_b = response.headers) == null ? void 0 : _b.Date) : void 0;
43
- }, "getDateHeader");
40
+ var getDateHeader = /* @__PURE__ */ __name((response) => import_protocol_http.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, "getDateHeader");
44
41
 
45
42
  // src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts
46
43
  var getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate");
@@ -65,21 +62,20 @@ var throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => {
65
62
  return property;
66
63
  }, "throwSigningPropertyError");
67
64
  var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => {
68
- var _a, _b, _c;
69
65
  const context = throwSigningPropertyError(
70
66
  "context",
71
67
  signingProperties.context
72
68
  );
73
69
  const config = throwSigningPropertyError("config", signingProperties.config);
74
- const authScheme = (_c = (_b = (_a = context.endpointV2) == null ? void 0 : _a.properties) == null ? void 0 : _b.authSchemes) == null ? void 0 : _c[0];
70
+ const authScheme = context.endpointV2?.properties?.authSchemes?.[0];
75
71
  const signerFunction = throwSigningPropertyError(
76
72
  "signer",
77
73
  config.signer
78
74
  );
79
75
  const signer = await signerFunction(authScheme);
80
- const signingRegion = signingProperties == null ? void 0 : signingProperties.signingRegion;
81
- const signingRegionSet = signingProperties == null ? void 0 : signingProperties.signingRegionSet;
82
- const signingName = signingProperties == null ? void 0 : signingProperties.signingName;
76
+ const signingRegion = signingProperties?.signingRegion;
77
+ const signingRegionSet = signingProperties?.signingRegionSet;
78
+ const signingName = signingProperties?.signingName;
83
79
  return {
84
80
  config,
85
81
  signer,
@@ -88,9 +84,11 @@ var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties)
88
84
  signingName
89
85
  };
90
86
  }, "validateSigningProperties");
91
- var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
87
+ var AwsSdkSigV4Signer = class {
88
+ static {
89
+ __name(this, "AwsSdkSigV4Signer");
90
+ }
92
91
  async sign(httpRequest, identity, signingProperties) {
93
- var _a;
94
92
  if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) {
95
93
  throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
96
94
  }
@@ -98,11 +96,11 @@ var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
98
96
  const { config, signer } = validatedProps;
99
97
  let { signingRegion, signingName } = validatedProps;
100
98
  const handlerExecutionContext = signingProperties.context;
101
- if (((_a = handlerExecutionContext == null ? void 0 : handlerExecutionContext.authSchemes) == null ? void 0 : _a.length) ?? 0 > 1) {
99
+ if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {
102
100
  const [first, second] = handlerExecutionContext.authSchemes;
103
- if ((first == null ? void 0 : first.name) === "sigv4a" && (second == null ? void 0 : second.name) === "sigv4") {
104
- signingRegion = (second == null ? void 0 : second.signingRegion) ?? signingRegion;
105
- signingName = (second == null ? void 0 : second.signingName) ?? signingName;
101
+ if (first?.name === "sigv4a" && second?.name === "sigv4") {
102
+ signingRegion = second?.signingRegion ?? signingRegion;
103
+ signingName = second?.signingName ?? signingName;
106
104
  }
107
105
  }
108
106
  const signedRequest = await signer.sign(httpRequest, {
@@ -135,22 +133,22 @@ var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer {
135
133
  }
136
134
  }
137
135
  };
138
- __name(_AwsSdkSigV4Signer, "AwsSdkSigV4Signer");
139
- var AwsSdkSigV4Signer = _AwsSdkSigV4Signer;
140
136
  var AWSSDKSigV4Signer = AwsSdkSigV4Signer;
141
137
 
142
138
  // src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts
143
139
  var import_protocol_http3 = require("@smithy/protocol-http");
144
- var _AwsSdkSigV4ASigner = class _AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
140
+ var AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {
141
+ static {
142
+ __name(this, "AwsSdkSigV4ASigner");
143
+ }
145
144
  async sign(httpRequest, identity, signingProperties) {
146
- var _a;
147
145
  if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) {
148
146
  throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
149
147
  }
150
148
  const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(
151
149
  signingProperties
152
150
  );
153
- const configResolvedSigningRegionSet = await ((_a = config.sigv4aSigningRegionSet) == null ? void 0 : _a.call(config));
151
+ const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();
154
152
  const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(",");
155
153
  const signedRequest = await signer.sign(httpRequest, {
156
154
  signingDate: getSkewCorrectedDate(config.systemClockOffset),
@@ -160,8 +158,6 @@ var _AwsSdkSigV4ASigner = class _AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {
160
158
  return signedRequest;
161
159
  }
162
160
  };
163
- __name(_AwsSdkSigV4ASigner, "AwsSdkSigV4ASigner");
164
- var AwsSdkSigV4ASigner = _AwsSdkSigV4ASigner;
165
161
 
166
162
  // src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts
167
163
  var import_core = require("@smithy/core");
@@ -111,7 +111,7 @@ var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyS
111
111
  try {
112
112
  return JSON.parse(encoded);
113
113
  } catch (e) {
114
- if ((e == null ? void 0 : e.name) === "SyntaxError") {
114
+ if (e?.name === "SyntaxError") {
115
115
  Object.defineProperty(e, "$responseBodyText", {
116
116
  value: encoded
117
117
  });
@@ -202,11 +202,10 @@ var parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
202
202
  return value;
203
203
  }, "parseXmlErrorBody");
204
204
  var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {
205
- var _a;
206
- if (((_a = data == null ? void 0 : data.Error) == null ? void 0 : _a.Code) !== void 0) {
205
+ if (data?.Error?.Code !== void 0) {
207
206
  return data.Error.Code;
208
207
  }
209
- if ((data == null ? void 0 : data.Code) !== void 0) {
208
+ if (data?.Code !== void 0) {
210
209
  return data.Code;
211
210
  }
212
211
  if (output.statusCode == 404) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -81,15 +81,15 @@
81
81
  },
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
- "@aws-sdk/types": "3.714.0",
85
- "@smithy/core": "^2.5.5",
86
- "@smithy/node-config-provider": "^3.1.12",
87
- "@smithy/property-provider": "^3.1.11",
88
- "@smithy/protocol-http": "^4.1.8",
89
- "@smithy/signature-v4": "^4.2.4",
90
- "@smithy/smithy-client": "^3.5.1",
91
- "@smithy/types": "^3.7.2",
92
- "@smithy/util-middleware": "^3.0.11",
84
+ "@aws-sdk/types": "3.723.0",
85
+ "@smithy/core": "^3.0.0",
86
+ "@smithy/node-config-provider": "^4.0.0",
87
+ "@smithy/property-provider": "^4.0.0",
88
+ "@smithy/protocol-http": "^5.0.0",
89
+ "@smithy/signature-v4": "^5.0.0",
90
+ "@smithy/smithy-client": "^4.0.0",
91
+ "@smithy/types": "^4.0.0",
92
+ "@smithy/util-middleware": "^4.0.0",
93
93
  "fast-xml-parser": "4.4.1",
94
94
  "tslib": "^2.6.2"
95
95
  },
@@ -98,10 +98,10 @@
98
98
  "concurrently": "7.0.0",
99
99
  "downlevel-dts": "0.10.1",
100
100
  "rimraf": "3.0.2",
101
- "typescript": "~4.9.5"
101
+ "typescript": "~5.2.2"
102
102
  },
103
103
  "engines": {
104
- "node": ">=16.0.0"
104
+ "node": ">=18.0.0"
105
105
  },
106
106
  "typesVersions": {
107
107
  "<4.0": {
@@ -41,8 +41,7 @@ var ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION";
41
41
  var ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
42
42
  var ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID";
43
43
  var fromEnv = /* @__PURE__ */ __name((init) => async () => {
44
- var _a;
45
- (_a = init == null ? void 0 : init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-env - fromEnv");
44
+ init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
46
45
  const accessKeyId = process.env[ENV_KEY];
47
46
  const secretAccessKey = process.env[ENV_SECRET];
48
47
  const sessionToken = process.env[ENV_SESSION];
@@ -61,7 +60,7 @@ var fromEnv = /* @__PURE__ */ __name((init) => async () => {
61
60
  (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS", "g");
62
61
  return credentials;
63
62
  }
64
- throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init == null ? void 0 : init.logger });
63
+ throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
65
64
  }, "fromEnv");
66
65
  // Annotate the CommonJS export names for ESM import in node:
67
66
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,23 +25,23 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.716.0",
29
- "@aws-sdk/types": "3.714.0",
30
- "@smithy/property-provider": "^3.1.11",
31
- "@smithy/types": "^3.7.2",
28
+ "@aws-sdk/core": "3.723.0",
29
+ "@aws-sdk/types": "3.723.0",
30
+ "@smithy/property-provider": "^4.0.0",
31
+ "@smithy/types": "^4.0.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@tsconfig/recommended": "1.0.1",
36
- "@types/node": "^16.18.96",
36
+ "@types/node": "^18.19.69",
37
37
  "concurrently": "7.0.0",
38
38
  "downlevel-dts": "0.10.1",
39
39
  "rimraf": "3.0.2",
40
- "typescript": "~4.9.5"
40
+ "typescript": "~5.2.2"
41
41
  },
42
42
  "types": "./dist-types/index.d.ts",
43
43
  "engines": {
44
- "node": ">=16.0.0"
44
+ "node": ">=18.0.0"
45
45
  },
46
46
  "typesVersions": {
47
47
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,28 +27,28 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.716.0",
31
- "@aws-sdk/types": "3.714.0",
32
- "@smithy/fetch-http-handler": "^4.1.2",
33
- "@smithy/node-http-handler": "^3.3.2",
34
- "@smithy/property-provider": "^3.1.11",
35
- "@smithy/protocol-http": "^4.1.8",
36
- "@smithy/smithy-client": "^3.5.1",
37
- "@smithy/types": "^3.7.2",
38
- "@smithy/util-stream": "^3.3.2",
30
+ "@aws-sdk/core": "3.723.0",
31
+ "@aws-sdk/types": "3.723.0",
32
+ "@smithy/fetch-http-handler": "^5.0.0",
33
+ "@smithy/node-http-handler": "^4.0.0",
34
+ "@smithy/property-provider": "^4.0.0",
35
+ "@smithy/protocol-http": "^5.0.0",
36
+ "@smithy/smithy-client": "^4.0.0",
37
+ "@smithy/types": "^4.0.0",
38
+ "@smithy/util-stream": "^4.0.0",
39
39
  "tslib": "^2.6.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@tsconfig/recommended": "1.0.1",
43
- "@types/node": "^16.18.96",
43
+ "@types/node": "^18.19.69",
44
44
  "concurrently": "7.0.0",
45
45
  "downlevel-dts": "0.10.1",
46
46
  "rimraf": "3.0.2",
47
- "typescript": "~4.9.5"
47
+ "typescript": "~5.2.2"
48
48
  },
49
49
  "types": "./dist-types/index.d.ts",
50
50
  "engines": {
51
- "node": ">=16.0.0"
51
+ "node": ">=18.0.0"
52
52
  },
53
53
  "typesVersions": {
54
54
  "<4.0": {