@cdk8s/awscdk-resolver 0.0.297 → 0.0.299

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 (198) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  4. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +2 -0
  6. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
  7. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
  8. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
  9. package/node_modules/@aws-sdk/core/package.json +1 -1
  10. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  11. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  12. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  13. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  14. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  15. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  16. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  17. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  18. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  19. package/node_modules/@aws-sdk/token-providers/README.md +9 -0
  20. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -1
  21. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +13 -0
  22. package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
  23. package/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
  24. package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
  25. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +11 -0
  26. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
  27. package/node_modules/@aws-sdk/token-providers/package.json +3 -2
  28. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  29. package/node_modules/@smithy/abort-controller/package.json +2 -2
  30. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
  31. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
  32. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +3 -2
  33. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts +4 -1
  34. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +3 -2
  35. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +3 -2
  36. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +2 -0
  37. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +2 -0
  38. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts +2 -0
  39. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +2 -0
  40. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts +2 -0
  41. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
  42. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
  43. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +3 -2
  44. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +4 -1
  45. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +3 -2
  46. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +3 -2
  47. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +2 -0
  48. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +2 -0
  49. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +2 -0
  50. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +2 -0
  51. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +2 -0
  52. package/node_modules/@smithy/config-resolver/package.json +4 -4
  53. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -2
  54. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +625 -2
  55. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
  56. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +6 -0
  57. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +6 -0
  58. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +6 -0
  59. package/node_modules/@smithy/core/package.json +7 -6
  60. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  61. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  62. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  63. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  64. package/node_modules/@smithy/hash-node/package.json +2 -2
  65. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  66. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
  67. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  68. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  69. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  70. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  71. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  72. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  73. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
  74. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
  75. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
  76. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
  77. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
  78. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
  79. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
  80. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
  81. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
  82. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
  83. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
  84. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
  85. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
  86. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
  87. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
  88. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
  89. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
  90. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
  91. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
  92. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
  93. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  94. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  95. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  96. package/node_modules/@smithy/property-provider/package.json +2 -2
  97. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +3 -7
  98. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +3 -7
  99. package/node_modules/@smithy/protocol-http/package.json +2 -2
  100. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  101. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  102. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  103. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  104. package/node_modules/@smithy/signature-v4/package.json +4 -4
  105. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +32 -617
  106. package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -6
  107. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -6
  108. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -6
  109. package/node_modules/@smithy/smithy-client/package.json +8 -8
  110. package/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
  111. package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
  112. package/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
  113. package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
  114. package/node_modules/@smithy/types/dist-es/index.js +3 -0
  115. package/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
  116. package/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
  117. package/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
  118. package/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
  119. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -3
  120. package/node_modules/@smithy/types/dist-types/command.d.ts +2 -0
  121. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -2
  122. package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
  123. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
  124. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
  125. package/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
  126. package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -0
  127. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -1
  128. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -3
  129. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -2
  130. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -2
  131. package/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
  132. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -1
  133. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +2 -0
  134. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -1
  135. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
  136. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
  137. package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
  138. package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
  139. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -0
  140. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -1
  141. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -1
  142. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -1
  143. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -1
  144. package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
  145. package/node_modules/@smithy/types/package.json +1 -1
  146. package/node_modules/@smithy/url-parser/package.json +3 -3
  147. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  148. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  149. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  150. package/node_modules/@smithy/util-middleware/package.json +2 -2
  151. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
  152. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +1 -1
  153. package/node_modules/@smithy/util-retry/package.json +3 -3
  154. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +1 -2
  155. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -2
  156. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +6 -6
  157. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
  158. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +1 -2
  159. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -2
  160. package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
  161. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -3
  162. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -1
  163. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -1
  164. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -1
  165. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -1
  166. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
  167. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -1
  168. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -1
  169. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -1
  170. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -1
  171. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -1
  172. package/node_modules/@smithy/util-stream/package.json +4 -4
  173. package/node_modules/@smithy/util-waiter/package.json +3 -3
  174. package/package.json +5 -5
  175. package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +0 -1
  176. package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +0 -1
  177. package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +0 -1
  178. package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +0 -1
  179. package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +0 -1
  180. package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +0 -1
  181. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/date-utils.js +0 -0
  182. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/lazy-json.js +0 -0
  183. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/parse-utils.js +0 -0
  184. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/quote-header.js +0 -0
  185. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-every.js +0 -0
  186. /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-header.js +0 -0
  187. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/date-utils.d.ts +0 -0
  188. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/lazy-json.d.ts +0 -0
  189. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/parse-utils.d.ts +0 -0
  190. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/quote-header.d.ts +0 -0
  191. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-every.d.ts +0 -0
  192. /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-header.d.ts +0 -0
  193. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/date-utils.d.ts +0 -0
  194. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/lazy-json.d.ts +0 -0
  195. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/parse-utils.d.ts +0 -0
  196. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/quote-header.d.ts +0 -0
  197. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-every.d.ts +0 -0
  198. /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-header.d.ts +0 -0
@@ -1,6 +1,7 @@
1
1
  import { EndpointVariant } from "./EndpointVariant";
2
2
  /**
3
3
  * @internal
4
+ * @deprecated unused as of endpointsRuleSets.
4
5
  */
5
6
  export interface GetHostnameFromVariantsOptions {
6
7
  useFipsEndpoint: boolean;
@@ -8,5 +9,6 @@ export interface GetHostnameFromVariantsOptions {
8
9
  }
9
10
  /**
10
11
  * @internal
12
+ * @deprecated unused as of endpointsRuleSets.
11
13
  */
12
14
  export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined;
@@ -3,6 +3,7 @@ import { PartitionHash } from "./PartitionHash";
3
3
  import { RegionHash } from "./RegionHash";
4
4
  /**
5
5
  * @internal
6
+ * @deprecated unused as of endpointsRuleSets.
6
7
  */
7
8
  export interface GetRegionInfoOptions {
8
9
  useFipsEndpoint?: boolean;
@@ -13,5 +14,6 @@ export interface GetRegionInfoOptions {
13
14
  }
14
15
  /**
15
16
  * @internal
17
+ * @deprecated unused as of endpointsRuleSets.
16
18
  */
17
19
  export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * @internal
3
+ * @deprecated unused for endpointRuleSets.
3
4
  */
4
5
  export interface GetResolvedHostnameOptions {
5
6
  regionHostname?: string;
@@ -7,5 +8,6 @@ export interface GetResolvedHostnameOptions {
7
8
  }
8
9
  /**
9
10
  * @internal
11
+ * @deprecated unused for endpointRuleSets.
10
12
  */
11
13
  export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined;
@@ -1,11 +1,13 @@
1
1
  import { PartitionHash } from "./PartitionHash";
2
2
  /**
3
3
  * @internal
4
+ * @deprecated unused for endpointRuleSets.
4
5
  */
5
6
  export interface GetResolvedPartitionOptions {
6
7
  partitionHash: PartitionHash;
7
8
  }
8
9
  /**
9
10
  * @internal
11
+ * @deprecated unused for endpointRuleSets.
10
12
  */
11
13
  export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * @internal
3
+ * @deprecated unused for endpointRuleSets.
3
4
  */
4
5
  export interface GetResolvedSigningRegionOptions {
5
6
  regionRegex: string;
@@ -8,5 +9,6 @@ export interface GetResolvedSigningRegionOptions {
8
9
  }
9
10
  /**
10
11
  * @internal
12
+ * @deprecated unused for endpointRuleSets.
11
13
  */
12
14
  export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined;
@@ -2,6 +2,7 @@ import { Endpoint, Provider, UrlParser } from "@smithy/types";
2
2
  import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig";
3
3
  /**
4
4
  * @public
5
+ * @deprecated superseded by default endpointRuleSet generation.
5
6
  */
6
7
  export interface CustomEndpointsInputConfig extends EndpointsInputConfig {
7
8
  /**
@@ -11,12 +12,14 @@ export interface CustomEndpointsInputConfig extends EndpointsInputConfig {
11
12
  }
12
13
  /**
13
14
  * @internal
15
+ * @deprecated superseded by default endpointRuleSet generation.
14
16
  */
15
17
  interface PreviouslyResolved {
16
18
  urlParser: UrlParser;
17
19
  }
18
20
  /**
19
21
  * @internal
22
+ * @deprecated superseded by default endpointRuleSet generation.
20
23
  */
21
24
  export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig {
22
25
  /**
@@ -27,6 +30,8 @@ export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig {
27
30
  }
28
31
  /**
29
32
  * @internal
33
+ *
34
+ * @deprecated superseded by default endpointRuleSet generation.
30
35
  */
31
36
  export declare const resolveCustomEndpointsConfig: <T>(input: T & CustomEndpointsInputConfig & PreviouslyResolved) => T & CustomEndpointsResolvedConfig;
32
37
  export {};
@@ -1,6 +1,7 @@
1
1
  import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
+ * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig.
4
5
  */
5
6
  export interface EndpointsInputConfig {
6
7
  /**
@@ -19,6 +20,7 @@ export interface EndpointsInputConfig {
19
20
  }
20
21
  /**
21
22
  * @internal
23
+ * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig.
22
24
  */
23
25
  interface PreviouslyResolved {
24
26
  regionInfoProvider: RegionInfoProvider;
@@ -28,6 +30,7 @@ interface PreviouslyResolved {
28
30
  }
29
31
  /**
30
32
  * @internal
33
+ * @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig.
31
34
  */
32
35
  export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig> {
33
36
  /**
@@ -1,8 +1,9 @@
1
1
  import { EndpointVariantTag } from "./EndpointVariantTag";
2
2
  /**
3
- * @internal
4
- *
5
3
  * Provides hostname information for specific host label.
4
+ *
5
+ * @internal
6
+ * @deprecated unused as of endpointsRuleSets.
6
7
  */
7
8
  export type EndpointVariant = {
8
9
  hostname: string;
@@ -1,7 +1,10 @@
1
1
  /**
2
- * @internal
2
+ *
3
3
  *
4
4
  * The tag which mentions which area variant is providing information for.
5
5
  * Can be either "fips" or "dualstack".
6
+ *
7
+ * @internal
8
+ * @deprecated unused for endpointRuleSets.
6
9
  */
7
10
  export type EndpointVariantTag = "fips" | "dualstack";
@@ -1,10 +1,11 @@
1
1
  import { EndpointVariant } from "./EndpointVariant";
2
2
  /**
3
- * @internal
4
- *
5
3
  * The hash of partition with the information specific to that partition.
6
4
  * The information includes the list of regions belonging to that partition,
7
5
  * and the hostname to be used for the partition.
6
+ *
7
+ * @internal
8
+ * @deprecated unused for endpointRuleSets.
8
9
  */
9
10
  export type PartitionHash = Record<string, {
10
11
  regions: string[];
@@ -1,9 +1,10 @@
1
1
  import { EndpointVariant } from "./EndpointVariant";
2
2
  /**
3
- * @internal
4
- *
5
3
  * The hash of region with the information specific to that region.
6
4
  * The information can include hostname, signingService and signingRegion.
5
+ *
6
+ * @internal
7
+ * @deprecated unused for endpointRuleSets.
7
8
  */
8
9
  export type RegionHash = Record<string, {
9
10
  variants: EndpointVariant[];
@@ -1,6 +1,7 @@
1
1
  import { EndpointVariant } from "./EndpointVariant";
2
2
  /**
3
3
  * @internal
4
+ * @deprecated unused as of endpointsRuleSets.
4
5
  */
5
6
  export interface GetHostnameFromVariantsOptions {
6
7
  useFipsEndpoint: boolean;
@@ -8,5 +9,6 @@ export interface GetHostnameFromVariantsOptions {
8
9
  }
9
10
  /**
10
11
  * @internal
12
+ * @deprecated unused as of endpointsRuleSets.
11
13
  */
12
14
  export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined;
@@ -3,6 +3,7 @@ import { PartitionHash } from "./PartitionHash";
3
3
  import { RegionHash } from "./RegionHash";
4
4
  /**
5
5
  * @internal
6
+ * @deprecated unused as of endpointsRuleSets.
6
7
  */
7
8
  export interface GetRegionInfoOptions {
8
9
  useFipsEndpoint?: boolean;
@@ -13,5 +14,6 @@ export interface GetRegionInfoOptions {
13
14
  }
14
15
  /**
15
16
  * @internal
17
+ * @deprecated unused as of endpointsRuleSets.
16
18
  */
17
19
  export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * @internal
3
+ * @deprecated unused for endpointRuleSets.
3
4
  */
4
5
  export interface GetResolvedHostnameOptions {
5
6
  regionHostname?: string;
@@ -7,5 +8,6 @@ export interface GetResolvedHostnameOptions {
7
8
  }
8
9
  /**
9
10
  * @internal
11
+ * @deprecated unused for endpointRuleSets.
10
12
  */
11
13
  export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined;
@@ -1,11 +1,13 @@
1
1
  import { PartitionHash } from "./PartitionHash";
2
2
  /**
3
3
  * @internal
4
+ * @deprecated unused for endpointRuleSets.
4
5
  */
5
6
  export interface GetResolvedPartitionOptions {
6
7
  partitionHash: PartitionHash;
7
8
  }
8
9
  /**
9
10
  * @internal
11
+ * @deprecated unused for endpointRuleSets.
10
12
  */
11
13
  export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string;
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * @internal
3
+ * @deprecated unused for endpointRuleSets.
3
4
  */
4
5
  export interface GetResolvedSigningRegionOptions {
5
6
  regionRegex: string;
@@ -8,5 +9,6 @@ export interface GetResolvedSigningRegionOptions {
8
9
  }
9
10
  /**
10
11
  * @internal
12
+ * @deprecated unused for endpointRuleSets.
11
13
  */
12
14
  export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
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 config-resolver",
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/node-config-provider": "^4.1.1",
28
- "@smithy/types": "^4.2.0",
27
+ "@smithy/node-config-provider": "^4.1.2",
28
+ "@smithy/types": "^4.3.0",
29
29
  "@smithy/util-config-provider": "^4.0.0",
30
- "@smithy/util-middleware": "^4.0.2",
30
+ "@smithy/util-middleware": "^4.0.3",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -685,8 +685,9 @@ var loadSmithyRpcV2CborErrorCode = (output, data2) => {
685
685
  if (data2["__type"] !== void 0) {
686
686
  return sanitizeErrorCode(data2["__type"]);
687
687
  }
688
- if (data2.code !== void 0) {
689
- return sanitizeErrorCode(data2.code);
688
+ const codeKey = Object.keys(data2).find((key) => key.toLowerCase() === "code");
689
+ if (codeKey && data2[codeKey] !== void 0) {
690
+ return sanitizeErrorCode(data2[codeKey]);
690
691
  }
691
692
  };
692
693
  var checkCborResponse = (response) => {