@aws-sdk/client-global-accelerator 3.192.0 → 3.193.0
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/CHANGELOG.md +11 -0
- package/dist-cjs/GlobalAccelerator.js +30 -0
- package/dist-cjs/GlobalAcceleratorClient.js +11 -8
- package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +10 -0
- package/dist-cjs/commands/AddEndpointsCommand.js +46 -0
- package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +10 -0
- package/dist-cjs/commands/CreateAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/CreateEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateListenerCommand.js +10 -0
- package/dist-cjs/commands/DeleteAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/DeleteEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteListenerCommand.js +10 -0
- package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +10 -0
- package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/DescribeAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DescribeListenerCommand.js +10 -0
- package/dist-cjs/commands/ListAcceleratorsCommand.js +10 -0
- package/dist-cjs/commands/ListByoipCidrsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +10 -0
- package/dist-cjs/commands/ListEndpointGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListListenersCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ProvisionByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +10 -0
- package/dist-cjs/commands/RemoveEndpointsCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/UpdateEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateListenerCommand.js +10 -0
- package/dist-cjs/commands/WithdrawByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/models/models_0.js +62 -11
- package/dist-cjs/protocols/Aws_json1_1.js +167 -2
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/GlobalAccelerator.js +30 -0
- package/dist-es/GlobalAcceleratorClient.js +12 -9
- package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +10 -0
- package/dist-es/commands/AddEndpointsCommand.js +42 -0
- package/dist-es/commands/AdvertiseByoipCidrCommand.js +10 -0
- package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +10 -0
- package/dist-es/commands/CreateAcceleratorCommand.js +10 -0
- package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-es/commands/CreateCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/CreateEndpointGroupCommand.js +10 -0
- package/dist-es/commands/CreateListenerCommand.js +10 -0
- package/dist-es/commands/DeleteAcceleratorCommand.js +10 -0
- package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/DeleteEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DeleteListenerCommand.js +10 -0
- package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +10 -0
- package/dist-es/commands/DeprovisionByoipCidrCommand.js +10 -0
- package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/DescribeAcceleratorCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DescribeListenerCommand.js +10 -0
- package/dist-es/commands/ListAcceleratorsCommand.js +10 -0
- package/dist-es/commands/ListByoipCidrsCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingListenersCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +10 -0
- package/dist-es/commands/ListEndpointGroupsCommand.js +10 -0
- package/dist-es/commands/ListListenersCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ProvisionByoipCidrCommand.js +10 -0
- package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +10 -0
- package/dist-es/commands/RemoveEndpointsCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateAcceleratorCommand.js +10 -0
- package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/UpdateEndpointGroupCommand.js +10 -0
- package/dist-es/commands/UpdateListenerCommand.js +10 -0
- package/dist-es/commands/WithdrawByoipCidrCommand.js +10 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/models/models_0.js +52 -6
- package/dist-es/protocols/Aws_json1_1.js +162 -1
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/GlobalAccelerator.d.ts +45 -0
- package/dist-types/GlobalAcceleratorClient.d.ts +10 -11
- package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/AddEndpointsCommand.d.ts +52 -0
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/commands/CreateAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/CreateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +2 -0
- package/dist-types/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeListenerCommand.d.ts +2 -0
- package/dist-types/commands/ListAcceleratorsCommand.d.ts +2 -0
- package/dist-types/commands/ListByoipCidrsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingListenersCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -0
- package/dist-types/commands/ListEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListListenersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/RemoveEndpointsCommand.d.ts +53 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateListenerCommand.d.ts +2 -0
- package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +187 -94
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/GlobalAccelerator.d.ts +34 -0
- package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +27 -8
- package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AddEndpointsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveEndpointsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -22
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +28 -26
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {};
|
|
6
|
-
const partitionHash = {
|
|
7
|
-
aws: {
|
|
8
|
-
regions: [
|
|
9
|
-
"af-south-1",
|
|
10
|
-
"ap-east-1",
|
|
11
|
-
"ap-northeast-1",
|
|
12
|
-
"ap-northeast-2",
|
|
13
|
-
"ap-northeast-3",
|
|
14
|
-
"ap-south-1",
|
|
15
|
-
"ap-southeast-1",
|
|
16
|
-
"ap-southeast-2",
|
|
17
|
-
"ap-southeast-3",
|
|
18
|
-
"ca-central-1",
|
|
19
|
-
"eu-central-1",
|
|
20
|
-
"eu-north-1",
|
|
21
|
-
"eu-south-1",
|
|
22
|
-
"eu-west-1",
|
|
23
|
-
"eu-west-2",
|
|
24
|
-
"eu-west-3",
|
|
25
|
-
"me-central-1",
|
|
26
|
-
"me-south-1",
|
|
27
|
-
"sa-east-1",
|
|
28
|
-
"us-east-1",
|
|
29
|
-
"us-east-2",
|
|
30
|
-
"us-west-1",
|
|
31
|
-
"us-west-2",
|
|
32
|
-
],
|
|
33
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
34
|
-
variants: [
|
|
35
|
-
{
|
|
36
|
-
hostname: "globalaccelerator.{region}.amazonaws.com",
|
|
37
|
-
tags: [],
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
hostname: "globalaccelerator-fips.{region}.amazonaws.com",
|
|
41
|
-
tags: ["fips"],
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
hostname: "globalaccelerator-fips.{region}.api.aws",
|
|
45
|
-
tags: ["dualstack", "fips"],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
hostname: "globalaccelerator.{region}.api.aws",
|
|
49
|
-
tags: ["dualstack"],
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
"aws-cn": {
|
|
54
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
55
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
56
|
-
variants: [
|
|
57
|
-
{
|
|
58
|
-
hostname: "globalaccelerator.{region}.amazonaws.com.cn",
|
|
59
|
-
tags: [],
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
hostname: "globalaccelerator-fips.{region}.amazonaws.com.cn",
|
|
63
|
-
tags: ["fips"],
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
hostname: "globalaccelerator-fips.{region}.api.amazonwebservices.com.cn",
|
|
67
|
-
tags: ["dualstack", "fips"],
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
hostname: "globalaccelerator.{region}.api.amazonwebservices.com.cn",
|
|
71
|
-
tags: ["dualstack"],
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
"aws-iso": {
|
|
76
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
77
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
78
|
-
variants: [
|
|
79
|
-
{
|
|
80
|
-
hostname: "globalaccelerator.{region}.c2s.ic.gov",
|
|
81
|
-
tags: [],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
hostname: "globalaccelerator-fips.{region}.c2s.ic.gov",
|
|
85
|
-
tags: ["fips"],
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
"aws-iso-b": {
|
|
90
|
-
regions: ["us-isob-east-1"],
|
|
91
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
92
|
-
variants: [
|
|
93
|
-
{
|
|
94
|
-
hostname: "globalaccelerator.{region}.sc2s.sgov.gov",
|
|
95
|
-
tags: [],
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
hostname: "globalaccelerator-fips.{region}.sc2s.sgov.gov",
|
|
99
|
-
tags: ["fips"],
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
"aws-us-gov": {
|
|
104
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
105
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
106
|
-
variants: [
|
|
107
|
-
{
|
|
108
|
-
hostname: "globalaccelerator.{region}.amazonaws.com",
|
|
109
|
-
tags: [],
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
hostname: "globalaccelerator-fips.{region}.amazonaws.com",
|
|
113
|
-
tags: ["fips"],
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
hostname: "globalaccelerator-fips.{region}.api.aws",
|
|
117
|
-
tags: ["dualstack", "fips"],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
hostname: "globalaccelerator.{region}.api.aws",
|
|
121
|
-
tags: ["dualstack"],
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
127
|
-
...options,
|
|
128
|
-
signingService: "globalaccelerator",
|
|
129
|
-
regionHash,
|
|
130
|
-
partitionHash,
|
|
131
|
-
});
|
|
132
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
package/dist-es/endpoints.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {};
|
|
3
|
-
const partitionHash = {
|
|
4
|
-
aws: {
|
|
5
|
-
regions: [
|
|
6
|
-
"af-south-1",
|
|
7
|
-
"ap-east-1",
|
|
8
|
-
"ap-northeast-1",
|
|
9
|
-
"ap-northeast-2",
|
|
10
|
-
"ap-northeast-3",
|
|
11
|
-
"ap-south-1",
|
|
12
|
-
"ap-southeast-1",
|
|
13
|
-
"ap-southeast-2",
|
|
14
|
-
"ap-southeast-3",
|
|
15
|
-
"ca-central-1",
|
|
16
|
-
"eu-central-1",
|
|
17
|
-
"eu-north-1",
|
|
18
|
-
"eu-south-1",
|
|
19
|
-
"eu-west-1",
|
|
20
|
-
"eu-west-2",
|
|
21
|
-
"eu-west-3",
|
|
22
|
-
"me-central-1",
|
|
23
|
-
"me-south-1",
|
|
24
|
-
"sa-east-1",
|
|
25
|
-
"us-east-1",
|
|
26
|
-
"us-east-2",
|
|
27
|
-
"us-west-1",
|
|
28
|
-
"us-west-2",
|
|
29
|
-
],
|
|
30
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "globalaccelerator.{region}.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
hostname: "globalaccelerator-fips.{region}.amazonaws.com",
|
|
38
|
-
tags: ["fips"],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
hostname: "globalaccelerator-fips.{region}.api.aws",
|
|
42
|
-
tags: ["dualstack", "fips"],
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
hostname: "globalaccelerator.{region}.api.aws",
|
|
46
|
-
tags: ["dualstack"],
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
"aws-cn": {
|
|
51
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
52
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
|
-
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "globalaccelerator.{region}.amazonaws.com.cn",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
hostname: "globalaccelerator-fips.{region}.amazonaws.com.cn",
|
|
60
|
-
tags: ["fips"],
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
hostname: "globalaccelerator-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
-
tags: ["dualstack", "fips"],
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
hostname: "globalaccelerator.{region}.api.amazonwebservices.com.cn",
|
|
68
|
-
tags: ["dualstack"],
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
},
|
|
72
|
-
"aws-iso": {
|
|
73
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
74
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
75
|
-
variants: [
|
|
76
|
-
{
|
|
77
|
-
hostname: "globalaccelerator.{region}.c2s.ic.gov",
|
|
78
|
-
tags: [],
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
hostname: "globalaccelerator-fips.{region}.c2s.ic.gov",
|
|
82
|
-
tags: ["fips"],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
"aws-iso-b": {
|
|
87
|
-
regions: ["us-isob-east-1"],
|
|
88
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
89
|
-
variants: [
|
|
90
|
-
{
|
|
91
|
-
hostname: "globalaccelerator.{region}.sc2s.sgov.gov",
|
|
92
|
-
tags: [],
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
hostname: "globalaccelerator-fips.{region}.sc2s.sgov.gov",
|
|
96
|
-
tags: ["fips"],
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
"aws-us-gov": {
|
|
101
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
102
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
103
|
-
variants: [
|
|
104
|
-
{
|
|
105
|
-
hostname: "globalaccelerator.{region}.amazonaws.com",
|
|
106
|
-
tags: [],
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
hostname: "globalaccelerator-fips.{region}.amazonaws.com",
|
|
110
|
-
tags: ["fips"],
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
hostname: "globalaccelerator-fips.{region}.api.aws",
|
|
114
|
-
tags: ["dualstack", "fips"],
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
hostname: "globalaccelerator.{region}.api.aws",
|
|
118
|
-
tags: ["dualstack"],
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
124
|
-
...options,
|
|
125
|
-
signingService: "globalaccelerator",
|
|
126
|
-
regionHash,
|
|
127
|
-
partitionHash,
|
|
128
|
-
});
|