@cdk8s/awscdk-resolver 0.0.470 → 0.0.472
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 +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +16 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +7 -6
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +4 -2
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +2 -2
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +379 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +55 -22
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +4 -4
- package/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -369
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/orderedJs2Xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/prettifyJs2Xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EndpointARN } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* Evaluates a single string argument value, and returns an object containing
|
|
4
|
+
* details about the parsed ARN.
|
|
5
|
+
* If the input was not a valid ARN, the function returns null.
|
|
6
|
+
*/
|
|
7
|
+
export declare const parseArn: (value: string) => EndpointARN | null;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointPartition } from "@smithy/types";
|
|
2
|
+
export type PartitionsInfo = {
|
|
3
|
+
partitions: Array<{
|
|
4
|
+
id: string;
|
|
5
|
+
outputs: {
|
|
6
|
+
dnsSuffix: string;
|
|
7
|
+
dualStackDnsSuffix: string;
|
|
8
|
+
name: string;
|
|
9
|
+
supportsDualStack: boolean;
|
|
10
|
+
supportsFIPS: boolean;
|
|
11
|
+
};
|
|
12
|
+
regionRegex: string;
|
|
13
|
+
regions: Record<string, {
|
|
14
|
+
description?: string;
|
|
15
|
+
} | undefined>;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Evaluates a single string argument value as a region, and matches the
|
|
20
|
+
* string value to an AWS partition.
|
|
21
|
+
* The matcher MUST always return a successful object describing the partition
|
|
22
|
+
* that the region has been determined to be a part of.
|
|
23
|
+
*/
|
|
24
|
+
export declare const partition: (value: string) => EndpointPartition;
|
|
25
|
+
/**
|
|
26
|
+
* Set custom partitions.json data.
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const setPartitionInfo: (partitionsInfo: PartitionsInfo, userAgentPrefix?: string) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Reset to the default partitions.json data.
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export declare const useDefaultPartitionInfo: () => void;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
export declare const getUserAgentPrefix: () => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { isIpAddress } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters, EndpointV2, Logger, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* This is an additional config resolver layer for clients using the default
|
|
4
|
+
* AWS regional endpoints ruleset. It makes the *resolved* config guarantee the presence of an
|
|
5
|
+
* endpoint provider function. This differs from the base behavior of the Endpoint
|
|
6
|
+
* config resolver, which only normalizes config.endpoint IFF one is provided by the caller.
|
|
7
|
+
*
|
|
8
|
+
* This is not used by AWS SDK clients, but rather
|
|
9
|
+
* generated clients that have the aws.api#service trait. This includes protocol tests
|
|
10
|
+
* and other customers.
|
|
11
|
+
*
|
|
12
|
+
* This resolver is MUTUALLY EXCLUSIVE with the EndpointRequired config resolver from
|
|
13
|
+
* |@smithy/middleware-endpoint.
|
|
14
|
+
*
|
|
15
|
+
* It must be placed after the `resolveEndpointConfig`
|
|
16
|
+
* resolver. This replaces the endpoints.json-based default endpoint provider.
|
|
17
|
+
*
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type DefaultAwsRegionalEndpointsInputConfig = {
|
|
21
|
+
endpoint?: unknown;
|
|
22
|
+
};
|
|
23
|
+
type PreviouslyResolved = {
|
|
24
|
+
logger?: Logger;
|
|
25
|
+
region?: undefined | string | Provider<string | undefined>;
|
|
26
|
+
useFipsEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
27
|
+
useDualstackEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
28
|
+
endpointProvider: (endpointParams: EndpointParameters | DefaultRegionalEndpointParameters, context?: {
|
|
29
|
+
logger?: Logger;
|
|
30
|
+
}) => EndpointV2;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
type DefaultRegionalEndpointParameters = {
|
|
36
|
+
Region?: string | undefined;
|
|
37
|
+
UseDualStack?: boolean | undefined;
|
|
38
|
+
UseFIPS?: boolean | undefined;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export interface DefaultAwsRegionalEndpointsResolvedConfig {
|
|
44
|
+
endpoint: Provider<Endpoint>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* MUST resolve after `\@smithy/middleware-endpoint`::`resolveEndpointConfig`.
|
|
48
|
+
*
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
export declare const resolveDefaultAwsRegionalEndpointsConfig: <T>(input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved) => T & DefaultAwsRegionalEndpointsResolvedConfig;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { resolveEndpoint } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EndpointPartition } from "@smithy/types";
|
|
2
|
+
export type PartitionsInfo = {
|
|
3
|
+
partitions: Array<{
|
|
4
|
+
id: string;
|
|
5
|
+
outputs: {
|
|
6
|
+
dnsSuffix: string;
|
|
7
|
+
dualStackDnsSuffix: string;
|
|
8
|
+
name: string;
|
|
9
|
+
supportsDualStack: boolean;
|
|
10
|
+
supportsFIPS: boolean;
|
|
11
|
+
};
|
|
12
|
+
regionRegex: string;
|
|
13
|
+
regions: Record<
|
|
14
|
+
string,
|
|
15
|
+
| {
|
|
16
|
+
description?: string;
|
|
17
|
+
}
|
|
18
|
+
| undefined
|
|
19
|
+
>;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
export declare const partition: (value: string) => EndpointPartition;
|
|
23
|
+
export declare const setPartitionInfo: (
|
|
24
|
+
partitionsInfo: PartitionsInfo,
|
|
25
|
+
userAgentPrefix?: string
|
|
26
|
+
) => void;
|
|
27
|
+
export declare const useDefaultPartitionInfo: () => void;
|
|
28
|
+
export declare const getUserAgentPrefix: () => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { isIpAddress } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Logger,
|
|
6
|
+
Provider,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export type DefaultAwsRegionalEndpointsInputConfig = {
|
|
9
|
+
endpoint?: unknown;
|
|
10
|
+
};
|
|
11
|
+
type PreviouslyResolved = {
|
|
12
|
+
logger?: Logger;
|
|
13
|
+
region?: undefined | string | Provider<string | undefined>;
|
|
14
|
+
useFipsEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
15
|
+
useDualstackEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
16
|
+
endpointProvider: (
|
|
17
|
+
endpointParams: EndpointParameters | DefaultRegionalEndpointParameters,
|
|
18
|
+
context?: {
|
|
19
|
+
logger?: Logger;
|
|
20
|
+
}
|
|
21
|
+
) => EndpointV2;
|
|
22
|
+
};
|
|
23
|
+
type DefaultRegionalEndpointParameters = {
|
|
24
|
+
Region?: string | undefined;
|
|
25
|
+
UseDualStack?: boolean | undefined;
|
|
26
|
+
UseFIPS?: boolean | undefined;
|
|
27
|
+
};
|
|
28
|
+
export interface DefaultAwsRegionalEndpointsResolvedConfig {
|
|
29
|
+
endpoint: Provider<Endpoint>;
|
|
30
|
+
}
|
|
31
|
+
export declare const resolveDefaultAwsRegionalEndpointsConfig: <T>(
|
|
32
|
+
input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved
|
|
33
|
+
) => T & DefaultAwsRegionalEndpointsResolvedConfig;
|
|
34
|
+
export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { resolveEndpoint } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EndpointError } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ErrorRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EndpointError } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EndpointObjectProperties, EndpointObjectHeaders, EndpointObject, EndpointRuleObject, } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ErrorRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ReferenceObject, FunctionObject, FunctionArgv, FunctionReturn, ConditionObject, Expression, EndpointParams, EndpointResolverOptions, ReferenceRecord, EvaluateOptions, } from "@smithy/util-endpoints";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/util-endpoints",
|
|
3
|
+
"version": "3.981.0",
|
|
4
|
+
"description": "Utilities to help with endpoint resolution",
|
|
5
|
+
"main": "./dist-cjs/index.js",
|
|
6
|
+
"module": "./dist-es/index.js",
|
|
7
|
+
"types": "./dist-types/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
10
|
+
"build:cjs": "node ../../scripts/compilation/inline util-endpoints",
|
|
11
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
12
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
13
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
14
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
16
|
+
"test": "yarn g:vitest run",
|
|
17
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
18
|
+
"test:watch": "yarn g:vitest watch",
|
|
19
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
20
|
+
},
|
|
21
|
+
"sideEffects": true,
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "AWS SDK for JavaScript Team",
|
|
24
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
25
|
+
},
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@aws-sdk/types": "^3.973.1",
|
|
29
|
+
"@smithy/types": "^4.12.0",
|
|
30
|
+
"@smithy/url-parser": "^4.2.8",
|
|
31
|
+
"@smithy/util-endpoints": "^3.2.8",
|
|
32
|
+
"tslib": "^2.6.2"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20.0.0"
|
|
36
|
+
},
|
|
37
|
+
"typesVersions": {
|
|
38
|
+
"<4.0": {
|
|
39
|
+
"dist-types/*": [
|
|
40
|
+
"dist-types/ts3.4/*"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist-*/**"
|
|
46
|
+
],
|
|
47
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-endpoints",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
51
|
+
"directory": "packages/util-endpoints"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@tsconfig/recommended": "1.0.1",
|
|
55
|
+
"concurrently": "7.0.0",
|
|
56
|
+
"downlevel-dts": "0.10.1",
|
|
57
|
+
"premove": "4.0.0",
|
|
58
|
+
"typescript": "~5.8.3"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.981.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
33
33
|
"@aws-sdk/types": "^3.973.1",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.981.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.3",
|
|
4
4
|
"description": "XML builder for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@smithy/types": "^4.12.0",
|
|
7
|
-
"fast-xml-parser": "5.
|
|
7
|
+
"fast-xml-parser": "5.3.4",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.22.
|
|
3
|
+
"version": "3.22.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@smithy/util-base64": "^4.3.0",
|
|
86
86
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
87
87
|
"@smithy/util-middleware": "^4.2.8",
|
|
88
|
-
"@smithy/util-stream": "^4.5.
|
|
88
|
+
"@smithy/util-stream": "^4.5.11",
|
|
89
89
|
"@smithy/util-utf8": "^4.2.0",
|
|
90
90
|
"@smithy/uuid": "^1.1.0",
|
|
91
91
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.13",
|
|
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 middleware-endpoint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.22.
|
|
28
|
+
"@smithy/core": "^3.22.1",
|
|
29
29
|
"@smithy/middleware-serde": "^4.2.9",
|
|
30
30
|
"@smithy/node-config-provider": "^4.3.8",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.4.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.30",
|
|
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 middleware-retry",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.8",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.8",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.8",
|
|
40
|
-
"@smithy/smithy-client": "^4.11.
|
|
40
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
41
41
|
"@smithy/types": "^4.12.0",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.8",
|
|
43
43
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -231,7 +231,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
233
|
resolveDefaultConfig(options) {
|
|
234
|
-
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, } = options || {};
|
|
234
|
+
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
|
|
235
235
|
const keepAlive = true;
|
|
236
236
|
const maxSockets = 50;
|
|
237
237
|
return {
|
|
@@ -254,7 +254,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
254
254
|
}
|
|
255
255
|
return new https.Agent({ keepAlive, maxSockets, ...httpsAgent });
|
|
256
256
|
})(),
|
|
257
|
-
logger
|
|
257
|
+
logger,
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
destroy() {
|
|
@@ -61,7 +61,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
resolveDefaultConfig(options) {
|
|
64
|
-
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, } = options || {};
|
|
64
|
+
const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger, } = options || {};
|
|
65
65
|
const keepAlive = true;
|
|
66
66
|
const maxSockets = 50;
|
|
67
67
|
return {
|
|
@@ -84,7 +84,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
84
84
|
}
|
|
85
85
|
return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
|
|
86
86
|
})(),
|
|
87
|
-
logger
|
|
87
|
+
logger,
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
destroy() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.9",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline node-http-handler",
|
|
8
8
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
|
9
9
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
10
|
-
"build:types:downlevel": "
|
|
11
|
-
"stage-release": "
|
|
12
|
-
"clean": "
|
|
10
|
+
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
15
15
|
"extract:docs": "api-extractor run --local",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@types/node": "^18.11.9",
|
|
38
38
|
"concurrently": "7.0.0",
|
|
39
39
|
"downlevel-dts": "0.10.1",
|
|
40
|
-
"
|
|
40
|
+
"premove": "4.0.0",
|
|
41
41
|
"typedoc": "0.23.23"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.2",
|
|
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 smithy-client",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.22.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
28
|
+
"@smithy/core": "^3.22.1",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.4.13",
|
|
30
30
|
"@smithy/middleware-stack": "^4.2.8",
|
|
31
31
|
"@smithy/protocol-http": "^5.3.8",
|
|
32
32
|
"@smithy/types": "^4.12.0",
|
|
33
|
-
"@smithy/util-stream": "^4.5.
|
|
33
|
+
"@smithy/util-stream": "^4.5.11",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.29",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.8",
|
|
28
|
-
"@smithy/smithy-client": "^4.11.
|
|
28
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
29
29
|
"@smithy/types": "^4.12.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.32",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.8",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.8",
|
|
30
30
|
"@smithy/property-provider": "^4.2.8",
|
|
31
|
-
"@smithy/smithy-client": "^4.11.
|
|
31
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
32
32
|
"@smithy/types": "^4.12.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|