@cdklabs/cdk-ecs-codedeploy 0.0.360 → 0.0.362

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 (251) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +865 -701
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +1 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-es/models/models_0.js +220 -220
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +1 -1
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +1 -1
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -2
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  15. package/node_modules/@aws-sdk/client-codedeploy/package.json +44 -44
  16. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
  17. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
  18. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  20. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
  21. package/node_modules/@aws-sdk/client-sso/package.json +40 -40
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  31. package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
  32. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
  33. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
  34. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
  35. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
  36. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  39. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  40. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  41. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  42. package/node_modules/@aws-sdk/client-sts/package.json +42 -42
  43. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
  44. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
  45. package/node_modules/@aws-sdk/core/package.json +12 -12
  46. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
  47. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  48. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  49. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
  50. package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
  51. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
  52. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  53. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
  54. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  55. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
  56. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  57. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
  58. package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
  59. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
  60. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  61. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
  62. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
  63. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
  64. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  65. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
  66. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -0
  67. package/node_modules/@aws-sdk/token-providers/package.json +9 -9
  68. package/node_modules/@aws-sdk/types/package.json +4 -4
  69. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  70. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  71. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  72. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
  73. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
  74. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  75. package/node_modules/@smithy/abort-controller/package.json +3 -3
  76. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
  77. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  78. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  79. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  80. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  81. package/node_modules/@smithy/config-resolver/package.json +6 -6
  82. package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
  83. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
  84. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  85. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
  86. package/node_modules/@smithy/core/package.json +10 -10
  87. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
  88. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  89. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  90. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +37 -10
  91. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -1
  92. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -4
  93. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -4
  94. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  95. package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
  96. package/node_modules/@smithy/hash-node/package.json +6 -6
  97. package/node_modules/@smithy/invalid-dependency/package.json +5 -2
  98. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  99. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  100. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
  101. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +4 -1
  102. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +4 -1
  103. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  104. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
  105. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  106. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
  107. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  108. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
  109. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
  110. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
  111. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  112. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
  113. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
  114. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
  115. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
  116. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
  117. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
  118. package/node_modules/@smithy/node-config-provider/package.json +6 -6
  119. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
  120. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  121. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  122. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  123. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  124. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  125. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  126. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  127. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  128. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  129. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  130. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  131. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  132. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  133. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  134. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  135. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  136. package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
  137. package/node_modules/@smithy/property-provider/package.json +3 -3
  138. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
  139. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
  140. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
  141. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
  142. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
  143. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
  144. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
  145. package/node_modules/@smithy/protocol-http/package.json +3 -3
  146. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  147. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  148. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
  149. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  150. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
  151. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
  152. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  153. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
  154. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
  155. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
  156. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
  157. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
  158. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  159. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
  160. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
  161. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
  162. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
  163. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
  164. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
  165. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
  166. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
  167. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
  168. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  169. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  170. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  171. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
  172. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
  173. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
  174. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
  175. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
  176. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
  177. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
  178. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
  179. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
  180. package/node_modules/@smithy/signature-v4/package.json +9 -9
  181. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -24
  182. package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +0 -3
  183. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +0 -1
  184. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -1
  185. package/node_modules/@smithy/smithy-client/package.json +9 -9
  186. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
  187. package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
  188. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
  189. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
  190. package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
  191. package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
  192. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
  193. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
  194. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
  195. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
  196. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
  197. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
  198. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
  199. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
  200. package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
  201. package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
  202. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  203. package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
  204. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
  205. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
  206. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
  207. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
  208. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
  209. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
  210. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
  211. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
  212. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
  213. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
  214. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
  215. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
  216. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
  217. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
  218. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
  219. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
  220. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
  221. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
  222. package/node_modules/@smithy/types/package.json +2 -2
  223. package/node_modules/@smithy/url-parser/package.json +6 -3
  224. package/node_modules/@smithy/util-base64/package.json +8 -7
  225. package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
  226. package/node_modules/@smithy/util-body-length-node/package.json +6 -5
  227. package/node_modules/@smithy/util-buffer-from/package.json +7 -6
  228. package/node_modules/@smithy/util-config-provider/package.json +6 -5
  229. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  230. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
  231. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  232. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
  233. package/node_modules/@smithy/util-endpoints/package.json +5 -5
  234. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  235. package/node_modules/@smithy/util-middleware/package.json +4 -4
  236. package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
  237. package/node_modules/@smithy/util-retry/package.json +5 -5
  238. package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
  239. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
  240. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
  241. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  242. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +1 -1
  243. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +2 -1
  244. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +1 -1
  245. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +2 -1
  246. package/node_modules/@smithy/util-stream/package.json +10 -10
  247. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  248. package/node_modules/@smithy/util-utf8/package.json +6 -5
  249. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
  250. package/node_modules/@smithy/util-waiter/package.json +4 -4
  251. package/package.json +3 -3
@@ -54,16 +54,16 @@ var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileN
54
54
  EcsContainer: async (options) => {
55
55
  const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
56
56
  const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
57
- logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
57
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
58
58
  return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
59
59
  },
60
60
  Ec2InstanceMetadata: async (options) => {
61
- logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
61
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
62
62
  const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
63
63
  return async () => fromInstanceMetadata(options)().then(setNamedProvider);
64
64
  },
65
65
  Environment: async (options) => {
66
- logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
66
+ logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
67
67
  const { fromEnv } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-env")));
68
68
  return async () => fromEnv(options)().then(setNamedProvider);
69
69
  }
@@ -84,24 +84,21 @@ var isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = "default", lo
84
84
  return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
85
85
  }, "isAssumeRoleProfile");
86
86
  var isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {
87
- var _a;
88
87
  const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
89
88
  if (withSourceProfile) {
90
- (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, ` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);
89
+ logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);
91
90
  }
92
91
  return withSourceProfile;
93
92
  }, "isAssumeRoleWithSourceProfile");
94
93
  var isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {
95
- var _a;
96
94
  const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
97
95
  if (withProviderProfile) {
98
- (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, ` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);
96
+ logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);
99
97
  }
100
98
  return withProviderProfile;
101
99
  }, "isCredentialSourceProfile");
102
100
  var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
103
- var _a, _b, _c;
104
- (_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
101
+ options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
105
102
  const profileData = profiles[profileName];
106
103
  const { source_profile, region } = profileData;
107
104
  if (!options.roleAssumer) {
@@ -111,8 +108,8 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
111
108
  ...options.clientConfig,
112
109
  credentialProviderLogger: options.logger,
113
110
  parentClientConfig: {
114
- ...options == null ? void 0 : options.parentClientConfig,
115
- region: region ?? ((_b = options == null ? void 0 : options.parentClientConfig) == null ? void 0 : _b.region)
111
+ ...options?.parentClientConfig,
112
+ region: region ?? options?.parentClientConfig?.region
116
113
  }
117
114
  },
118
115
  options.clientPlugins
@@ -124,7 +121,7 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
124
121
  { logger: options.logger }
125
122
  );
126
123
  }
127
- (_c = options.logger) == null ? void 0 : _c.debug(
124
+ options.logger?.debug(
128
125
  `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`
129
126
  );
130
127
  const sourceCredsProvider = source_profile ? resolveProfileData(
@@ -200,8 +197,7 @@ var isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_
200
197
 
201
198
  var isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, "isStaticCredsProfile");
202
199
  var resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {
203
- var _a;
204
- (_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
200
+ options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
205
201
  const credentials = {
206
202
  accessKeyId: profile.aws_access_key_id,
207
203
  secretAccessKey: profile.aws_secret_access_key,
@@ -255,7 +251,6 @@ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, op
255
251
 
256
252
  // src/fromIni.ts
257
253
  var fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {
258
- var _a;
259
254
  const init = {
260
255
  ..._init,
261
256
  parentClientConfig: {
@@ -263,11 +258,11 @@ var fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig
263
258
  ..._init.parentClientConfig
264
259
  }
265
260
  };
266
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - fromIni");
261
+ init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
267
262
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
268
263
  return resolveProfileData(
269
264
  (0, import_shared_ini_file_loader.getProfileName)({
270
- profile: _init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
265
+ profile: _init.profile ?? callerClientConfig?.profile
271
266
  }),
272
267
  profiles,
273
268
  init
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,33 +27,33 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.716.0",
31
- "@aws-sdk/credential-provider-env": "3.716.0",
32
- "@aws-sdk/credential-provider-http": "3.716.0",
33
- "@aws-sdk/credential-provider-process": "3.716.0",
34
- "@aws-sdk/credential-provider-sso": "3.716.0",
35
- "@aws-sdk/credential-provider-web-identity": "3.716.0",
36
- "@aws-sdk/types": "3.714.0",
37
- "@smithy/credential-provider-imds": "^3.2.8",
38
- "@smithy/property-provider": "^3.1.11",
39
- "@smithy/shared-ini-file-loader": "^3.1.12",
40
- "@smithy/types": "^3.7.2",
30
+ "@aws-sdk/core": "3.723.0",
31
+ "@aws-sdk/credential-provider-env": "3.723.0",
32
+ "@aws-sdk/credential-provider-http": "3.723.0",
33
+ "@aws-sdk/credential-provider-process": "3.723.0",
34
+ "@aws-sdk/credential-provider-sso": "3.723.0",
35
+ "@aws-sdk/credential-provider-web-identity": "3.723.0",
36
+ "@aws-sdk/types": "3.723.0",
37
+ "@smithy/credential-provider-imds": "^4.0.0",
38
+ "@smithy/property-provider": "^4.0.0",
39
+ "@smithy/shared-ini-file-loader": "^4.0.0",
40
+ "@smithy/types": "^4.0.0",
41
41
  "tslib": "^2.6.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tsconfig/recommended": "1.0.1",
45
- "@types/node": "^16.18.96",
45
+ "@types/node": "^18.19.69",
46
46
  "concurrently": "7.0.0",
47
47
  "downlevel-dts": "0.10.1",
48
48
  "rimraf": "3.0.2",
49
- "typescript": "~4.9.5"
49
+ "typescript": "~5.2.2"
50
50
  },
51
51
  "peerDependencies": {
52
- "@aws-sdk/client-sts": "^3.716.0"
52
+ "@aws-sdk/client-sts": "^3.723.0"
53
53
  },
54
54
  "types": "./dist-types/index.d.ts",
55
55
  "engines": {
56
- "node": ">=16.0.0"
56
+ "node": ">=18.0.0"
57
57
  },
58
58
  "typesVersions": {
59
59
  "<4.0": {
@@ -46,10 +46,9 @@ var import_shared_ini_file_loader = require("@smithy/shared-ini-file-loader");
46
46
  var import_property_provider = require("@smithy/property-provider");
47
47
  var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
48
48
  var remoteProvider = /* @__PURE__ */ __name(async (init) => {
49
- var _a, _b;
50
49
  const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
51
50
  if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
52
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
51
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
53
52
  const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
54
53
  return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));
55
54
  }
@@ -58,7 +57,7 @@ var remoteProvider = /* @__PURE__ */ __name(async (init) => {
58
57
  throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger });
59
58
  };
60
59
  }
61
- (_b = init.logger) == null ? void 0 : _b.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
60
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
62
61
  return fromInstanceMetadata(init);
63
62
  }, "remoteProvider");
64
63
 
@@ -67,13 +66,12 @@ var multipleCredentialSourceWarningEmitted = false;
67
66
  var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(
68
67
  (0, import_property_provider.chain)(
69
68
  async () => {
70
- var _a, _b, _c, _d;
71
69
  const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];
72
70
  if (profile) {
73
71
  const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];
74
72
  if (envStaticCredentialsAreSet) {
75
73
  if (!multipleCredentialSourceWarningEmitted) {
76
- const warnFn = ((_a = init.logger) == null ? void 0 : _a.warn) && ((_c = (_b = init.logger) == null ? void 0 : _b.constructor) == null ? void 0 : _c.name) !== "NoOpLogger" ? init.logger.warn : console.warn;
74
+ const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn : console.warn;
77
75
  warnFn(
78
76
  `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
79
77
  Multiple credential sources detected:
@@ -93,12 +91,11 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
93
91
  tryNextLink: true
94
92
  });
95
93
  }
96
- (_d = init.logger) == null ? void 0 : _d.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
94
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
97
95
  return (0, import_credential_provider_env.fromEnv)(init)();
98
96
  },
99
97
  async () => {
100
- var _a;
101
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
98
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
102
99
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
103
100
  if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
104
101
  throw new import_property_provider.CredentialsProviderError(
@@ -110,26 +107,22 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
110
107
  return fromSSO(init)();
111
108
  },
112
109
  async () => {
113
- var _a;
114
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
110
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
115
111
  const { fromIni } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-ini")));
116
112
  return fromIni(init)();
117
113
  },
118
114
  async () => {
119
- var _a;
120
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
115
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
121
116
  const { fromProcess } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-process")));
122
117
  return fromProcess(init)();
123
118
  },
124
119
  async () => {
125
- var _a;
126
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
120
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
127
121
  const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-web-identity")));
128
122
  return fromTokenFile(init)();
129
123
  },
130
124
  async () => {
131
- var _a;
132
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
125
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
133
126
  return (await remoteProvider(init))();
134
127
  },
135
128
  async () => {
@@ -142,8 +135,8 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
142
135
  credentialsTreatedAsExpired,
143
136
  credentialsWillNeedRefresh
144
137
  ), "defaultProvider");
145
- var credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => (credentials == null ? void 0 : credentials.expiration) !== void 0, "credentialsWillNeedRefresh");
146
- var credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => (credentials == null ? void 0 : credentials.expiration) !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, "credentialsTreatedAsExpired");
138
+ var credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, "credentialsWillNeedRefresh");
139
+ var credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, "credentialsTreatedAsExpired");
147
140
  // Annotate the CommonJS export names for ESM import in node:
148
141
 
149
142
  0 && (module.exports = {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
- "node": ">=16.0.0"
6
+ "node": ">=18.0.0"
7
7
  },
8
8
  "main": "./dist-cjs/index.js",
9
9
  "module": "./dist-es/index.js",
@@ -29,26 +29,26 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/credential-provider-env": "3.716.0",
33
- "@aws-sdk/credential-provider-http": "3.716.0",
34
- "@aws-sdk/credential-provider-ini": "3.716.0",
35
- "@aws-sdk/credential-provider-process": "3.716.0",
36
- "@aws-sdk/credential-provider-sso": "3.716.0",
37
- "@aws-sdk/credential-provider-web-identity": "3.716.0",
38
- "@aws-sdk/types": "3.714.0",
39
- "@smithy/credential-provider-imds": "^3.2.8",
40
- "@smithy/property-provider": "^3.1.11",
41
- "@smithy/shared-ini-file-loader": "^3.1.12",
42
- "@smithy/types": "^3.7.2",
32
+ "@aws-sdk/credential-provider-env": "3.723.0",
33
+ "@aws-sdk/credential-provider-http": "3.723.0",
34
+ "@aws-sdk/credential-provider-ini": "3.723.0",
35
+ "@aws-sdk/credential-provider-process": "3.723.0",
36
+ "@aws-sdk/credential-provider-sso": "3.723.0",
37
+ "@aws-sdk/credential-provider-web-identity": "3.723.0",
38
+ "@aws-sdk/types": "3.723.0",
39
+ "@smithy/credential-provider-imds": "^4.0.0",
40
+ "@smithy/property-provider": "^4.0.0",
41
+ "@smithy/shared-ini-file-loader": "^4.0.0",
42
+ "@smithy/types": "^4.0.0",
43
43
  "tslib": "^2.6.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@tsconfig/recommended": "1.0.1",
47
- "@types/node": "^16.18.96",
47
+ "@types/node": "^18.19.69",
48
48
  "concurrently": "7.0.0",
49
49
  "downlevel-dts": "0.10.1",
50
50
  "rimraf": "3.0.2",
51
- "typescript": "~4.9.5"
51
+ "typescript": "~5.2.2"
52
52
  },
53
53
  "types": "./dist-types/index.d.ts",
54
54
  "typesVersions": {
@@ -36,7 +36,6 @@ var import_util = require("util");
36
36
  // src/getValidatedProcessCredentials.ts
37
37
  var import_client = require("@aws-sdk/core/client");
38
38
  var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {
39
- var _a;
40
39
  if (data.Version !== 1) {
41
40
  throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
42
41
  }
@@ -51,7 +50,7 @@ var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data,
51
50
  }
52
51
  }
53
52
  let accountId = data.AccountId;
54
- if (!accountId && ((_a = profiles == null ? void 0 : profiles[profileName]) == null ? void 0 : _a.aws_account_id)) {
53
+ if (!accountId && profiles?.[profileName]?.aws_account_id) {
55
54
  accountId = profiles[profileName].aws_account_id;
56
55
  }
57
56
  const credentials = {
@@ -97,12 +96,11 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
97
96
 
98
97
  // src/fromProcess.ts
99
98
  var fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
100
- var _a;
101
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process - fromProcess");
99
+ init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
102
100
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
103
101
  return resolveProcessCredentials(
104
102
  (0, import_shared_ini_file_loader.getProfileName)({
105
- profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
103
+ profile: init.profile ?? callerClientConfig?.profile
106
104
  }),
107
105
  profiles,
108
106
  init.logger
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,24 +25,24 @@
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/shared-ini-file-loader": "^3.1.12",
32
- "@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/shared-ini-file-loader": "^4.0.0",
32
+ "@smithy/types": "^4.0.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@tsconfig/recommended": "1.0.1",
37
- "@types/node": "^16.18.96",
37
+ "@types/node": "^18.19.69",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
40
  "rimraf": "3.0.2",
41
- "typescript": "~4.9.5"
41
+ "typescript": "~5.2.2"
42
42
  },
43
43
  "types": "./dist-types/index.d.ts",
44
44
  "engines": {
45
- "node": ">=16.0.0"
45
+ "node": ">=18.0.0"
46
46
  },
47
47
  "typesVersions": {
48
48
  "<4.0": {
@@ -104,8 +104,8 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
104
104
  const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));
105
105
  const sso = ssoClient || new SSOClient2(
106
106
  Object.assign({}, clientConfig ?? {}, {
107
- logger: (clientConfig == null ? void 0 : clientConfig.logger) ?? (parentClientConfig == null ? void 0 : parentClientConfig.logger),
108
- region: (clientConfig == null ? void 0 : clientConfig.region) ?? ssoRegion
107
+ logger: clientConfig?.logger ?? parentClientConfig?.logger,
108
+ region: clientConfig?.region ?? ssoRegion
109
109
  })
110
110
  );
111
111
  let ssoResp;
@@ -166,12 +166,11 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
166
166
 
167
167
  // src/fromSSO.ts
168
168
  var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
169
- var _a;
170
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso - fromSSO");
169
+ init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
171
170
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
172
171
  const { ssoClient } = init;
173
172
  const profileName = (0, import_shared_ini_file_loader.getProfileName)({
174
- profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
173
+ profile: init.profile ?? callerClientConfig?.profile
175
174
  });
176
175
  if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
177
176
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
@@ -184,7 +183,7 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig
184
183
  logger: init.logger
185
184
  });
186
185
  }
187
- if (profile == null ? void 0 : profile.sso_session) {
186
+ if (profile?.sso_session) {
188
187
  const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);
189
188
  const session = ssoSessions[profile.sso_session];
190
189
  const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,26 +25,26 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso": "3.716.0",
29
- "@aws-sdk/core": "3.716.0",
30
- "@aws-sdk/token-providers": "3.714.0",
31
- "@aws-sdk/types": "3.714.0",
32
- "@smithy/property-provider": "^3.1.11",
33
- "@smithy/shared-ini-file-loader": "^3.1.12",
34
- "@smithy/types": "^3.7.2",
28
+ "@aws-sdk/client-sso": "3.723.0",
29
+ "@aws-sdk/core": "3.723.0",
30
+ "@aws-sdk/token-providers": "3.723.0",
31
+ "@aws-sdk/types": "3.723.0",
32
+ "@smithy/property-provider": "^4.0.0",
33
+ "@smithy/shared-ini-file-loader": "^4.0.0",
34
+ "@smithy/types": "^4.0.0",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@tsconfig/recommended": "1.0.1",
39
- "@types/node": "^16.18.96",
39
+ "@types/node": "^18.19.69",
40
40
  "concurrently": "7.0.0",
41
41
  "downlevel-dts": "0.10.1",
42
42
  "rimraf": "3.0.2",
43
- "typescript": "~4.9.5"
43
+ "typescript": "~5.2.2"
44
44
  },
45
45
  "types": "./dist-types/index.d.ts",
46
46
  "engines": {
47
- "node": ">=16.0.0"
47
+ "node": ">=18.0.0"
48
48
  },
49
49
  "typesVersions": {
50
50
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.716.0",
3
+ "version": "3.723.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,26 +33,26 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.716.0",
37
- "@aws-sdk/types": "3.714.0",
38
- "@smithy/property-provider": "^3.1.11",
39
- "@smithy/types": "^3.7.2",
36
+ "@aws-sdk/core": "3.723.0",
37
+ "@aws-sdk/types": "3.723.0",
38
+ "@smithy/property-provider": "^4.0.0",
39
+ "@smithy/types": "^4.0.0",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@tsconfig/recommended": "1.0.1",
44
- "@types/node": "^16.18.96",
44
+ "@types/node": "^18.19.69",
45
45
  "concurrently": "7.0.0",
46
46
  "downlevel-dts": "0.10.1",
47
47
  "rimraf": "3.0.2",
48
- "typescript": "~4.9.5"
48
+ "typescript": "~5.2.2"
49
49
  },
50
50
  "peerDependencies": {
51
- "@aws-sdk/client-sts": "^3.716.0"
51
+ "@aws-sdk/client-sts": "^3.723.0"
52
52
  },
53
53
  "types": "./dist-types/index.d.ts",
54
54
  "engines": {
55
- "node": ">=16.0.0"
55
+ "node": ">=18.0.0"
56
56
  },
57
57
  "typesVersions": {
58
58
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-host-header",
3
- "version": "3.714.0",
3
+ "version": "3.723.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.714.0",
27
- "@smithy/protocol-http": "^4.1.8",
28
- "@smithy/types": "^3.7.2",
26
+ "@aws-sdk/types": "3.723.0",
27
+ "@smithy/protocol-http": "^5.0.0",
28
+ "@smithy/types": "^4.0.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
32
- "node": ">=16.0.0"
32
+ "node": ">=18.0.0"
33
33
  },
34
34
  "typesVersions": {
35
35
  "<4.0": {
@@ -52,6 +52,6 @@
52
52
  "concurrently": "7.0.0",
53
53
  "downlevel-dts": "0.10.1",
54
54
  "rimraf": "3.0.2",
55
- "typescript": "~4.9.5"
55
+ "typescript": "~5.2.2"
56
56
  }
57
57
  }
@@ -29,7 +29,6 @@ module.exports = __toCommonJS(src_exports);
29
29
 
30
30
  // src/loggerMiddleware.ts
31
31
  var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {
32
- var _a, _b;
33
32
  try {
34
33
  const response = await next(args);
35
34
  const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
@@ -37,7 +36,7 @@ var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (ar
37
36
  const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
38
37
  const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;
39
38
  const { $metadata, ...outputWithoutMetadata } = response.output;
40
- (_a = logger == null ? void 0 : logger.info) == null ? void 0 : _a.call(logger, {
39
+ logger?.info?.({
41
40
  clientName,
42
41
  commandName,
43
42
  input: inputFilterSensitiveLog(args.input),
@@ -49,7 +48,7 @@ var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (ar
49
48
  const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
50
49
  const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;
51
50
  const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
52
- (_b = logger == null ? void 0 : logger.error) == null ? void 0 : _b.call(logger, {
51
+ logger?.error?.({
53
52
  clientName,
54
53
  commandName,
55
54
  input: inputFilterSensitiveLog(args.input),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.714.0",
3
+ "version": "3.723.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-logger",
@@ -24,20 +24,20 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.714.0",
28
- "@smithy/types": "^3.7.2",
27
+ "@aws-sdk/types": "3.723.0",
28
+ "@smithy/types": "^4.0.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@tsconfig/recommended": "1.0.1",
33
- "@types/node": "^16.18.96",
33
+ "@types/node": "^18.19.69",
34
34
  "concurrently": "7.0.0",
35
35
  "downlevel-dts": "0.10.1",
36
36
  "rimraf": "3.0.2",
37
- "typescript": "~4.9.5"
37
+ "typescript": "~5.2.2"
38
38
  },
39
39
  "engines": {
40
- "node": ">=16.0.0"
40
+ "node": ">=18.0.0"
41
41
  },
42
42
  "typesVersions": {
43
43
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.714.0",
3
+ "version": "3.723.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.714.0",
27
- "@smithy/protocol-http": "^4.1.8",
28
- "@smithy/types": "^3.7.2",
26
+ "@aws-sdk/types": "3.723.0",
27
+ "@smithy/protocol-http": "^5.0.0",
28
+ "@smithy/types": "^4.0.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
32
- "node": ">=16.0.0"
32
+ "node": ">=18.0.0"
33
33
  },
34
34
  "typesVersions": {
35
35
  "<4.0": {
@@ -52,6 +52,6 @@
52
52
  "concurrently": "7.0.0",
53
53
  "downlevel-dts": "0.10.1",
54
54
  "rimraf": "3.0.2",
55
- "typescript": "~4.9.5"
55
+ "typescript": "~5.2.2"
56
56
  }
57
57
  }