Skip to content

Commit 17afcbb

Browse files
authored
feat(clients): update endpoint resolution as of 05/12/2021 (#2398)
1 parent b157173 commit 17afcbb

File tree

272 files changed

+2692
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+2692
-13
lines changed

clients/client-accessanalyzer/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -63,6 +64,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
6364
partition: "aws",
6465
};
6566
break;
67+
case "ap-northeast-3":
68+
regionInfo = {
69+
hostname: "access-analyzer.ap-northeast-3.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
6673
case "ap-south-1":
6774
regionInfo = {
6875
hostname: "access-analyzer.ap-south-1.amazonaws.com",

clients/client-acm-pca/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -63,6 +64,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
6364
partition: "aws",
6465
};
6566
break;
67+
case "ap-northeast-3":
68+
regionInfo = {
69+
hostname: "acm-pca.ap-northeast-3.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
6673
case "ap-south-1":
6774
regionInfo = {
6875
hostname: "acm-pca.ap-south-1.amazonaws.com",

clients/client-acm/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -63,6 +64,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
6364
partition: "aws",
6465
};
6566
break;
67+
case "ap-northeast-3":
68+
regionInfo = {
69+
hostname: "acm.ap-northeast-3.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
6673
case "ap-south-1":
6774
regionInfo = {
6875
hostname: "acm.ap-south-1.amazonaws.com",

clients/client-alexa-for-business/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-amp/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-amplify/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-amplifybackend/endpoints.ts

+73
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -39,6 +40,78 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
3940
let regionInfo: RegionInfo | undefined = undefined;
4041
switch (region) {
4142
// First, try to match exact region names.
43+
case "ap-northeast-1":
44+
regionInfo = {
45+
hostname: "amplifybackend.ap-northeast-1.amazonaws.com",
46+
partition: "aws",
47+
};
48+
break;
49+
case "ap-northeast-2":
50+
regionInfo = {
51+
hostname: "amplifybackend.ap-northeast-2.amazonaws.com",
52+
partition: "aws",
53+
};
54+
break;
55+
case "ap-south-1":
56+
regionInfo = {
57+
hostname: "amplifybackend.ap-south-1.amazonaws.com",
58+
partition: "aws",
59+
};
60+
break;
61+
case "ap-southeast-1":
62+
regionInfo = {
63+
hostname: "amplifybackend.ap-southeast-1.amazonaws.com",
64+
partition: "aws",
65+
};
66+
break;
67+
case "ap-southeast-2":
68+
regionInfo = {
69+
hostname: "amplifybackend.ap-southeast-2.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
73+
case "ca-central-1":
74+
regionInfo = {
75+
hostname: "amplifybackend.ca-central-1.amazonaws.com",
76+
partition: "aws",
77+
};
78+
break;
79+
case "eu-central-1":
80+
regionInfo = {
81+
hostname: "amplifybackend.eu-central-1.amazonaws.com",
82+
partition: "aws",
83+
};
84+
break;
85+
case "eu-west-1":
86+
regionInfo = {
87+
hostname: "amplifybackend.eu-west-1.amazonaws.com",
88+
partition: "aws",
89+
};
90+
break;
91+
case "eu-west-2":
92+
regionInfo = {
93+
hostname: "amplifybackend.eu-west-2.amazonaws.com",
94+
partition: "aws",
95+
};
96+
break;
97+
case "us-east-1":
98+
regionInfo = {
99+
hostname: "amplifybackend.us-east-1.amazonaws.com",
100+
partition: "aws",
101+
};
102+
break;
103+
case "us-east-2":
104+
regionInfo = {
105+
hostname: "amplifybackend.us-east-2.amazonaws.com",
106+
partition: "aws",
107+
};
108+
break;
109+
case "us-west-2":
110+
regionInfo = {
111+
hostname: "amplifybackend.us-west-2.amazonaws.com",
112+
partition: "aws",
113+
};
114+
break;
42115
// Next, try to match partition endpoints.
43116
default:
44117
if (AWS_REGIONS.has(region)) {

clients/client-api-gateway/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -63,6 +64,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
6364
partition: "aws",
6465
};
6566
break;
67+
case "ap-northeast-3":
68+
regionInfo = {
69+
hostname: "apigateway.ap-northeast-3.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
6673
case "ap-south-1":
6774
regionInfo = {
6875
hostname: "apigateway.ap-south-1.amazonaws.com",

clients/client-apigatewaymanagementapi/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-apigatewayv2/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -63,6 +64,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
6364
partition: "aws",
6465
};
6566
break;
67+
case "ap-northeast-3":
68+
regionInfo = {
69+
hostname: "apigateway.ap-northeast-3.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
6673
case "ap-south-1":
6774
regionInfo = {
6875
hostname: "apigateway.ap-south-1.amazonaws.com",

clients/client-app-mesh/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -39,6 +40,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
3940
let regionInfo: RegionInfo | undefined = undefined;
4041
switch (region) {
4142
// First, try to match exact region names.
43+
case "af-south-1":
44+
regionInfo = {
45+
hostname: "appmesh.af-south-1.amazonaws.com",
46+
partition: "aws",
47+
};
48+
break;
4249
case "ap-east-1":
4350
regionInfo = {
4451
hostname: "appmesh.ap-east-1.amazonaws.com",

clients/client-appconfig/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-appflow/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-appintegrations/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -57,6 +58,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
5758
partition: "aws",
5859
};
5960
break;
61+
case "ca-central-1":
62+
regionInfo = {
63+
hostname: "app-integrations.ca-central-1.amazonaws.com",
64+
partition: "aws",
65+
};
66+
break;
6067
case "eu-central-1":
6168
regionInfo = {
6269
hostname: "app-integrations.eu-central-1.amazonaws.com",

clients/client-application-auto-scaling/endpoints.ts

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -63,6 +64,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
6364
partition: "aws",
6465
};
6566
break;
67+
case "ap-northeast-3":
68+
regionInfo = {
69+
hostname: "application-autoscaling.ap-northeast-3.amazonaws.com",
70+
partition: "aws",
71+
};
72+
break;
6673
case "ap-south-1":
6774
regionInfo = {
6875
hostname: "application-autoscaling.ap-south-1.amazonaws.com",

clients/client-application-discovery-service/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-application-insights/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-appstream/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-appsync/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

clients/client-athena/endpoints.ts

+29
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",
@@ -135,6 +136,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
135136
partition: "aws",
136137
};
137138
break;
139+
case "fips-us-east-1":
140+
regionInfo = {
141+
hostname: "athena-fips.us-east-1.amazonaws.com",
142+
partition: "aws",
143+
signingRegion: "us-east-1",
144+
};
145+
break;
146+
case "fips-us-east-2":
147+
regionInfo = {
148+
hostname: "athena-fips.us-east-2.amazonaws.com",
149+
partition: "aws",
150+
signingRegion: "us-east-2",
151+
};
152+
break;
138153
case "fips-us-gov-east-1":
139154
regionInfo = {
140155
hostname: "athena-fips.us-gov-east-1.amazonaws.com",
@@ -149,6 +164,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op
149164
signingRegion: "us-gov-west-1",
150165
};
151166
break;
167+
case "fips-us-west-1":
168+
regionInfo = {
169+
hostname: "athena-fips.us-west-1.amazonaws.com",
170+
partition: "aws",
171+
signingRegion: "us-west-1",
172+
};
173+
break;
174+
case "fips-us-west-2":
175+
regionInfo = {
176+
hostname: "athena-fips.us-west-2.amazonaws.com",
177+
partition: "aws",
178+
signingRegion: "us-west-2",
179+
};
180+
break;
152181
case "me-south-1":
153182
regionInfo = {
154183
hostname: "athena.me-south-1.amazonaws.com",

clients/client-auditmanager/endpoints.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const AWS_REGIONS = new Set([
1313
"ap-east-1",
1414
"ap-northeast-1",
1515
"ap-northeast-2",
16+
"ap-northeast-3",
1617
"ap-south-1",
1718
"ap-southeast-1",
1819
"ap-southeast-2",

0 commit comments

Comments
 (0)