@cdklabs/cdk-construct-connect-datalake 0.0.11 → 0.0.13

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 (318) hide show
  1. package/.jsii +11 -11
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +9 -9
  10. package/node_modules/@aws-sdk/client-connect/README.md +11 -6
  11. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
  12. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
  13. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
  14. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
  15. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  20. package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
  21. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
  22. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
  23. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
  24. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
  25. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
  28. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  29. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  30. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
  31. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
  32. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
  33. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
  34. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  35. package/node_modules/@aws-sdk/client-connect/package.json +9 -9
  36. package/node_modules/@aws-sdk/client-glue/README.md +14 -0
  37. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +38 -0
  38. package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
  39. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +91 -36
  40. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
  41. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
  42. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  43. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
  44. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +8 -0
  45. package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
  46. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +66 -11
  47. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
  48. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
  49. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
  59. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +24 -0
  60. package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
  61. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
  62. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +70 -97
  63. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +97 -2
  64. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +8 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
  66. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
  67. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
  69. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
  70. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +11 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +18 -22
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +21 -1
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  79. package/node_modules/@aws-sdk/client-glue/package.json +9 -9
  80. package/node_modules/@aws-sdk/client-lakeformation/package.json +9 -9
  81. package/node_modules/@aws-sdk/client-ram/package.json +9 -9
  82. package/node_modules/@aws-sdk/client-sts/package.json +11 -11
  83. package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
  84. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
  87. package/node_modules/@aws-sdk/core/package.json +7 -7
  88. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  89. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -6
  90. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -6
  91. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -8
  92. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  93. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  94. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +12 -1
  95. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
  96. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  97. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  98. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  99. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
  101. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
  102. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
  103. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
  104. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
  105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
  106. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
  107. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
  108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
  113. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
  115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
  119. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
  120. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
  121. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
  122. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
  123. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
  124. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
  125. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
  126. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  127. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
  128. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
  129. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
  130. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
  131. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  132. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -6
  133. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  134. package/node_modules/@aws-sdk/types/package.json +3 -3
  135. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  136. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  137. package/node_modules/@nodable/entities/package.json +1 -1
  138. package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
  139. package/node_modules/@nodable/entities/src/entities.js +0 -18
  140. package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
  141. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
  142. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
  143. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
  144. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
  145. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
  146. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
  147. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
  148. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
  149. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
  150. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
  151. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
  152. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
  153. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
  154. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
  155. package/node_modules/@smithy/core/dist-es/index.js +6 -6
  156. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
  157. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
  158. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
  159. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
  160. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
  161. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
  162. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
  163. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
  164. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
  165. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  166. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
  167. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
  168. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
  169. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
  170. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
  171. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
  172. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
  173. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
  174. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
  175. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
  176. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
  177. package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
  178. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
  179. package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
  180. package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
  181. package/node_modules/@smithy/core/dist-types/index.d.ts +10 -6
  182. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +2 -2
  183. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -2
  184. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -2
  185. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +2 -2
  186. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +1 -1
  187. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
  188. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +5 -5
  189. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +1 -2
  190. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +1 -1
  191. package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +4 -1
  192. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +1 -2
  193. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/DefaultRetryToken.d.ts +3 -0
  194. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/StandardRetryStrategy.d.ts +1 -1
  195. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +9 -0
  196. package/node_modules/@smithy/core/package.json +20 -11
  197. package/node_modules/@smithy/core/transport.d.ts +5 -0
  198. package/node_modules/@smithy/core/transport.js +5 -0
  199. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
  200. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
  201. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
  202. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
  203. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  204. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
  205. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  206. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  207. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
  208. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
  209. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
  210. package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  211. package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  212. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  213. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  214. package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  215. package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  216. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  217. package/node_modules/@smithy/signature-v4/package.json +3 -3
  218. package/node_modules/@smithy/types/dist-types/retry.d.ts +25 -0
  219. package/node_modules/@smithy/types/package.json +1 -1
  220. package/node_modules/@types/aws-lambda/README.md +1 -1
  221. package/node_modules/@types/aws-lambda/package.json +3 -3
  222. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
  223. package/node_modules/hasown/CHANGELOG.md +7 -0
  224. package/node_modules/hasown/index.d.ts +0 -1
  225. package/node_modules/hasown/package.json +4 -5
  226. package/node_modules/which-typed-array/CHANGELOG.md +18 -0
  227. package/node_modules/which-typed-array/eslint.config.mjs +12 -0
  228. package/node_modules/which-typed-array/index.d.ts +22 -53
  229. package/node_modules/which-typed-array/index.js +36 -23
  230. package/node_modules/which-typed-array/package.json +8 -8
  231. package/package.json +15 -15
  232. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
  233. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
  234. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
  235. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
  236. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
  237. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
  238. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
  239. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
  240. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
  241. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
  242. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
  243. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
  244. package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
  245. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
  246. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
  247. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
  248. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
  249. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
  250. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
  251. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
  252. package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
  253. package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
  254. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
  255. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
  256. package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +0 -6
  257. package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +0 -5
  258. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/TestVectors.fixture.d.ts +0 -2
  259. package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/vectorTypes.fixture.d.ts +0 -12
  260. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
  261. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
  262. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
  263. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
  264. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
  265. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
  266. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
  267. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
  268. package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
  269. package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +0 -14
  270. package/node_modules/which-typed-array/.eslintrc +0 -10
  271. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
  272. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
  273. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
  274. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
  275. /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
  276. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
  277. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
  278. /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
  279. /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
  280. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
  281. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
  282. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
  283. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
  284. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
  285. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
  286. /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
  287. /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
  288. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
  289. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
  290. /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
  291. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
  292. /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
  293. /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
  294. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -0
  295. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.d.ts +0 -0
  296. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.d.ts +0 -0
  297. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.d.ts +0 -0
  298. /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.d.ts +0 -0
  299. /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.d.ts +0 -0
  300. /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.d.ts +0 -0
  301. /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.d.ts +0 -0
  302. /package/node_modules/@smithy/core/dist-types/{pagination → legacy-root-exports/pagination}/createPaginator.d.ts +0 -0
  303. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.d.ts +0 -0
  304. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -0
  305. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.d.ts +0 -0
  306. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.d.ts +0 -0
  307. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.d.ts +0 -0
  308. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.d.ts +0 -0
  309. /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.d.ts +0 -0
  310. /package/node_modules/@smithy/core/dist-types/{getSmithyContext.d.ts → submodules/transport/getSmithyContext.d.ts} +0 -0
  311. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpRequest.d.ts +0 -0
  312. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpResponse.d.ts +0 -0
  313. /package/node_modules/@smithy/core/dist-types/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.d.ts +0 -0
  314. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/isValidHostname.d.ts +0 -0
  315. /package/node_modules/@smithy/core/dist-types/submodules/{client/util-middleware → transport}/normalizeProvider.d.ts +0 -0
  316. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/querystring-parser → transport}/parseQueryString.d.ts +0 -0
  317. /package/node_modules/@smithy/core/dist-types/submodules/{protocols/url-parser → transport}/parseUrl.d.ts +0 -0
  318. /package/node_modules/@smithy/core/dist-types/submodules/{endpoints → transport}/toEndpointV1.d.ts +0 -0
@@ -14,14 +14,14 @@ export * from "./SerdeContext";
14
14
  export { Field } from "./protocol-http/Field";
15
15
  export { Fields, type FieldsOptions } from "./protocol-http/Fields";
16
16
  export { type HttpHandler, type HttpHandlerUserInput } from "./protocol-http/httpHandler";
17
- export { HttpRequest, type IHttpRequest } from "./protocol-http/httpRequest";
18
- export { HttpResponse } from "./protocol-http/httpResponse";
19
- export { isValidHostname } from "./protocol-http/isValidHostname";
17
+ export { HttpRequest, type IHttpRequest } from "@smithy/core/transport";
18
+ export { HttpResponse } from "@smithy/core/transport";
19
+ export { isValidHostname } from "@smithy/core/transport";
20
20
  export { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, type HttpHandlerExtensionConfiguration, type HttpHandlerExtensionConfigType, } from "./protocol-http/extensions/httpExtensionConfiguration";
21
21
  export { type FieldOptions, type FieldPosition, type HeaderBag, type HttpMessage, type HttpHandlerOptions, } from "./protocol-http/types";
22
22
  export { contentLengthMiddleware, contentLengthMiddlewareOptions, getContentLengthPlugin, } from "./middleware-content-length/contentLengthMiddleware";
23
23
  export { escapeUri } from "./util-uri-escape/escape-uri";
24
24
  export { escapeUriPath } from "./util-uri-escape/escape-uri-path";
25
25
  export { buildQueryString } from "./querystring-builder/buildQueryString";
26
- export { parseQueryString } from "./querystring-parser/parseQueryString";
27
- export { parseUrl } from "./url-parser/parseUrl";
26
+ export { parseQueryString } from "@smithy/core/transport";
27
+ export { parseUrl } from "@smithy/core/transport";
@@ -1,6 +1,5 @@
1
+ import type { HttpRequest, HttpResponse } from "@smithy/core/transport";
1
2
  import type { FetchHttpHandlerOptions, HttpHandlerOptions, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
2
- import type { HttpRequest } from "./httpRequest";
3
- import type { HttpResponse } from "./httpResponse";
4
3
  /**
5
4
  * @internal
6
5
  */
@@ -1,5 +1,5 @@
1
+ import { HttpRequest } from "@smithy/core/transport";
1
2
  import type { SerdeContext } from "@smithy/types";
2
- import { HttpRequest } from "./protocol-http/httpRequest";
3
3
  /**
4
4
  * used in code-generated serde.
5
5
  *
@@ -53,7 +53,10 @@ export interface RetryResolvedConfig {
53
53
  /**
54
54
  * @internal
55
55
  */
56
- export declare const resolveRetryConfig: <T>(input: T & PreviouslyResolved & RetryInputConfig) => T & RetryResolvedConfig;
56
+ export declare const resolveRetryConfig: <T>(input: T & PreviouslyResolved & RetryInputConfig, defaults?: {
57
+ defaultMaxAttempts?: number;
58
+ defaultBaseDelay?: number;
59
+ }) => T & RetryResolvedConfig;
57
60
  /**
58
61
  * @internal
59
62
  */
@@ -1,4 +1,4 @@
1
- import type { Provider, RetryBackoffStrategy, RetryErrorInfo, RetryStrategyV2, StandardRetryToken } from "@smithy/types";
1
+ import type { Provider, RetryBackoffStrategy, RetryStrategyV2 } from "@smithy/types";
2
2
  import { StandardRetryStrategy } from "./StandardRetryStrategy";
3
3
  /**
4
4
  * This extension of the StandardRetryStrategy allows customizing the
@@ -28,5 +28,4 @@ export declare class ConfiguredRetryStrategy extends StandardRetryStrategy imple
28
28
  * ```
29
29
  */
30
30
  constructor(maxAttempts: number | Provider<number>, computeNextBackoffDelay?: number | RetryBackoffStrategy["computeNextBackoffDelay"]);
31
- refreshRetryTokenForRetry(tokenToRenew: StandardRetryToken, errorInfo: RetryErrorInfo): Promise<StandardRetryToken>;
32
31
  }
@@ -7,6 +7,9 @@ export declare class DefaultRetryToken implements StandardRetryToken {
7
7
  private readonly count;
8
8
  private readonly cost;
9
9
  private readonly longPoll;
10
+ $retryLog: {
11
+ acquisitionDelay: number;
12
+ };
10
13
  constructor(delay: number, count: number, cost: number | undefined, longPoll: boolean);
11
14
  getRetryCount(): number;
12
15
  getRetryDelay(): number;
@@ -21,8 +21,8 @@ export type StandardRetryStrategyOptions = {
21
21
  */
22
22
  export declare class StandardRetryStrategy implements RetryStrategyV2 {
23
23
  readonly mode: string;
24
+ protected readonly retryBackoffStrategy: StandardRetryBackoffStrategy;
24
25
  private capacity;
25
- private readonly retryBackoffStrategy;
26
26
  private readonly maxAttemptsProvider;
27
27
  private readonly baseDelay;
28
28
  constructor(maxAttempts: number);
@@ -0,0 +1,9 @@
1
+ export { getSmithyContext } from "./getSmithyContext";
2
+ export { HttpRequest, IHttpRequest } from "./httpRequest";
3
+ export { HttpResponse } from "./httpResponse";
4
+ export { isValidHostLabel } from "./isValidHostLabel";
5
+ export { isValidHostname } from "./isValidHostname";
6
+ export { normalizeProvider } from "./normalizeProvider";
7
+ export { parseQueryString } from "./parseQueryString";
8
+ export { parseUrl } from "./parseUrl";
9
+ export { toEndpointV1 } from "./toEndpointV1";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.24.4",
3
+ "version": "3.24.6",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline core",
@@ -151,6 +151,13 @@
151
151
  "node": "./dist-cjs/submodules/retry/index.js",
152
152
  "import": "./dist-es/submodules/retry/index.js",
153
153
  "require": "./dist-cjs/submodules/retry/index.js"
154
+ },
155
+ "./transport": {
156
+ "types": "./dist-types/submodules/transport/index.d.ts",
157
+ "module": "./dist-es/submodules/transport/index.js",
158
+ "node": "./dist-cjs/submodules/transport/index.js",
159
+ "import": "./dist-es/submodules/transport/index.js",
160
+ "require": "./dist-cjs/submodules/transport/index.js"
154
161
  }
155
162
  },
156
163
  "author": {
@@ -162,7 +169,7 @@
162
169
  "sideEffects": false,
163
170
  "dependencies": {
164
171
  "@aws-crypto/crc32": "5.2.0",
165
- "@smithy/types": "^4.14.2",
172
+ "@smithy/types": "^4.14.3",
166
173
  "tslib": "^2.6.2"
167
174
  },
168
175
  "engines": {
@@ -178,25 +185,27 @@
178
185
  "files": [
179
186
  "./cbor.d.ts",
180
187
  "./cbor.js",
188
+ "./checksum.d.ts",
189
+ "./checksum.js",
190
+ "./client.d.ts",
191
+ "./client.js",
192
+ "./config.d.ts",
193
+ "./config.js",
181
194
  "./endpoints.d.ts",
182
195
  "./endpoints.js",
183
196
  "./event-streams.d.ts",
184
197
  "./event-streams.js",
185
198
  "./protocols.d.ts",
186
199
  "./protocols.js",
200
+ "./retry.d.ts",
201
+ "./retry.js",
187
202
  "./schema.d.ts",
188
203
  "./schema.js",
189
204
  "./serde.d.ts",
190
205
  "./serde.js",
191
- "dist-*/**",
192
- "./client.d.ts",
193
- "./client.js",
194
- "./config.d.ts",
195
- "./config.js",
196
- "./checksum.d.ts",
197
- "./checksum.js",
198
- "./retry.d.ts",
199
- "./retry.js"
206
+ "./transport.d.ts",
207
+ "./transport.js",
208
+ "dist-*/**"
200
209
  ],
201
210
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
202
211
  "repository": {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Do not edit:
3
+ * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
+ */
5
+ export * from "./dist-types/submodules/transport/index";
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Do not edit:
3
+ * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
+ */
5
+ module.exports = require("./dist-cjs/submodules/transport/index.js");
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var node_url = require('node:url');
4
3
  var config = require('@smithy/core/config');
5
4
  var node_http = require('node:http');
6
5
  var protocols = require('@smithy/core/protocols');
@@ -95,14 +94,8 @@ const requestFromEcsImds = async (timeout, options) => {
95
94
  return buffer.toString();
96
95
  };
97
96
  const CMDS_IP = "169.254.170.2";
98
- const GREENGRASS_HOSTS = {
99
- localhost: true,
100
- "127.0.0.1": true,
101
- };
102
- const GREENGRASS_PROTOCOLS = {
103
- "http:": true,
104
- "https:": true,
105
- };
97
+ const GREENGRASS_HOSTS = new Set(["localhost", "127.0.0.1"]);
98
+ const GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
106
99
  const getCmdsUri = async ({ logger }) => {
107
100
  if (process.env[ENV_CMDS_RELATIVE_URI]) {
108
101
  return {
@@ -111,21 +104,29 @@ const getCmdsUri = async ({ logger }) => {
111
104
  };
112
105
  }
113
106
  if (process.env[ENV_CMDS_FULL_URI]) {
114
- const parsed = node_url.parse(process.env[ENV_CMDS_FULL_URI]);
115
- if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) {
107
+ let parsed;
108
+ try {
109
+ parsed = new URL(process.env[ENV_CMDS_FULL_URI]);
110
+ }
111
+ catch {
112
+ throw new config.CredentialsProviderError(`${process.env[ENV_CMDS_FULL_URI]} is not a valid container metadata service URL`, { tryNextLink: false, logger });
113
+ }
114
+ if (!parsed.hostname || !GREENGRASS_HOSTS.has(parsed.hostname)) {
116
115
  throw new config.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {
117
116
  tryNextLink: false,
118
117
  logger,
119
118
  });
120
119
  }
121
- if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) {
120
+ if (!parsed.protocol || !GREENGRASS_PROTOCOLS.has(parsed.protocol)) {
122
121
  throw new config.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {
123
122
  tryNextLink: false,
124
123
  logger,
125
124
  });
126
125
  }
127
126
  return {
128
- ...parsed,
127
+ protocol: parsed.protocol,
128
+ hostname: parsed.hostname,
129
+ path: parsed.pathname + parsed.search,
129
130
  port: parsed.port ? parseInt(parsed.port, 10) : undefined,
130
131
  };
131
132
  }
@@ -1,4 +1,3 @@
1
- import { parse } from "node:url";
2
1
  import { CredentialsProviderError } from "@smithy/core/config";
3
2
  import { fromImdsCredentials, isImdsCredentials } from "./remoteProvider/ImdsCredentials";
4
3
  import { providerConfigFromInit } from "./remoteProvider/RemoteProviderInit";
@@ -34,14 +33,8 @@ const requestFromEcsImds = async (timeout, options) => {
34
33
  return buffer.toString();
35
34
  };
36
35
  const CMDS_IP = "169.254.170.2";
37
- const GREENGRASS_HOSTS = {
38
- localhost: true,
39
- "127.0.0.1": true,
40
- };
41
- const GREENGRASS_PROTOCOLS = {
42
- "http:": true,
43
- "https:": true,
44
- };
36
+ const GREENGRASS_HOSTS = new Set(["localhost", "127.0.0.1"]);
37
+ const GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
45
38
  const getCmdsUri = async ({ logger }) => {
46
39
  if (process.env[ENV_CMDS_RELATIVE_URI]) {
47
40
  return {
@@ -50,21 +43,29 @@ const getCmdsUri = async ({ logger }) => {
50
43
  };
51
44
  }
52
45
  if (process.env[ENV_CMDS_FULL_URI]) {
53
- const parsed = parse(process.env[ENV_CMDS_FULL_URI]);
54
- if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) {
46
+ let parsed;
47
+ try {
48
+ parsed = new URL(process.env[ENV_CMDS_FULL_URI]);
49
+ }
50
+ catch {
51
+ throw new CredentialsProviderError(`${process.env[ENV_CMDS_FULL_URI]} is not a valid container metadata service URL`, { tryNextLink: false, logger });
52
+ }
53
+ if (!parsed.hostname || !GREENGRASS_HOSTS.has(parsed.hostname)) {
55
54
  throw new CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {
56
55
  tryNextLink: false,
57
56
  logger,
58
57
  });
59
58
  }
60
- if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) {
59
+ if (!parsed.protocol || !GREENGRASS_PROTOCOLS.has(parsed.protocol)) {
61
60
  throw new CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {
62
61
  tryNextLink: false,
63
62
  logger,
64
63
  });
65
64
  }
66
65
  return {
67
- ...parsed,
66
+ protocol: parsed.protocol,
67
+ hostname: parsed.hostname,
68
+ path: parsed.pathname + parsed.search,
68
69
  port: parsed.port ? parseInt(parsed.port, 10) : undefined,
69
70
  };
70
71
  }
@@ -1,8 +1,8 @@
1
- import { request } from "node:http";
2
1
  import { ProviderError } from "@smithy/core/config";
2
+ import { node_http } from "./node-http";
3
3
  export function httpRequest(options) {
4
4
  return new Promise((resolve, reject) => {
5
- const req = request({
5
+ const req = node_http.request({
6
6
  method: "GET",
7
7
  ...options,
8
8
  hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1"),
@@ -0,0 +1,2 @@
1
+ import node_http from "node:http";
2
+ export { node_http };
@@ -1,4 +1,4 @@
1
- import { type RequestOptions } from "node:http";
1
+ import type { RequestOptions } from "node:http";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -0,0 +1,2 @@
1
+ import node_http from "node:http";
2
+ export { node_http };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.3.4",
3
+ "version": "4.3.8",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,8 +27,8 @@
27
27
  "license": "Apache-2.0",
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@smithy/core": "^3.24.4",
31
- "@smithy/types": "^4.14.2",
30
+ "@smithy/core": "^3.24.6",
31
+ "@smithy/types": "^4.14.3",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "5.4.4",
3
+ "version": "5.4.6",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
@@ -27,12 +27,12 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/core": "^3.24.4",
31
- "@smithy/types": "^4.14.2",
30
+ "@smithy/core": "^3.24.6",
31
+ "@smithy/types": "^4.14.3",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@smithy/abort-controller": "^4.2.15",
35
+ "@smithy/abort-controller": "^4.2.16",
36
36
  "concurrently": "7.0.0",
37
37
  "downlevel-dts": "0.10.1",
38
38
  "premove": "4.0.0",
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var node_https = require('node:https');
4
3
  var protocols = require('@smithy/core/protocols');
4
+ var node_https = require('node:https');
5
5
  var node_stream = require('node:stream');
6
6
  var http2 = require('node:http2');
7
7
 
@@ -414,7 +414,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
414
414
  socketAcquisitionWarningTimeout,
415
415
  throwOnRequestTimeout,
416
416
  httpAgentProvider: async () => {
417
- const { Agent, request } = await import('node:http');
417
+ const node_http = await import('node:http');
418
+ const { Agent, request } = node_http.default ?? node_http;
418
419
  hRequest = request;
419
420
  hAgent = Agent;
420
421
  if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
@@ -666,6 +667,7 @@ class NodeHttp2ConnectionManager {
666
667
  }
667
668
  }
668
669
 
670
+ const { constants } = http2;
669
671
  class NodeHttp2Handler {
670
672
  config;
671
673
  configProvider;
@@ -760,8 +762,8 @@ class NodeHttp2Handler {
760
762
  }
761
763
  const clientHttp2Stream = session.request({
762
764
  ...request.headers,
763
- [http2.constants.HTTP2_HEADER_PATH]: path,
764
- [http2.constants.HTTP2_HEADER_METHOD]: method,
765
+ [constants.HTTP2_HEADER_PATH]: path,
766
+ [constants.HTTP2_HEADER_METHOD]: method,
765
767
  });
766
768
  if (effectiveRequestTimeout) {
767
769
  clientHttp2Stream.setTimeout(effectiveRequestTimeout, () => {
@@ -1,8 +1,8 @@
1
- import { Agent as hsAgent, request as hsRequest } from "node:https";
2
1
  import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
3
2
  import { buildAbortError } from "./build-abort-error";
4
3
  import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
5
4
  import { getTransformedHeaders } from "./get-transformed-headers";
5
+ import { node_https } from "./node-https";
6
6
  import { setConnectionTimeout } from "./set-connection-timeout";
7
7
  import { setRequestTimeout } from "./set-request-timeout";
8
8
  import { setSocketKeepAlive } from "./set-socket-keep-alive";
@@ -107,7 +107,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
107
107
  const expectContinue = headers ? (headers.Expect ?? headers.expect) === "100-continue" : false;
108
108
  let agent = isSSL ? config.httpsAgent : config.httpAgent;
109
109
  if (expectContinue && !this.externalAgent) {
110
- agent = new (isSSL ? hsAgent : hAgent)({
110
+ agent = new (isSSL ? node_https.Agent : hAgent)({
111
111
  keepAlive: false,
112
112
  maxSockets: Infinity,
113
113
  });
@@ -145,7 +145,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
145
145
  agent,
146
146
  auth,
147
147
  };
148
- const requestFunc = isSSL ? hsRequest : hRequest;
148
+ const requestFunc = isSSL ? node_https.request : hRequest;
149
149
  const req = requestFunc(nodeHttpsOptions, (res) => {
150
150
  const httpResponse = new HttpResponse({
151
151
  statusCode: res.statusCode || -1,
@@ -218,7 +218,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
218
218
  socketAcquisitionWarningTimeout,
219
219
  throwOnRequestTimeout,
220
220
  httpAgentProvider: async () => {
221
- const { Agent, request } = await import("node:http");
221
+ const node_http = await import("node:http");
222
+ const { Agent, request } = node_http.default ?? node_http;
222
223
  hRequest = request;
223
224
  hAgent = Agent;
224
225
  if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
@@ -228,11 +229,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
228
229
  return new hAgent({ keepAlive, maxSockets, ...httpAgent });
229
230
  },
230
231
  httpsAgent: (() => {
231
- if (httpsAgent instanceof hsAgent || typeof httpsAgent?.destroy === "function") {
232
+ if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
232
233
  this.externalAgent = true;
233
234
  return httpsAgent;
234
235
  }
235
- return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
236
+ return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
236
237
  })(),
237
238
  logger,
238
239
  };
@@ -1,9 +1,10 @@
1
- import { constants } from "node:http2";
2
1
  import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
3
2
  import { buildAbortError } from "./build-abort-error";
4
3
  import { getTransformedHeaders } from "./get-transformed-headers";
4
+ import { node_http2 } from "./node-http2";
5
5
  import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager";
6
6
  import { writeRequestBody } from "./write-request-body";
7
+ const { constants } = node_http2;
7
8
  export class NodeHttp2Handler {
8
9
  config;
9
10
  configProvider;
@@ -0,0 +1,2 @@
1
+ import node_http2 from "node:http2";
2
+ export { node_http2 };
@@ -0,0 +1,2 @@
1
+ import node_https from "node:https";
2
+ export { node_https };
@@ -1,5 +1,5 @@
1
1
  import type { Agent as hAgentType } from "node:http";
2
- import { Agent as hsAgent } from "node:https";
2
+ import type { Agent as hsAgentType } from "node:https";
3
3
  import { HttpResponse, type HttpHandler, type HttpRequest } from "@smithy/core/protocols";
4
4
  import type { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types";
5
5
  export { NodeHttpHandlerOptions };
@@ -35,7 +35,7 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
35
35
  * @param logger - channel for the warning.
36
36
  * @returns timestamp of last emitted warning.
37
37
  */
38
- static checkSocketUsage(agent: hAgentType | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
38
+ static checkSocketUsage(agent: hAgentType | hsAgentType, socketWarningTimestamp: number, logger?: Logger): number;
39
39
  constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
40
40
  destroy(): void;
41
41
  handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{
@@ -1,4 +1,4 @@
1
- import { type ClientSessionOptions, type SecureClientSessionOptions } from "node:http2";
1
+ import type { ClientSessionOptions, SecureClientSessionOptions } from "node:http2";
2
2
  import { HttpResponse, type HttpHandler, type HttpRequest } from "@smithy/core/protocols";
3
3
  import type { HttpHandlerOptions, Provider } from "@smithy/types";
4
4
  /**
@@ -0,0 +1,2 @@
1
+ import node_http2 from "node:http2";
2
+ export { node_http2 };
@@ -0,0 +1,2 @@
1
+ import node_https from "node:https";
2
+ export { node_https };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.7.4",
3
+ "version": "4.7.7",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
@@ -26,12 +26,12 @@
26
26
  "module": "./dist-es/index.js",
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
- "@smithy/core": "^3.24.4",
30
- "@smithy/types": "^4.14.2",
29
+ "@smithy/core": "^3.24.6",
30
+ "@smithy/types": "^4.14.3",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@smithy/abort-controller": "^4.2.15",
34
+ "@smithy/abort-controller": "^4.2.16",
35
35
  "@types/node": "^18.11.9",
36
36
  "concurrently": "7.0.0",
37
37
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.4.4",
3
+ "version": "5.4.6",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,8 +25,8 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.24.4",
29
- "@smithy/types": "^4.14.2",
28
+ "@smithy/core": "^3.24.6",
29
+ "@smithy/types": "^4.14.3",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -75,10 +75,24 @@ export interface RetryStrategyOptions {
75
75
  */
76
76
  export interface RetryToken {
77
77
  /**
78
+ * Starts at 0 for the initial request, which is not a "retry" by definition.
79
+ * 1 indicates the first retry.
80
+ *
78
81
  * @returns the current count of retry.
79
82
  */
80
83
  getRetryCount(): number;
81
84
  /**
85
+ * RetryStrategies implemented by `@smithy/core` will return tokens with a
86
+ * delay of zero.
87
+ *
88
+ * This is because the RetryStrategy token acquisition methods took over the
89
+ * task of idling for the delay period. If a user-implemented retry token
90
+ * contains a delay, the default Smithy retry middleware will still honor it.
91
+ *
92
+ * That is to say, you may either sleep within the RetryStrategy methods for acquiring
93
+ * the token, OR return a token with a retry delay that will cause the retry middleware
94
+ * to sleep.
95
+ *
82
96
  * @returns the number of milliseconds to wait before retrying an action.
83
97
  */
84
98
  getRetryDelay(): number;
@@ -86,6 +100,14 @@ export interface RetryToken {
86
100
  * @returns whether the operation which generated this token is long polling.
87
101
  */
88
102
  isLongPoll?(): boolean;
103
+ /**
104
+ * Delays that have already been executed by the time the token
105
+ * is accessible. This is needed for the token handler to understand what has happened.
106
+ * @internal
107
+ */
108
+ $retryLog?: {
109
+ acquisitionDelay?: number;
110
+ };
89
111
  }
90
112
  /**
91
113
  * @public
@@ -116,6 +138,9 @@ export interface RetryStrategyV2 {
116
138
  * either choose to allow another retry and send a new or updated token,
117
139
  * or reject the retry attempt and report the error either in an exception
118
140
  * or returning an error.
141
+ *
142
+ * This method should either delay internally and return a token with 0 delay, OR
143
+ * do not sleep and return a token with the desired delay duration.
119
144
  */
120
145
  refreshRetryTokenForRetry(tokenToRenew: RetryToken, errorInfo: RetryErrorInfo): Promise<RetryToken>;
121
146
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "4.14.2",
3
+ "version": "4.14.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline types",
@@ -8,7 +8,7 @@ This package contains type definitions for aws-lambda (http://docs.aws.amazon.co
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 26 Feb 2026 18:14:19 GMT
11
+ * Last updated: Sat, 06 Jun 2026 12:54:36 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/aws-lambda",
3
- "version": "8.10.161",
3
+ "version": "8.10.162",
4
4
  "description": "TypeScript definitions for aws-lambda",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",
6
6
  "license": "MIT",
@@ -221,6 +221,6 @@
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
223
  "peerDependencies": {},
224
- "typesPublisherContentHash": "27d4cf93e028357fae8dbd0b56c5cc7cec355e3ba1da224c53e2b497600a4d81",
225
- "typeScriptVersion": "5.2"
224
+ "typesPublisherContentHash": "887084a96568d7a80f9cba501909ed52cecd243d2584c88b342d42e4ce9db97a",
225
+ "typeScriptVersion": "5.3"
226
226
  }