@cdklabs/cdk-ecs-codedeploy 0.0.361 → 0.0.363

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 (239) 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/package.json +9 -9
  67. package/node_modules/@aws-sdk/types/package.json +4 -4
  68. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  69. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  70. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  71. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
  72. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
  73. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  74. package/node_modules/@smithy/abort-controller/package.json +3 -3
  75. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
  76. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  77. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  78. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  79. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  80. package/node_modules/@smithy/config-resolver/package.json +6 -6
  81. package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
  82. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
  83. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  84. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
  85. package/node_modules/@smithy/core/package.json +10 -10
  86. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
  87. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  88. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  89. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
  90. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  91. package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
  92. package/node_modules/@smithy/hash-node/package.json +6 -6
  93. package/node_modules/@smithy/invalid-dependency/package.json +5 -2
  94. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  95. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  96. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
  97. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  98. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
  99. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  100. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
  101. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  102. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
  103. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
  104. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
  105. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  106. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
  107. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
  108. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
  109. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
  110. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
  111. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
  112. package/node_modules/@smithy/node-config-provider/package.json +6 -6
  113. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
  114. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  115. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  116. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  117. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  118. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  119. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  120. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  121. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  122. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  123. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  124. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  125. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  126. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  127. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  128. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  129. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  130. package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
  131. package/node_modules/@smithy/property-provider/package.json +3 -3
  132. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
  133. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
  134. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
  135. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
  136. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
  137. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
  138. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
  139. package/node_modules/@smithy/protocol-http/package.json +3 -3
  140. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  141. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  142. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
  143. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  144. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
  145. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
  146. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  147. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
  148. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
  149. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
  150. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
  151. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
  152. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  153. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
  154. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
  155. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
  156. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
  157. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
  158. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
  159. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
  160. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
  161. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
  162. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  163. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  164. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  165. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
  166. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
  167. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
  168. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
  169. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
  170. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
  171. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
  172. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
  173. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
  174. package/node_modules/@smithy/signature-v4/package.json +9 -9
  175. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
  176. package/node_modules/@smithy/smithy-client/package.json +9 -9
  177. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
  178. package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
  179. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
  180. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
  181. package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
  182. package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
  183. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
  184. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
  185. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
  186. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
  187. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
  188. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
  189. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
  190. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
  191. package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
  192. package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
  193. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  194. package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
  195. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
  196. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
  197. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
  198. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
  199. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
  200. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
  201. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
  202. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
  203. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
  204. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
  205. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
  206. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
  207. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
  208. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
  209. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
  210. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
  211. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
  212. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
  213. package/node_modules/@smithy/types/package.json +2 -2
  214. package/node_modules/@smithy/url-parser/package.json +6 -3
  215. package/node_modules/@smithy/util-base64/package.json +8 -7
  216. package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
  217. package/node_modules/@smithy/util-body-length-node/package.json +6 -5
  218. package/node_modules/@smithy/util-buffer-from/package.json +7 -6
  219. package/node_modules/@smithy/util-config-provider/package.json +6 -5
  220. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  221. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
  222. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  223. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
  224. package/node_modules/@smithy/util-endpoints/package.json +5 -5
  225. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  226. package/node_modules/@smithy/util-middleware/package.json +4 -4
  227. package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
  228. package/node_modules/@smithy/util-retry/package.json +5 -5
  229. package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
  230. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
  231. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
  232. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  233. package/node_modules/@smithy/util-stream/package.json +10 -10
  234. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  235. package/node_modules/@smithy/util-utf8/package.json +6 -5
  236. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +7 -9
  237. package/node_modules/@smithy/util-waiter/dist-es/utils/validate.js +3 -3
  238. package/node_modules/@smithy/util-waiter/package.json +4 -4
  239. package/package.json +3 -3
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@smithy/util-uri-escape",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-uri-escape",
7
7
  "build:es": "yarn g:tsc -p tsconfig.es.json",
8
8
  "build:types": "yarn g:tsc -p tsconfig.types.json",
9
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
9
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
10
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -25,7 +26,7 @@
25
26
  "tslib": "^2.6.2"
26
27
  },
27
28
  "engines": {
28
- "node": ">=16.0.0"
29
+ "node": ">=18.0.0"
29
30
  },
30
31
  "typesVersions": {
31
32
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-utf8",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "A UTF-8 string <-> UInt8Array converter",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -9,12 +9,13 @@
9
9
  "build:cjs": "node ../../scripts/inline util-utf8",
10
10
  "build:es": "yarn g:tsc -p tsconfig.es.json",
11
11
  "build:types": "yarn g:tsc -p tsconfig.types.json",
12
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
13
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
14
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
17
- "test": "yarn g:jest"
17
+ "test": "yarn g:vitest run",
18
+ "test:watch": "yarn g:vitest watch"
18
19
  },
19
20
  "author": {
20
21
  "name": "AWS SDK for JavaScript Team",
@@ -22,7 +23,7 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/util-buffer-from": "^3.0.0",
26
+ "@smithy/util-buffer-from": "^4.0.0",
26
27
  "tslib": "^2.6.2"
27
28
  },
28
29
  "devDependencies": {
@@ -33,7 +34,7 @@
33
34
  },
34
35
  "types": "./dist-types/index.d.ts",
35
36
  "engines": {
36
- "node": ">=16.0.0"
37
+ "node": ">=18.0.0"
37
38
  },
38
39
  "typesVersions": {
39
40
  "<4.0": {
@@ -79,7 +79,6 @@ var exponentialBackoffWithJitter = /* @__PURE__ */ __name((minDelay, maxDelay, a
79
79
  }, "exponentialBackoffWithJitter");
80
80
  var randomInRange = /* @__PURE__ */ __name((min, max) => min + Math.random() * (max - min), "randomInRange");
81
81
  var runPolling = /* @__PURE__ */ __name(async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => {
82
- var _a;
83
82
  const observedResponses = {};
84
83
  const { state, reason } = await acceptorChecks(client, input);
85
84
  if (reason) {
@@ -94,7 +93,7 @@ var runPolling = /* @__PURE__ */ __name(async ({ minDelay, maxDelay, maxWaitTime
94
93
  const waitUntil = Date.now() + maxWaitTime * 1e3;
95
94
  const attemptCeiling = Math.log(maxDelay / minDelay) / Math.log(2) + 1;
96
95
  while (true) {
97
- if (((_a = abortController == null ? void 0 : abortController.signal) == null ? void 0 : _a.aborted) || (abortSignal == null ? void 0 : abortSignal.aborted)) {
96
+ if (abortController?.signal?.aborted || abortSignal?.aborted) {
98
97
  const message = "AbortController signal aborted.";
99
98
  observedResponses[message] |= 0;
100
99
  observedResponses[message] += 1;
@@ -118,26 +117,25 @@ var runPolling = /* @__PURE__ */ __name(async ({ minDelay, maxDelay, maxWaitTime
118
117
  }
119
118
  }, "runPolling");
120
119
  var createMessageFromResponse = /* @__PURE__ */ __name((reason) => {
121
- var _a;
122
- if (reason == null ? void 0 : reason.$responseBodyText) {
120
+ if (reason?.$responseBodyText) {
123
121
  return `Deserialization error for body: ${reason.$responseBodyText}`;
124
122
  }
125
- if ((_a = reason == null ? void 0 : reason.$metadata) == null ? void 0 : _a.httpStatusCode) {
123
+ if (reason?.$metadata?.httpStatusCode) {
126
124
  if (reason.$response || reason.message) {
127
125
  return `${reason.$response.statusCode ?? reason.$metadata.httpStatusCode ?? "Unknown"}: ${reason.message}`;
128
126
  }
129
127
  return `${reason.$metadata.httpStatusCode}: OK`;
130
128
  }
131
- return String((reason == null ? void 0 : reason.message) ?? JSON.stringify(reason) ?? "Unknown");
129
+ return String(reason?.message ?? JSON.stringify(reason) ?? "Unknown");
132
130
  }, "createMessageFromResponse");
133
131
 
134
132
  // src/utils/validate.ts
135
133
  var validateWaiterOptions = /* @__PURE__ */ __name((options) => {
136
- if (options.maxWaitTime < 1) {
134
+ if (options.maxWaitTime <= 0) {
137
135
  throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);
138
- } else if (options.minDelay < 1) {
136
+ } else if (options.minDelay <= 0) {
139
137
  throw new Error(`WaiterConfiguration.minDelay must be greater than 0`);
140
- } else if (options.maxDelay < 1) {
138
+ } else if (options.maxDelay <= 0) {
141
139
  throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`);
142
140
  } else if (options.maxWaitTime <= options.minDelay) {
143
141
  throw new Error(
@@ -1,11 +1,11 @@
1
1
  export const validateWaiterOptions = (options) => {
2
- if (options.maxWaitTime < 1) {
2
+ if (options.maxWaitTime <= 0) {
3
3
  throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);
4
4
  }
5
- else if (options.minDelay < 1) {
5
+ else if (options.minDelay <= 0) {
6
6
  throw new Error(`WaiterConfiguration.minDelay must be greater than 0`);
7
7
  }
8
- else if (options.maxDelay < 1) {
8
+ else if (options.maxDelay <= 0) {
9
9
  throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`);
10
10
  }
11
11
  else if (options.maxWaitTime <= options.minDelay) {
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@smithy/util-waiter",
3
- "version": "3.2.0",
3
+ "version": "4.0.1",
4
4
  "description": "Shared utilities for client waiters for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/abort-controller": "^3.1.9",
7
- "@smithy/types": "^3.7.2",
6
+ "@smithy/abort-controller": "^4.0.0",
7
+ "@smithy/types": "^4.0.0",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "module": "./dist-es/index.js",
30
30
  "types": "./dist-types/index.d.ts",
31
31
  "engines": {
32
- "node": ">=16.0.0"
32
+ "node": ">=18.0.0"
33
33
  },
34
34
  "typesVersions": {
35
35
  "<4.0": {
package/package.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "devDependencies": {
74
74
  "@aws-cdk/integ-runner": "latest",
75
75
  "@aws-cdk/integ-tests-alpha": "latest",
76
- "@types/aws-lambda": "^8.10.146",
76
+ "@types/aws-lambda": "^8.10.147",
77
77
  "@types/jest": "^27",
78
78
  "@types/lambda-tester": "^3.6.2",
79
79
  "@types/node": "^18",
@@ -109,7 +109,7 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.721.0",
112
+ "@aws-sdk/client-codedeploy": "^3.723.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.361",
130
+ "version": "0.0.363",
131
131
  "jest": {
132
132
  "coverageProvider": "v8",
133
133
  "testMatch": [