@cdk8s/awscdk-resolver 0.0.224 → 0.0.226

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +610 -478
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +1 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +81 -54
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +3 -2
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  13. package/node_modules/@aws-sdk/client-cloudformation/package.json +44 -44
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
  15. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
  16. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
  17. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
  19. package/node_modules/@aws-sdk/client-sso/package.json +40 -40
  20. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
  21. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
  22. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
  23. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  26. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  29. package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
  30. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
  31. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
  32. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
  33. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
  34. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  37. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  38. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  39. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
  40. package/node_modules/@aws-sdk/client-sts/package.json +42 -42
  41. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
  42. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
  43. package/node_modules/@aws-sdk/core/package.json +12 -12
  44. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
  45. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  46. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  47. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
  48. package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
  49. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
  50. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  51. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
  52. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  53. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
  54. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  55. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
  56. package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
  57. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
  58. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  59. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
  60. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
  61. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
  62. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  63. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
  64. package/node_modules/@aws-sdk/token-providers/package.json +9 -9
  65. package/node_modules/@aws-sdk/types/package.json +4 -4
  66. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  67. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  68. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  69. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
  70. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
  71. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  72. package/node_modules/@smithy/abort-controller/package.json +3 -3
  73. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
  74. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  75. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  76. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
  77. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
  78. package/node_modules/@smithy/config-resolver/package.json +6 -6
  79. package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
  80. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
  81. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
  82. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
  83. package/node_modules/@smithy/core/package.json +10 -10
  84. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
  85. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  86. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  87. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
  88. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  89. package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
  90. package/node_modules/@smithy/hash-node/package.json +6 -6
  91. package/node_modules/@smithy/invalid-dependency/package.json +5 -2
  92. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  93. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  94. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
  95. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  96. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
  97. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  98. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
  99. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  100. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
  101. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
  102. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
  103. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  104. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
  105. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
  106. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
  107. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
  108. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
  109. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
  110. package/node_modules/@smithy/node-config-provider/package.json +6 -6
  111. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
  112. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  113. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  114. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  115. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  116. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  117. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  118. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  119. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  120. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  121. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  122. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  123. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  124. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  125. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  126. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  127. package/node_modules/@smithy/node-http-handler/package.json +7 -7
  128. package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
  129. package/node_modules/@smithy/property-provider/package.json +3 -3
  130. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
  131. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
  132. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
  133. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
  134. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
  135. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
  136. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
  137. package/node_modules/@smithy/protocol-http/package.json +3 -3
  138. package/node_modules/@smithy/querystring-builder/package.json +4 -4
  139. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  140. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
  141. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  142. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
  143. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
  144. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
  145. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
  146. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
  147. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
  148. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
  149. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
  150. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
  151. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
  152. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
  153. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
  154. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
  155. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
  156. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
  157. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
  158. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
  159. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
  160. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  161. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  162. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  163. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
  164. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
  165. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
  166. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
  167. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
  168. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
  169. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
  170. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
  171. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
  172. package/node_modules/@smithy/signature-v4/package.json +9 -9
  173. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
  174. package/node_modules/@smithy/smithy-client/package.json +9 -9
  175. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
  176. package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
  177. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
  178. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
  179. package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
  180. package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
  181. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
  182. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
  183. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
  184. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
  185. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
  186. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
  187. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
  188. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
  189. package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
  190. package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
  191. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  192. package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
  193. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
  194. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
  195. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
  196. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
  197. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
  198. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
  199. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
  200. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
  201. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
  202. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
  203. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
  204. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
  205. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
  206. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
  207. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
  208. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
  209. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
  210. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
  211. package/node_modules/@smithy/types/package.json +2 -2
  212. package/node_modules/@smithy/url-parser/package.json +6 -3
  213. package/node_modules/@smithy/util-base64/package.json +8 -7
  214. package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
  215. package/node_modules/@smithy/util-body-length-node/package.json +6 -5
  216. package/node_modules/@smithy/util-buffer-from/package.json +7 -6
  217. package/node_modules/@smithy/util-config-provider/package.json +6 -5
  218. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
  219. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
  220. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
  221. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
  222. package/node_modules/@smithy/util-endpoints/package.json +5 -5
  223. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  224. package/node_modules/@smithy/util-middleware/package.json +4 -4
  225. package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
  226. package/node_modules/@smithy/util-retry/package.json +5 -5
  227. package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
  228. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
  229. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
  230. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  231. package/node_modules/@smithy/util-stream/package.json +10 -10
  232. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  233. package/node_modules/@smithy/util-utf8/package.json +6 -5
  234. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
  235. package/node_modules/@smithy/util-waiter/package.json +4 -4
  236. package/package.json +3 -3
@@ -7,8 +7,6 @@ import type { HttpResponse } from "./httpResponse";
7
7
  export type HttpHandler<HttpHandlerConfig extends object = {}> = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions> & {
8
8
  /**
9
9
  * @internal
10
- * @param key
11
- * @param value
12
10
  */
13
11
  updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void;
14
12
  /**
@@ -3,12 +3,14 @@ type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & {
3
3
  method?: string;
4
4
  };
5
5
  /**
6
- * Use the distinct IHttpRequest interface from @smithy/types instead.
6
+ * Use the distinct IHttpRequest interface from \@smithy/types instead.
7
7
  * This should not be used due to
8
8
  * overlapping with the concrete class' name.
9
9
  *
10
10
  * This is not marked deprecated since that would mark the concrete class
11
11
  * deprecated as well.
12
+ *
13
+ * @internal
12
14
  */
13
15
  export interface HttpRequest extends IHttpRequest {
14
16
  }
@@ -3,8 +3,21 @@ type HttpResponseOptions = Partial<HttpMessage> & {
3
3
  statusCode: number;
4
4
  reason?: string;
5
5
  };
6
+ /**
7
+ * Use the distinct IHttpResponse interface from \@smithy/types instead.
8
+ * This should not be used due to
9
+ * overlapping with the concrete class' name.
10
+ *
11
+ * This is not marked deprecated since that would mark the concrete class
12
+ * deprecated as well.
13
+ *
14
+ * @internal
15
+ */
6
16
  export interface HttpResponse extends IHttpResponse {
7
17
  }
18
+ /**
19
+ * @public
20
+ */
8
21
  export declare class HttpResponse {
9
22
  statusCode: number;
10
23
  reason?: string;
@@ -7,8 +7,6 @@ import { HttpResponse } from "./httpResponse";
7
7
  export type HttpHandler<HttpHandlerConfig extends object = {}> = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions> & {
8
8
  /**
9
9
  * @internal
10
- * @param key
11
- * @param value
12
10
  */
13
11
  updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void;
14
12
  /**
@@ -3,12 +3,14 @@ type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & {
3
3
  method?: string;
4
4
  };
5
5
  /**
6
- * Use the distinct IHttpRequest interface from @smithy/types instead.
6
+ * Use the distinct IHttpRequest interface from \@smithy/types instead.
7
7
  * This should not be used due to
8
8
  * overlapping with the concrete class' name.
9
9
  *
10
10
  * This is not marked deprecated since that would mark the concrete class
11
11
  * deprecated as well.
12
+ *
13
+ * @internal
12
14
  */
13
15
  export interface HttpRequest extends IHttpRequest {
14
16
  }
@@ -3,8 +3,21 @@ type HttpResponseOptions = Partial<HttpMessage> & {
3
3
  statusCode: number;
4
4
  reason?: string;
5
5
  };
6
+ /**
7
+ * Use the distinct IHttpResponse interface from \@smithy/types instead.
8
+ * This should not be used due to
9
+ * overlapping with the concrete class' name.
10
+ *
11
+ * This is not marked deprecated since that would mark the concrete class
12
+ * deprecated as well.
13
+ *
14
+ * @internal
15
+ */
6
16
  export interface HttpResponse extends IHttpResponse {
7
17
  }
18
+ /**
19
+ * @public
20
+ */
8
21
  export declare class HttpResponse {
9
22
  statusCode: number;
10
23
  reason?: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "4.1.8",
3
+ "version": "5.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 protocol-http",
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/types": "^3.7.2",
27
+ "@smithy/types": "^4.0.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
31
- "node": ">=16.0.0"
31
+ "node": ">=18.0.0"
32
32
  },
33
33
  "typesVersions": {
34
34
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "3.0.11",
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 querystring-builder",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/types": "^3.7.2",
26
- "@smithy/util-uri-escape": "^3.0.0",
25
+ "@smithy/types": "^4.0.0",
26
+ "@smithy/util-uri-escape": "^4.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
30
- "node": ">=16.0.0"
30
+ "node": ">=18.0.0"
31
31
  },
32
32
  "typesVersions": {
33
33
  "<4.0": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "3.0.11",
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 querystring-parser",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/types": "^3.7.2",
26
+ "@smithy/types": "^4.0.0",
27
27
  "tslib": "^2.6.2"
28
28
  },
29
29
  "engines": {
30
- "node": ">=16.0.0"
30
+ "node": ">=18.0.0"
31
31
  },
32
32
  "typesVersions": {
33
33
  "<4.0": {
@@ -62,21 +62,11 @@ var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMED
62
62
  // src/index.ts
63
63
  var isRetryableByTrait = /* @__PURE__ */ __name((error) => error.$retryable !== void 0, "isRetryableByTrait");
64
64
  var isClockSkewError = /* @__PURE__ */ __name((error) => CLOCK_SKEW_ERROR_CODES.includes(error.name), "isClockSkewError");
65
- var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => {
66
- var _a;
67
- return (_a = error.$metadata) == null ? void 0 : _a.clockSkewCorrected;
68
- }, "isClockSkewCorrectedError");
69
- var isThrottlingError = /* @__PURE__ */ __name((error) => {
70
- var _a, _b;
71
- return ((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) === 429 || THROTTLING_ERROR_CODES.includes(error.name) || ((_b = error.$retryable) == null ? void 0 : _b.throttling) == true;
72
- }, "isThrottlingError");
73
- var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => {
74
- var _a;
75
- return isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes((error == null ? void 0 : error.code) || "") || TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) || 0) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1);
76
- }, "isTransientError");
65
+ var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
66
+ var isThrottlingError = /* @__PURE__ */ __name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
67
+ var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
77
68
  var isServerError = /* @__PURE__ */ __name((error) => {
78
- var _a;
79
- if (((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) !== void 0) {
69
+ if (error.$metadata?.httpStatusCode !== void 0) {
80
70
  const statusCode = error.$metadata.httpStatusCode;
81
71
  if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) {
82
72
  return true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "3.0.11",
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 service-error-classification",
@@ -29,7 +29,7 @@
29
29
  "typedoc": "0.23.23"
30
30
  },
31
31
  "engines": {
32
- "node": ">=16.0.0"
32
+ "node": ">=18.0.0"
33
33
  },
34
34
  "typesVersions": {
35
35
  "<4.0": {
@@ -54,6 +54,6 @@
54
54
  "directory": ".release/package"
55
55
  },
56
56
  "dependencies": {
57
- "@smithy/types": "^3.7.2"
57
+ "@smithy/types": "^4.0.0"
58
58
  }
59
59
  }
@@ -1,5 +1,15 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export declare const ENV_PROFILE = "AWS_PROFILE";
5
+ /**
6
+ * @internal
7
+ */
2
8
  export declare const DEFAULT_PROFILE = "default";
9
+ /**
10
+ * Returns profile with priority order code - ENV - default.
11
+ * @internal
12
+ */
3
13
  export declare const getProfileName: (init: {
4
14
  profile?: string;
5
15
  }) => string;
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Returns the filepath of the file where SSO token is stored.
3
+ * @internal
3
4
  */
4
5
  export declare const getSSOTokenFilepath: (id: string) => string;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Cached SSO token retrieved from SSO login flow.
3
+ * @public
3
4
  */
4
5
  export interface SSOToken {
5
6
  /**
@@ -38,6 +39,7 @@ export interface SSOToken {
38
39
  startUrl?: string;
39
40
  }
40
41
  /**
42
+ * @internal
41
43
  * @param id - can be either a start URL or the SSO session name.
42
44
  * Returns the SSO token from the file system.
43
45
  */
@@ -1,4 +1,7 @@
1
1
  import { Logger, SharedConfigFiles } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface SharedConfigInit {
3
6
  /**
4
7
  * The path at which to locate the ini credentials file. Defaults to the
@@ -22,5 +25,12 @@ export interface SharedConfigInit {
22
25
  */
23
26
  logger?: Logger;
24
27
  }
28
+ /**
29
+ * @internal
30
+ */
25
31
  export declare const CONFIG_PREFIX_SEPARATOR = ".";
32
+ /**
33
+ * Loads the config and credentials files.
34
+ * @internal
35
+ */
26
36
  export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
@@ -1,4 +1,8 @@
1
1
  import { ParsedIniData } from "@smithy/types";
2
+ /**
3
+ * Subset of {@link SharedConfigInit}.
4
+ * @internal
5
+ */
2
6
  export interface SsoSessionInit {
3
7
  /**
4
8
  * The path at which to locate the ini config file. Defaults to the value of
@@ -7,4 +11,7 @@ export interface SsoSessionInit {
7
11
  */
8
12
  configFilepath?: string;
9
13
  }
14
+ /**
15
+ * @internal
16
+ */
10
17
  export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
@@ -1,5 +1,8 @@
1
1
  import { ParsedIniData } from "@smithy/types";
2
2
  import { SharedConfigInit } from "./loadSharedConfigFiles";
3
+ /**
4
+ * @public
5
+ */
3
6
  export interface SourceProfileInit extends SharedConfigInit {
4
7
  /**
5
8
  * The configuration profile to use.
@@ -1,5 +1,15 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export declare const ENV_PROFILE = "AWS_PROFILE";
5
+ /**
6
+ * @internal
7
+ */
2
8
  export declare const DEFAULT_PROFILE = "default";
9
+ /**
10
+ * Returns profile with priority order code - ENV - default.
11
+ * @internal
12
+ */
3
13
  export declare const getProfileName: (init: {
4
14
  profile?: string;
5
15
  }) => string;
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Returns the filepath of the file where SSO token is stored.
3
+ * @internal
3
4
  */
4
5
  export declare const getSSOTokenFilepath: (id: string) => string;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Cached SSO token retrieved from SSO login flow.
3
+ * @public
3
4
  */
4
5
  export interface SSOToken {
5
6
  /**
@@ -38,6 +39,7 @@ export interface SSOToken {
38
39
  startUrl?: string;
39
40
  }
40
41
  /**
42
+ * @internal
41
43
  * @param id - can be either a start URL or the SSO session name.
42
44
  * Returns the SSO token from the file system.
43
45
  */
@@ -1,4 +1,7 @@
1
1
  import { Logger, SharedConfigFiles } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface SharedConfigInit {
3
6
  /**
4
7
  * The path at which to locate the ini credentials file. Defaults to the
@@ -22,5 +25,12 @@ export interface SharedConfigInit {
22
25
  */
23
26
  logger?: Logger;
24
27
  }
28
+ /**
29
+ * @internal
30
+ */
25
31
  export declare const CONFIG_PREFIX_SEPARATOR = ".";
32
+ /**
33
+ * Loads the config and credentials files.
34
+ * @internal
35
+ */
26
36
  export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;
@@ -1,4 +1,8 @@
1
1
  import { ParsedIniData } from "@smithy/types";
2
+ /**
3
+ * Subset of {@link SharedConfigInit}.
4
+ * @internal
5
+ */
2
6
  export interface SsoSessionInit {
3
7
  /**
4
8
  * The path at which to locate the ini config file. Defaults to the value of
@@ -7,4 +11,7 @@ export interface SsoSessionInit {
7
11
  */
8
12
  configFilepath?: string;
9
13
  }
14
+ /**
15
+ * @internal
16
+ */
10
17
  export declare const loadSsoSessionData: (init?: SsoSessionInit) => Promise<ParsedIniData>;
@@ -1,5 +1,8 @@
1
1
  import { ParsedIniData } from "@smithy/types";
2
2
  import { SharedConfigInit } from "./loadSharedConfigFiles";
3
+ /**
4
+ * @public
5
+ */
3
6
  export interface SourceProfileInit extends SharedConfigInit {
4
7
  /**
5
8
  * The configuration profile to use.
@@ -1,13 +1,16 @@
1
1
  import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
2
2
  /**
3
- * @deprecated Use Profile from "@smithy/types" instead
3
+ * @internal
4
+ * @deprecated Use Profile from "\@smithy/types" instead
4
5
  */
5
6
  export type Profile = __Profile;
6
7
  /**
7
- * @deprecated Use ParsedIniData from "@smithy/types" instead
8
+ * @internal
9
+ * @deprecated Use ParsedIniData from "\@smithy/types" instead
8
10
  */
9
11
  export type ParsedIniData = __ParsedIniData;
10
12
  /**
11
- * @deprecated Use SharedConfigFiles from "@smithy/types" instead
13
+ * @internal
14
+ * @deprecated Use SharedConfigFiles from "\@smithy/types" instead
12
15
  */
13
16
  export type SharedConfigFiles = __SharedConfigFiles;
@@ -1,13 +1,16 @@
1
1
  import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@smithy/types";
2
2
  /**
3
- * @deprecated Use Profile from "@smithy/types" instead
3
+ * @internal
4
+ * @deprecated Use Profile from "\@smithy/types" instead
4
5
  */
5
6
  export type Profile = __Profile;
6
7
  /**
7
- * @deprecated Use ParsedIniData from "@smithy/types" instead
8
+ * @internal
9
+ * @deprecated Use ParsedIniData from "\@smithy/types" instead
8
10
  */
9
11
  export type ParsedIniData = __ParsedIniData;
10
12
  /**
11
- * @deprecated Use SharedConfigFiles from "@smithy/types" instead
13
+ * @internal
14
+ * @deprecated Use SharedConfigFiles from "\@smithy/types" instead
12
15
  */
13
16
  export type SharedConfigFiles = __SharedConfigFiles;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "3.1.12",
3
+ "version": "4.0.0",
4
4
  "dependencies": {
5
- "@smithy/types": "^3.7.2",
5
+ "@smithy/types": "^4.0.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
9
- "@types/node": "^16.18.96",
9
+ "@types/node": "^18.11.9",
10
10
  "concurrently": "7.0.0",
11
11
  "downlevel-dts": "0.10.1",
12
12
  "rimraf": "3.0.2",
@@ -45,7 +45,7 @@
45
45
  "./dist-es/slurpFile": false
46
46
  },
47
47
  "engines": {
48
- "node": ">=16.0.0"
48
+ "node": ">=18.0.0"
49
49
  },
50
50
  "typesVersions": {
51
51
  "<4.0": {
@@ -121,7 +121,7 @@ var getCanonicalHeaders = /* @__PURE__ */ __name(({ headers }, unsignableHeaders
121
121
  continue;
122
122
  }
123
123
  const canonicalHeaderName = headerName.toLowerCase();
124
- if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || (unsignableHeaders == null ? void 0 : unsignableHeaders.has(canonicalHeaderName)) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
124
+ if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
125
125
  if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) {
126
126
  continue;
127
127
  }
@@ -175,7 +175,10 @@ var getPayloadHash = /* @__PURE__ */ __name(async ({ headers, body }, hashConstr
175
175
  // src/HeaderFormatter.ts
176
176
 
177
177
  var import_util_utf83 = require("@smithy/util-utf8");
178
- var _HeaderFormatter = class _HeaderFormatter {
178
+ var HeaderFormatter = class {
179
+ static {
180
+ __name(this, "HeaderFormatter");
181
+ }
179
182
  format(headers) {
180
183
  const chunks = [];
181
184
  for (const headerName of Object.keys(headers)) {
@@ -242,16 +245,17 @@ var _HeaderFormatter = class _HeaderFormatter {
242
245
  }
243
246
  }
244
247
  };
245
- __name(_HeaderFormatter, "HeaderFormatter");
246
- var HeaderFormatter = _HeaderFormatter;
247
248
  var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
248
- var _Int64 = class _Int64 {
249
+ var Int64 = class _Int64 {
249
250
  constructor(bytes) {
250
251
  this.bytes = bytes;
251
252
  if (bytes.byteLength !== 8) {
252
253
  throw new Error("Int64 buffers must be exactly 8 bytes");
253
254
  }
254
255
  }
256
+ static {
257
+ __name(this, "Int64");
258
+ }
255
259
  static fromNumber(number) {
256
260
  if (number > 9223372036854776e3 || number < -9223372036854776e3) {
257
261
  throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
@@ -280,8 +284,6 @@ var _Int64 = class _Int64 {
280
284
  return String(this.valueOf());
281
285
  }
282
286
  };
283
- __name(_Int64, "Int64");
284
- var Int64 = _Int64;
285
287
  function negate(bytes) {
286
288
  for (let i = 0; i < 8; i++) {
287
289
  bytes[i] ^= 255;
@@ -308,11 +310,10 @@ var hasHeader = /* @__PURE__ */ __name((soughtHeader, headers) => {
308
310
  // src/moveHeadersToQuery.ts
309
311
  var import_protocol_http = require("@smithy/protocol-http");
310
312
  var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => {
311
- var _a, _b;
312
313
  const { headers, query = {} } = import_protocol_http.HttpRequest.clone(request);
313
314
  for (const name of Object.keys(headers)) {
314
315
  const lname = name.toLowerCase();
315
- if (lname.slice(0, 6) === "x-amz-" && !((_a = options.unhoistableHeaders) == null ? void 0 : _a.has(lname)) || ((_b = options.hoistableHeaders) == null ? void 0 : _b.has(lname))) {
316
+ if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
316
317
  query[name] = headers[name];
317
318
  delete headers[name];
318
319
  }
@@ -352,7 +353,7 @@ var toDate = /* @__PURE__ */ __name((time) => {
352
353
  }, "toDate");
353
354
 
354
355
  // src/SignatureV4.ts
355
- var _SignatureV4 = class _SignatureV4 {
356
+ var SignatureV4 = class {
356
357
  constructor({
357
358
  applyChecksum,
358
359
  credentials,
@@ -369,6 +370,9 @@ var _SignatureV4 = class _SignatureV4 {
369
370
  this.regionProvider = (0, import_util_middleware.normalizeProvider)(region);
370
371
  this.credentialProvider = (0, import_util_middleware.normalizeProvider)(credentials);
371
372
  }
373
+ static {
374
+ __name(this, "SignatureV4");
375
+ }
372
376
  async presign(originalRequest, options = {}) {
373
377
  const {
374
378
  signingDate = /* @__PURE__ */ new Date(),
@@ -517,7 +521,7 @@ ${(0, import_util_hex_encoding.toHex)(hashedRequest)}`;
517
521
  if (this.uriEscapePath) {
518
522
  const normalizedPathSegments = [];
519
523
  for (const pathSegment of path.split("/")) {
520
- if ((pathSegment == null ? void 0 : pathSegment.length) === 0)
524
+ if (pathSegment?.length === 0)
521
525
  continue;
522
526
  if (pathSegment === ".")
523
527
  continue;
@@ -527,7 +531,7 @@ ${(0, import_util_hex_encoding.toHex)(hashedRequest)}`;
527
531
  normalizedPathSegments.push(pathSegment);
528
532
  }
529
533
  }
530
- const normalizedPath = `${(path == null ? void 0 : path.startsWith("/")) ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && (path == null ? void 0 : path.endsWith("/")) ? "/" : ""}`;
534
+ const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`;
531
535
  const doubleEncoded = (0, import_util_uri_escape.escapeUri)(normalizedPath);
532
536
  return doubleEncoded.replace(/%2F/g, "/");
533
537
  }
@@ -550,8 +554,6 @@ ${(0, import_util_hex_encoding.toHex)(hashedRequest)}`;
550
554
  }
551
555
  }
552
556
  };
553
- __name(_SignatureV4, "SignatureV4");
554
- var SignatureV4 = _SignatureV4;
555
557
  var formatDate = /* @__PURE__ */ __name((now) => {
556
558
  const longDate = iso8601(now).replace(/[\-:]/g, "");
557
559
  return {
@@ -1,4 +1,7 @@
1
1
  import { AwsCredentialIdentity, ChecksumConstructor, EventSigner, EventSigningArguments, FormattedEvent, HashConstructor, HttpRequest, MessageSigner, Provider, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface SignatureV4Init {
3
6
  /**
4
7
  * The service signing name.
@@ -37,9 +40,15 @@ export interface SignatureV4Init {
37
40
  */
38
41
  applyChecksum?: boolean;
39
42
  }
43
+ /**
44
+ * @public
45
+ */
40
46
  export interface SignatureV4CryptoInit {
41
47
  sha256: ChecksumConstructor | HashConstructor;
42
48
  }
49
+ /**
50
+ * @public
51
+ */
43
52
  export declare class SignatureV4 implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
44
53
  private readonly service;
45
54
  private readonly regionProvider;
@@ -2,21 +2,25 @@ import { AwsCredentialIdentity, ChecksumConstructor, HashConstructor } from "@sm
2
2
  /**
3
3
  * Create a string describing the scope of credentials used to sign a request.
4
4
  *
5
- * @param shortDate The current calendar date in the form YYYYMMDD.
6
- * @param region The AWS region in which the service resides.
7
- * @param service The service to which the signed request is being sent.
5
+ * @internal
6
+ *
7
+ * @param shortDate - the current calendar date in the form YYYYMMDD.
8
+ * @param region - the AWS region in which the service resides.
9
+ * @param service - the service to which the signed request is being sent.
8
10
  */
9
11
  export declare const createScope: (shortDate: string, region: string, service: string) => string;
10
12
  /**
11
- * Derive a signing key from its composite parts
13
+ * Derive a signing key from its composite parts.
14
+ *
15
+ * @internal
12
16
  *
13
- * @param sha256Constructor A constructor function that can instantiate SHA-256
17
+ * @param sha256Constructor - a constructor function that can instantiate SHA-256
14
18
  * hash objects.
15
- * @param credentials The credentials with which the request will be
19
+ * @param credentials - the credentials with which the request will be
16
20
  * signed.
17
- * @param shortDate The current calendar date in the form YYYYMMDD.
18
- * @param region The AWS region in which the service resides.
19
- * @param service The service to which the signed request is being
21
+ * @param shortDate - the current calendar date in the form YYYYMMDD.
22
+ * @param region - the AWS region in which the service resides.
23
+ * @param service - the service to which the signed request is being
20
24
  * sent.
21
25
  */
22
26
  export declare const getSigningKey: (sha256Constructor: ChecksumConstructor | HashConstructor, credentials: AwsCredentialIdentity, shortDate: string, region: string, service: string) => Promise<Uint8Array>;
@@ -1,5 +1,5 @@
1
1
  import { HeaderBag, HttpRequest } from "@smithy/types";
2
2
  /**
3
- * @private
3
+ * @internal
4
4
  */
5
5
  export declare const getCanonicalHeaders: ({ headers }: HttpRequest, unsignableHeaders?: Set<string>, signableHeaders?: Set<string>) => HeaderBag;
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest } from "@smithy/types";
2
2
  /**
3
- * @private
3
+ * @internal
4
4
  */
5
5
  export declare const getCanonicalQuery: ({ query }: HttpRequest) => string;