@jjrawlins/cdk-diff-pr-github-action 1.3.2 → 1.3.4
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/CdkDiffIamTemplate.js +2 -2
- package/lib/CdkDiffIamTemplateStackSet.js +2 -2
- package/lib/CdkDiffStackWorkflow.js +1 -1
- package/lib/CdkDriftDetectionWorkflow.js +1 -1
- package/lib/CdkDriftIamTemplate.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
- package/node_modules/@aws-sdk/client-sso/package.json +12 -12
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +11 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- 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 +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/bowser/README.md +72 -3
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +44 -6
- package/node_modules/bowser/package.json +10 -5
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +8 -0
- package/node_modules/bowser/src/parser-browsers.js +89 -0
- package/node_modules/bowser/src/parser-platforms.js +42 -0
- package/node_modules/bowser/src/parser.js +86 -5
- package/package.json +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/bowser/CHANGELOG.md +0 -218
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/orderedJs2Xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/prettifyJs2Xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
|
@@ -1,415 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var utilEndpoints = require('@smithy/util-endpoints');
|
|
4
|
-
var urlParser = require('@smithy/url-parser');
|
|
5
|
-
|
|
6
|
-
const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
7
|
-
if (allowSubDomains) {
|
|
8
|
-
for (const label of value.split(".")) {
|
|
9
|
-
if (!isVirtualHostableS3Bucket(label)) {
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
if (!utilEndpoints.isValidHostLabel(value)) {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
if (value.length < 3 || value.length > 63) {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
if (value !== value.toLowerCase()) {
|
|
22
|
-
return false;
|
|
23
|
-
}
|
|
24
|
-
if (utilEndpoints.isIpAddress(value)) {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
return true;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
const ARN_DELIMITER = ":";
|
|
31
|
-
const RESOURCE_DELIMITER = "/";
|
|
32
|
-
const parseArn = (value) => {
|
|
33
|
-
const segments = value.split(ARN_DELIMITER);
|
|
34
|
-
if (segments.length < 6)
|
|
35
|
-
return null;
|
|
36
|
-
const [arn, partition, service, region, accountId, ...resourcePath] = segments;
|
|
37
|
-
if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
|
38
|
-
return null;
|
|
39
|
-
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
|
40
|
-
return {
|
|
41
|
-
partition,
|
|
42
|
-
service,
|
|
43
|
-
region,
|
|
44
|
-
accountId,
|
|
45
|
-
resourceId,
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
var partitions = [
|
|
50
|
-
{
|
|
51
|
-
id: "aws",
|
|
52
|
-
outputs: {
|
|
53
|
-
dnsSuffix: "amazonaws.com",
|
|
54
|
-
dualStackDnsSuffix: "api.aws",
|
|
55
|
-
implicitGlobalRegion: "us-east-1",
|
|
56
|
-
name: "aws",
|
|
57
|
-
supportsDualStack: true,
|
|
58
|
-
supportsFIPS: true
|
|
59
|
-
},
|
|
60
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
|
|
61
|
-
regions: {
|
|
62
|
-
"af-south-1": {
|
|
63
|
-
description: "Africa (Cape Town)"
|
|
64
|
-
},
|
|
65
|
-
"ap-east-1": {
|
|
66
|
-
description: "Asia Pacific (Hong Kong)"
|
|
67
|
-
},
|
|
68
|
-
"ap-east-2": {
|
|
69
|
-
description: "Asia Pacific (Taipei)"
|
|
70
|
-
},
|
|
71
|
-
"ap-northeast-1": {
|
|
72
|
-
description: "Asia Pacific (Tokyo)"
|
|
73
|
-
},
|
|
74
|
-
"ap-northeast-2": {
|
|
75
|
-
description: "Asia Pacific (Seoul)"
|
|
76
|
-
},
|
|
77
|
-
"ap-northeast-3": {
|
|
78
|
-
description: "Asia Pacific (Osaka)"
|
|
79
|
-
},
|
|
80
|
-
"ap-south-1": {
|
|
81
|
-
description: "Asia Pacific (Mumbai)"
|
|
82
|
-
},
|
|
83
|
-
"ap-south-2": {
|
|
84
|
-
description: "Asia Pacific (Hyderabad)"
|
|
85
|
-
},
|
|
86
|
-
"ap-southeast-1": {
|
|
87
|
-
description: "Asia Pacific (Singapore)"
|
|
88
|
-
},
|
|
89
|
-
"ap-southeast-2": {
|
|
90
|
-
description: "Asia Pacific (Sydney)"
|
|
91
|
-
},
|
|
92
|
-
"ap-southeast-3": {
|
|
93
|
-
description: "Asia Pacific (Jakarta)"
|
|
94
|
-
},
|
|
95
|
-
"ap-southeast-4": {
|
|
96
|
-
description: "Asia Pacific (Melbourne)"
|
|
97
|
-
},
|
|
98
|
-
"ap-southeast-5": {
|
|
99
|
-
description: "Asia Pacific (Malaysia)"
|
|
100
|
-
},
|
|
101
|
-
"ap-southeast-6": {
|
|
102
|
-
description: "Asia Pacific (New Zealand)"
|
|
103
|
-
},
|
|
104
|
-
"ap-southeast-7": {
|
|
105
|
-
description: "Asia Pacific (Thailand)"
|
|
106
|
-
},
|
|
107
|
-
"aws-global": {
|
|
108
|
-
description: "aws global region"
|
|
109
|
-
},
|
|
110
|
-
"ca-central-1": {
|
|
111
|
-
description: "Canada (Central)"
|
|
112
|
-
},
|
|
113
|
-
"ca-west-1": {
|
|
114
|
-
description: "Canada West (Calgary)"
|
|
115
|
-
},
|
|
116
|
-
"eu-central-1": {
|
|
117
|
-
description: "Europe (Frankfurt)"
|
|
118
|
-
},
|
|
119
|
-
"eu-central-2": {
|
|
120
|
-
description: "Europe (Zurich)"
|
|
121
|
-
},
|
|
122
|
-
"eu-north-1": {
|
|
123
|
-
description: "Europe (Stockholm)"
|
|
124
|
-
},
|
|
125
|
-
"eu-south-1": {
|
|
126
|
-
description: "Europe (Milan)"
|
|
127
|
-
},
|
|
128
|
-
"eu-south-2": {
|
|
129
|
-
description: "Europe (Spain)"
|
|
130
|
-
},
|
|
131
|
-
"eu-west-1": {
|
|
132
|
-
description: "Europe (Ireland)"
|
|
133
|
-
},
|
|
134
|
-
"eu-west-2": {
|
|
135
|
-
description: "Europe (London)"
|
|
136
|
-
},
|
|
137
|
-
"eu-west-3": {
|
|
138
|
-
description: "Europe (Paris)"
|
|
139
|
-
},
|
|
140
|
-
"il-central-1": {
|
|
141
|
-
description: "Israel (Tel Aviv)"
|
|
142
|
-
},
|
|
143
|
-
"me-central-1": {
|
|
144
|
-
description: "Middle East (UAE)"
|
|
145
|
-
},
|
|
146
|
-
"me-south-1": {
|
|
147
|
-
description: "Middle East (Bahrain)"
|
|
148
|
-
},
|
|
149
|
-
"mx-central-1": {
|
|
150
|
-
description: "Mexico (Central)"
|
|
151
|
-
},
|
|
152
|
-
"sa-east-1": {
|
|
153
|
-
description: "South America (Sao Paulo)"
|
|
154
|
-
},
|
|
155
|
-
"us-east-1": {
|
|
156
|
-
description: "US East (N. Virginia)"
|
|
157
|
-
},
|
|
158
|
-
"us-east-2": {
|
|
159
|
-
description: "US East (Ohio)"
|
|
160
|
-
},
|
|
161
|
-
"us-west-1": {
|
|
162
|
-
description: "US West (N. California)"
|
|
163
|
-
},
|
|
164
|
-
"us-west-2": {
|
|
165
|
-
description: "US West (Oregon)"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
id: "aws-cn",
|
|
171
|
-
outputs: {
|
|
172
|
-
dnsSuffix: "amazonaws.com.cn",
|
|
173
|
-
dualStackDnsSuffix: "api.amazonwebservices.com.cn",
|
|
174
|
-
implicitGlobalRegion: "cn-northwest-1",
|
|
175
|
-
name: "aws-cn",
|
|
176
|
-
supportsDualStack: true,
|
|
177
|
-
supportsFIPS: true
|
|
178
|
-
},
|
|
179
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
180
|
-
regions: {
|
|
181
|
-
"aws-cn-global": {
|
|
182
|
-
description: "aws-cn global region"
|
|
183
|
-
},
|
|
184
|
-
"cn-north-1": {
|
|
185
|
-
description: "China (Beijing)"
|
|
186
|
-
},
|
|
187
|
-
"cn-northwest-1": {
|
|
188
|
-
description: "China (Ningxia)"
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
id: "aws-eusc",
|
|
194
|
-
outputs: {
|
|
195
|
-
dnsSuffix: "amazonaws.eu",
|
|
196
|
-
dualStackDnsSuffix: "api.amazonwebservices.eu",
|
|
197
|
-
implicitGlobalRegion: "eusc-de-east-1",
|
|
198
|
-
name: "aws-eusc",
|
|
199
|
-
supportsDualStack: true,
|
|
200
|
-
supportsFIPS: true
|
|
201
|
-
},
|
|
202
|
-
regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
|
203
|
-
regions: {
|
|
204
|
-
"eusc-de-east-1": {
|
|
205
|
-
description: "AWS European Sovereign Cloud (Germany)"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
id: "aws-iso",
|
|
211
|
-
outputs: {
|
|
212
|
-
dnsSuffix: "c2s.ic.gov",
|
|
213
|
-
dualStackDnsSuffix: "api.aws.ic.gov",
|
|
214
|
-
implicitGlobalRegion: "us-iso-east-1",
|
|
215
|
-
name: "aws-iso",
|
|
216
|
-
supportsDualStack: true,
|
|
217
|
-
supportsFIPS: true
|
|
218
|
-
},
|
|
219
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
220
|
-
regions: {
|
|
221
|
-
"aws-iso-global": {
|
|
222
|
-
description: "aws-iso global region"
|
|
223
|
-
},
|
|
224
|
-
"us-iso-east-1": {
|
|
225
|
-
description: "US ISO East"
|
|
226
|
-
},
|
|
227
|
-
"us-iso-west-1": {
|
|
228
|
-
description: "US ISO WEST"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
id: "aws-iso-b",
|
|
234
|
-
outputs: {
|
|
235
|
-
dnsSuffix: "sc2s.sgov.gov",
|
|
236
|
-
dualStackDnsSuffix: "api.aws.scloud",
|
|
237
|
-
implicitGlobalRegion: "us-isob-east-1",
|
|
238
|
-
name: "aws-iso-b",
|
|
239
|
-
supportsDualStack: true,
|
|
240
|
-
supportsFIPS: true
|
|
241
|
-
},
|
|
242
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
243
|
-
regions: {
|
|
244
|
-
"aws-iso-b-global": {
|
|
245
|
-
description: "aws-iso-b global region"
|
|
246
|
-
},
|
|
247
|
-
"us-isob-east-1": {
|
|
248
|
-
description: "US ISOB East (Ohio)"
|
|
249
|
-
},
|
|
250
|
-
"us-isob-west-1": {
|
|
251
|
-
description: "US ISOB West"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
id: "aws-iso-e",
|
|
257
|
-
outputs: {
|
|
258
|
-
dnsSuffix: "cloud.adc-e.uk",
|
|
259
|
-
dualStackDnsSuffix: "api.cloud-aws.adc-e.uk",
|
|
260
|
-
implicitGlobalRegion: "eu-isoe-west-1",
|
|
261
|
-
name: "aws-iso-e",
|
|
262
|
-
supportsDualStack: true,
|
|
263
|
-
supportsFIPS: true
|
|
264
|
-
},
|
|
265
|
-
regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$",
|
|
266
|
-
regions: {
|
|
267
|
-
"aws-iso-e-global": {
|
|
268
|
-
description: "aws-iso-e global region"
|
|
269
|
-
},
|
|
270
|
-
"eu-isoe-west-1": {
|
|
271
|
-
description: "EU ISOE West"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
id: "aws-iso-f",
|
|
277
|
-
outputs: {
|
|
278
|
-
dnsSuffix: "csp.hci.ic.gov",
|
|
279
|
-
dualStackDnsSuffix: "api.aws.hci.ic.gov",
|
|
280
|
-
implicitGlobalRegion: "us-isof-south-1",
|
|
281
|
-
name: "aws-iso-f",
|
|
282
|
-
supportsDualStack: true,
|
|
283
|
-
supportsFIPS: true
|
|
284
|
-
},
|
|
285
|
-
regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
|
|
286
|
-
regions: {
|
|
287
|
-
"aws-iso-f-global": {
|
|
288
|
-
description: "aws-iso-f global region"
|
|
289
|
-
},
|
|
290
|
-
"us-isof-east-1": {
|
|
291
|
-
description: "US ISOF EAST"
|
|
292
|
-
},
|
|
293
|
-
"us-isof-south-1": {
|
|
294
|
-
description: "US ISOF SOUTH"
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
id: "aws-us-gov",
|
|
300
|
-
outputs: {
|
|
301
|
-
dnsSuffix: "amazonaws.com",
|
|
302
|
-
dualStackDnsSuffix: "api.aws",
|
|
303
|
-
implicitGlobalRegion: "us-gov-west-1",
|
|
304
|
-
name: "aws-us-gov",
|
|
305
|
-
supportsDualStack: true,
|
|
306
|
-
supportsFIPS: true
|
|
307
|
-
},
|
|
308
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
309
|
-
regions: {
|
|
310
|
-
"aws-us-gov-global": {
|
|
311
|
-
description: "aws-us-gov global region"
|
|
312
|
-
},
|
|
313
|
-
"us-gov-east-1": {
|
|
314
|
-
description: "AWS GovCloud (US-East)"
|
|
315
|
-
},
|
|
316
|
-
"us-gov-west-1": {
|
|
317
|
-
description: "AWS GovCloud (US-West)"
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
];
|
|
322
|
-
var version = "1.1";
|
|
323
|
-
var partitionsInfo = {
|
|
324
|
-
partitions: partitions,
|
|
325
|
-
version: version
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
let selectedPartitionsInfo = partitionsInfo;
|
|
329
|
-
let selectedUserAgentPrefix = "";
|
|
330
|
-
const partition = (value) => {
|
|
331
|
-
const { partitions } = selectedPartitionsInfo;
|
|
332
|
-
for (const partition of partitions) {
|
|
333
|
-
const { regions, outputs } = partition;
|
|
334
|
-
for (const [region, regionData] of Object.entries(regions)) {
|
|
335
|
-
if (region === value) {
|
|
336
|
-
return {
|
|
337
|
-
...outputs,
|
|
338
|
-
...regionData,
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
for (const partition of partitions) {
|
|
344
|
-
const { regionRegex, outputs } = partition;
|
|
345
|
-
if (new RegExp(regionRegex).test(value)) {
|
|
346
|
-
return {
|
|
347
|
-
...outputs,
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
|
|
352
|
-
if (!DEFAULT_PARTITION) {
|
|
353
|
-
throw new Error("Provided region was not found in the partition array or regex," +
|
|
354
|
-
" and default partition with id 'aws' doesn't exist.");
|
|
355
|
-
}
|
|
356
|
-
return {
|
|
357
|
-
...DEFAULT_PARTITION.outputs,
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
|
|
361
|
-
selectedPartitionsInfo = partitionsInfo;
|
|
362
|
-
selectedUserAgentPrefix = userAgentPrefix;
|
|
363
|
-
};
|
|
364
|
-
const useDefaultPartitionInfo = () => {
|
|
365
|
-
setPartitionInfo(partitionsInfo, "");
|
|
366
|
-
};
|
|
367
|
-
const getUserAgentPrefix = () => selectedUserAgentPrefix;
|
|
368
|
-
|
|
369
|
-
const awsEndpointFunctions = {
|
|
370
|
-
isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
|
|
371
|
-
parseArn: parseArn,
|
|
372
|
-
partition: partition,
|
|
373
|
-
};
|
|
374
|
-
utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
375
|
-
|
|
376
|
-
const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
|
|
377
|
-
if (typeof input.endpointProvider !== "function") {
|
|
378
|
-
throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
|
|
379
|
-
}
|
|
380
|
-
const { endpoint } = input;
|
|
381
|
-
if (endpoint === undefined) {
|
|
382
|
-
input.endpoint = async () => {
|
|
383
|
-
return toEndpointV1(input.endpointProvider({
|
|
384
|
-
Region: typeof input.region === "function" ? await input.region() : input.region,
|
|
385
|
-
UseDualStack: typeof input.useDualstackEndpoint === "function"
|
|
386
|
-
? await input.useDualstackEndpoint()
|
|
387
|
-
: input.useDualstackEndpoint,
|
|
388
|
-
UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
|
|
389
|
-
Endpoint: undefined,
|
|
390
|
-
}, { logger: input.logger }));
|
|
391
|
-
};
|
|
392
|
-
}
|
|
393
|
-
return input;
|
|
394
|
-
};
|
|
395
|
-
const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url);
|
|
396
|
-
|
|
397
|
-
Object.defineProperty(exports, "EndpointError", {
|
|
398
|
-
enumerable: true,
|
|
399
|
-
get: function () { return utilEndpoints.EndpointError; }
|
|
400
|
-
});
|
|
401
|
-
Object.defineProperty(exports, "isIpAddress", {
|
|
402
|
-
enumerable: true,
|
|
403
|
-
get: function () { return utilEndpoints.isIpAddress; }
|
|
404
|
-
});
|
|
405
|
-
Object.defineProperty(exports, "resolveEndpoint", {
|
|
406
|
-
enumerable: true,
|
|
407
|
-
get: function () { return utilEndpoints.resolveEndpoint; }
|
|
408
|
-
});
|
|
409
|
-
exports.awsEndpointFunctions = awsEndpointFunctions;
|
|
410
|
-
exports.getUserAgentPrefix = getUserAgentPrefix;
|
|
411
|
-
exports.partition = partition;
|
|
412
|
-
exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig;
|
|
413
|
-
exports.setPartitionInfo = setPartitionInfo;
|
|
414
|
-
exports.toEndpointV1 = toEndpointV1;
|
|
415
|
-
exports.useDefaultPartitionInfo = useDefaultPartitionInfo;
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"partitions": [{
|
|
3
|
-
"id": "aws",
|
|
4
|
-
"outputs": {
|
|
5
|
-
"dnsSuffix": "amazonaws.com",
|
|
6
|
-
"dualStackDnsSuffix": "api.aws",
|
|
7
|
-
"implicitGlobalRegion": "us-east-1",
|
|
8
|
-
"name": "aws",
|
|
9
|
-
"supportsDualStack": true,
|
|
10
|
-
"supportsFIPS": true
|
|
11
|
-
},
|
|
12
|
-
"regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
|
|
13
|
-
"regions": {
|
|
14
|
-
"af-south-1": {
|
|
15
|
-
"description": "Africa (Cape Town)"
|
|
16
|
-
},
|
|
17
|
-
"ap-east-1": {
|
|
18
|
-
"description": "Asia Pacific (Hong Kong)"
|
|
19
|
-
},
|
|
20
|
-
"ap-east-2": {
|
|
21
|
-
"description": "Asia Pacific (Taipei)"
|
|
22
|
-
},
|
|
23
|
-
"ap-northeast-1": {
|
|
24
|
-
"description": "Asia Pacific (Tokyo)"
|
|
25
|
-
},
|
|
26
|
-
"ap-northeast-2": {
|
|
27
|
-
"description": "Asia Pacific (Seoul)"
|
|
28
|
-
},
|
|
29
|
-
"ap-northeast-3": {
|
|
30
|
-
"description": "Asia Pacific (Osaka)"
|
|
31
|
-
},
|
|
32
|
-
"ap-south-1": {
|
|
33
|
-
"description": "Asia Pacific (Mumbai)"
|
|
34
|
-
},
|
|
35
|
-
"ap-south-2": {
|
|
36
|
-
"description": "Asia Pacific (Hyderabad)"
|
|
37
|
-
},
|
|
38
|
-
"ap-southeast-1": {
|
|
39
|
-
"description": "Asia Pacific (Singapore)"
|
|
40
|
-
},
|
|
41
|
-
"ap-southeast-2": {
|
|
42
|
-
"description": "Asia Pacific (Sydney)"
|
|
43
|
-
},
|
|
44
|
-
"ap-southeast-3": {
|
|
45
|
-
"description": "Asia Pacific (Jakarta)"
|
|
46
|
-
},
|
|
47
|
-
"ap-southeast-4": {
|
|
48
|
-
"description": "Asia Pacific (Melbourne)"
|
|
49
|
-
},
|
|
50
|
-
"ap-southeast-5": {
|
|
51
|
-
"description": "Asia Pacific (Malaysia)"
|
|
52
|
-
},
|
|
53
|
-
"ap-southeast-6": {
|
|
54
|
-
"description": "Asia Pacific (New Zealand)"
|
|
55
|
-
},
|
|
56
|
-
"ap-southeast-7": {
|
|
57
|
-
"description": "Asia Pacific (Thailand)"
|
|
58
|
-
},
|
|
59
|
-
"aws-global": {
|
|
60
|
-
"description": "aws global region"
|
|
61
|
-
},
|
|
62
|
-
"ca-central-1": {
|
|
63
|
-
"description": "Canada (Central)"
|
|
64
|
-
},
|
|
65
|
-
"ca-west-1": {
|
|
66
|
-
"description": "Canada West (Calgary)"
|
|
67
|
-
},
|
|
68
|
-
"eu-central-1": {
|
|
69
|
-
"description": "Europe (Frankfurt)"
|
|
70
|
-
},
|
|
71
|
-
"eu-central-2": {
|
|
72
|
-
"description": "Europe (Zurich)"
|
|
73
|
-
},
|
|
74
|
-
"eu-north-1": {
|
|
75
|
-
"description": "Europe (Stockholm)"
|
|
76
|
-
},
|
|
77
|
-
"eu-south-1": {
|
|
78
|
-
"description": "Europe (Milan)"
|
|
79
|
-
},
|
|
80
|
-
"eu-south-2": {
|
|
81
|
-
"description": "Europe (Spain)"
|
|
82
|
-
},
|
|
83
|
-
"eu-west-1": {
|
|
84
|
-
"description": "Europe (Ireland)"
|
|
85
|
-
},
|
|
86
|
-
"eu-west-2": {
|
|
87
|
-
"description": "Europe (London)"
|
|
88
|
-
},
|
|
89
|
-
"eu-west-3": {
|
|
90
|
-
"description": "Europe (Paris)"
|
|
91
|
-
},
|
|
92
|
-
"il-central-1": {
|
|
93
|
-
"description": "Israel (Tel Aviv)"
|
|
94
|
-
},
|
|
95
|
-
"me-central-1": {
|
|
96
|
-
"description": "Middle East (UAE)"
|
|
97
|
-
},
|
|
98
|
-
"me-south-1": {
|
|
99
|
-
"description": "Middle East (Bahrain)"
|
|
100
|
-
},
|
|
101
|
-
"mx-central-1": {
|
|
102
|
-
"description": "Mexico (Central)"
|
|
103
|
-
},
|
|
104
|
-
"sa-east-1": {
|
|
105
|
-
"description": "South America (Sao Paulo)"
|
|
106
|
-
},
|
|
107
|
-
"us-east-1": {
|
|
108
|
-
"description": "US East (N. Virginia)"
|
|
109
|
-
},
|
|
110
|
-
"us-east-2": {
|
|
111
|
-
"description": "US East (Ohio)"
|
|
112
|
-
},
|
|
113
|
-
"us-west-1": {
|
|
114
|
-
"description": "US West (N. California)"
|
|
115
|
-
},
|
|
116
|
-
"us-west-2": {
|
|
117
|
-
"description": "US West (Oregon)"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}, {
|
|
121
|
-
"id": "aws-cn",
|
|
122
|
-
"outputs": {
|
|
123
|
-
"dnsSuffix": "amazonaws.com.cn",
|
|
124
|
-
"dualStackDnsSuffix": "api.amazonwebservices.com.cn",
|
|
125
|
-
"implicitGlobalRegion": "cn-northwest-1",
|
|
126
|
-
"name": "aws-cn",
|
|
127
|
-
"supportsDualStack": true,
|
|
128
|
-
"supportsFIPS": true
|
|
129
|
-
},
|
|
130
|
-
"regionRegex": "^cn\\-\\w+\\-\\d+$",
|
|
131
|
-
"regions": {
|
|
132
|
-
"aws-cn-global": {
|
|
133
|
-
"description": "aws-cn global region"
|
|
134
|
-
},
|
|
135
|
-
"cn-north-1": {
|
|
136
|
-
"description": "China (Beijing)"
|
|
137
|
-
},
|
|
138
|
-
"cn-northwest-1": {
|
|
139
|
-
"description": "China (Ningxia)"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}, {
|
|
143
|
-
"id": "aws-eusc",
|
|
144
|
-
"outputs": {
|
|
145
|
-
"dnsSuffix": "amazonaws.eu",
|
|
146
|
-
"dualStackDnsSuffix": "api.amazonwebservices.eu",
|
|
147
|
-
"implicitGlobalRegion": "eusc-de-east-1",
|
|
148
|
-
"name": "aws-eusc",
|
|
149
|
-
"supportsDualStack": true,
|
|
150
|
-
"supportsFIPS": true
|
|
151
|
-
},
|
|
152
|
-
"regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$",
|
|
153
|
-
"regions": {
|
|
154
|
-
"eusc-de-east-1": {
|
|
155
|
-
"description": "AWS European Sovereign Cloud (Germany)"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}, {
|
|
159
|
-
"id": "aws-iso",
|
|
160
|
-
"outputs": {
|
|
161
|
-
"dnsSuffix": "c2s.ic.gov",
|
|
162
|
-
"dualStackDnsSuffix": "api.aws.ic.gov",
|
|
163
|
-
"implicitGlobalRegion": "us-iso-east-1",
|
|
164
|
-
"name": "aws-iso",
|
|
165
|
-
"supportsDualStack": true,
|
|
166
|
-
"supportsFIPS": true
|
|
167
|
-
},
|
|
168
|
-
"regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
|
|
169
|
-
"regions": {
|
|
170
|
-
"aws-iso-global": {
|
|
171
|
-
"description": "aws-iso global region"
|
|
172
|
-
},
|
|
173
|
-
"us-iso-east-1": {
|
|
174
|
-
"description": "US ISO East"
|
|
175
|
-
},
|
|
176
|
-
"us-iso-west-1": {
|
|
177
|
-
"description": "US ISO WEST"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}, {
|
|
181
|
-
"id": "aws-iso-b",
|
|
182
|
-
"outputs": {
|
|
183
|
-
"dnsSuffix": "sc2s.sgov.gov",
|
|
184
|
-
"dualStackDnsSuffix": "api.aws.scloud",
|
|
185
|
-
"implicitGlobalRegion": "us-isob-east-1",
|
|
186
|
-
"name": "aws-iso-b",
|
|
187
|
-
"supportsDualStack": true,
|
|
188
|
-
"supportsFIPS": true
|
|
189
|
-
},
|
|
190
|
-
"regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
|
|
191
|
-
"regions": {
|
|
192
|
-
"aws-iso-b-global": {
|
|
193
|
-
"description": "aws-iso-b global region"
|
|
194
|
-
},
|
|
195
|
-
"us-isob-east-1": {
|
|
196
|
-
"description": "US ISOB East (Ohio)"
|
|
197
|
-
},
|
|
198
|
-
"us-isob-west-1": {
|
|
199
|
-
"description": "US ISOB West"
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}, {
|
|
203
|
-
"id": "aws-iso-e",
|
|
204
|
-
"outputs": {
|
|
205
|
-
"dnsSuffix": "cloud.adc-e.uk",
|
|
206
|
-
"dualStackDnsSuffix": "api.cloud-aws.adc-e.uk",
|
|
207
|
-
"implicitGlobalRegion": "eu-isoe-west-1",
|
|
208
|
-
"name": "aws-iso-e",
|
|
209
|
-
"supportsDualStack": true,
|
|
210
|
-
"supportsFIPS": true
|
|
211
|
-
},
|
|
212
|
-
"regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
|
|
213
|
-
"regions": {
|
|
214
|
-
"aws-iso-e-global": {
|
|
215
|
-
"description": "aws-iso-e global region"
|
|
216
|
-
},
|
|
217
|
-
"eu-isoe-west-1": {
|
|
218
|
-
"description": "EU ISOE West"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}, {
|
|
222
|
-
"id": "aws-iso-f",
|
|
223
|
-
"outputs": {
|
|
224
|
-
"dnsSuffix": "csp.hci.ic.gov",
|
|
225
|
-
"dualStackDnsSuffix": "api.aws.hci.ic.gov",
|
|
226
|
-
"implicitGlobalRegion": "us-isof-south-1",
|
|
227
|
-
"name": "aws-iso-f",
|
|
228
|
-
"supportsDualStack": true,
|
|
229
|
-
"supportsFIPS": true
|
|
230
|
-
},
|
|
231
|
-
"regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
|
|
232
|
-
"regions": {
|
|
233
|
-
"aws-iso-f-global": {
|
|
234
|
-
"description": "aws-iso-f global region"
|
|
235
|
-
},
|
|
236
|
-
"us-isof-east-1": {
|
|
237
|
-
"description": "US ISOF EAST"
|
|
238
|
-
},
|
|
239
|
-
"us-isof-south-1": {
|
|
240
|
-
"description": "US ISOF SOUTH"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}, {
|
|
244
|
-
"id": "aws-us-gov",
|
|
245
|
-
"outputs": {
|
|
246
|
-
"dnsSuffix": "amazonaws.com",
|
|
247
|
-
"dualStackDnsSuffix": "api.aws",
|
|
248
|
-
"implicitGlobalRegion": "us-gov-west-1",
|
|
249
|
-
"name": "aws-us-gov",
|
|
250
|
-
"supportsDualStack": true,
|
|
251
|
-
"supportsFIPS": true
|
|
252
|
-
},
|
|
253
|
-
"regionRegex": "^us\\-gov\\-\\w+\\-\\d+$",
|
|
254
|
-
"regions": {
|
|
255
|
-
"aws-us-gov-global": {
|
|
256
|
-
"description": "aws-us-gov global region"
|
|
257
|
-
},
|
|
258
|
-
"us-gov-east-1": {
|
|
259
|
-
"description": "AWS GovCloud (US-East)"
|
|
260
|
-
},
|
|
261
|
-
"us-gov-west-1": {
|
|
262
|
-
"description": "AWS GovCloud (US-West)"
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}],
|
|
266
|
-
"version": "1.1"
|
|
267
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { customEndpointFunctions } from "@smithy/util-endpoints";
|
|
2
|
-
import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket";
|
|
3
|
-
import { parseArn } from "./lib/aws/parseArn";
|
|
4
|
-
import { partition } from "./lib/aws/partition";
|
|
5
|
-
export const awsEndpointFunctions = {
|
|
6
|
-
isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
|
|
7
|
-
parseArn: parseArn,
|
|
8
|
-
partition: partition,
|
|
9
|
-
};
|
|
10
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|