@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.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/README.md +9 -0
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +13 -0
- package/node_modules/@aws-sdk/token-providers/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +11 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/token-providers/package.json +3 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +3 -2
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +2 -0
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +3 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +625 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +7 -6
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -7
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -1
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +3 -7
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +3 -7
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +32 -617
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -6
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -6
- package/node_modules/@smithy/smithy-client/package.json +8 -8
- package/node_modules/@smithy/types/dist-cjs/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/command.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +263 -0
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -3
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -2
- package/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +278 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +1 -1
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -2
- package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +0 -3
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -1
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +5 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +0 -1
- package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +0 -1
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/date-utils.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/lazy-json.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/parse-utils.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/quote-header.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-every.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-es → core/dist-es/submodules/serde}/split-header.js +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/date-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/lazy-json.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/parse-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/quote-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-every.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types → core/dist-types/submodules/serde}/split-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/date-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/lazy-json.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/parse-utils.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/quote-header.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-every.d.ts +0 -0
- /package/node_modules/@smithy/{smithy-client/dist-types/ts3.4 → core/dist-types/ts3.4/submodules/serde}/split-header.d.ts +0 -0
package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts
CHANGED
@@ -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;
|
package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts
CHANGED
@@ -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;
|
package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts
CHANGED
@@ -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
|
/**
|
package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts
CHANGED
@@ -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;
|
package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
/**
|
2
|
-
*
|
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;
|
package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts
CHANGED
@@ -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;
|
package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts
CHANGED
@@ -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.
|
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.
|
28
|
-
"@smithy/types": "^4.
|
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.
|
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
|
-
|
689
|
-
|
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) => {
|