Skip to content

Commit d65a310

Browse files
authored
fix(clients): merge default variants by comparing tags (#3044)
1 parent bcfb45b commit d65a310

File tree

30 files changed

+347
-17
lines changed

30 files changed

+347
-17
lines changed

clients/client-acm-pca/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,14 @@ const partitionHash: PartitionHash = {
200200
hostname: "acm-pca.{region}.amazonaws.com",
201201
tags: ["fips"],
202202
},
203+
{
204+
hostname: "acm-pca-fips.{region}.api.aws",
205+
tags: ["dualstack", "fips"],
206+
},
207+
{
208+
hostname: "acm-pca.{region}.api.aws",
209+
tags: ["dualstack"],
210+
},
203211
],
204212
},
205213
};

clients/client-batch/src/endpoints.ts

+16
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ const partitionHash: PartitionHash = {
115115
hostname: "fips.batch.{region}.amazonaws.com",
116116
tags: ["fips"],
117117
},
118+
{
119+
hostname: "batch-fips.{region}.api.aws",
120+
tags: ["dualstack", "fips"],
121+
},
122+
{
123+
hostname: "batch.{region}.api.aws",
124+
tags: ["dualstack"],
125+
},
118126
],
119127
},
120128
"aws-cn": {
@@ -179,6 +187,14 @@ const partitionHash: PartitionHash = {
179187
hostname: "batch.{region}.amazonaws.com",
180188
tags: ["fips"],
181189
},
190+
{
191+
hostname: "batch-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "batch.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
182198
],
183199
},
184200
};

clients/client-cloudwatch/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ const partitionHash: PartitionHash = {
187187
hostname: "monitoring.{region}.amazonaws.com",
188188
tags: ["fips"],
189189
},
190+
{
191+
hostname: "monitoring-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "monitoring.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
190198
],
191199
},
192200
};

clients/client-config-service/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ const partitionHash: PartitionHash = {
187187
hostname: "config.{region}.amazonaws.com",
188188
tags: ["fips"],
189189
},
190+
{
191+
hostname: "config-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "config.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
190198
],
191199
},
192200
};

clients/client-database-migration-service/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ const partitionHash: PartitionHash = {
213213
hostname: "dms.{region}.amazonaws.com",
214214
tags: ["fips"],
215215
},
216+
{
217+
hostname: "dms-fips.{region}.api.aws",
218+
tags: ["dualstack", "fips"],
219+
},
220+
{
221+
hostname: "dms.{region}.api.aws",
222+
tags: ["dualstack"],
223+
},
216224
],
217225
},
218226
};

clients/client-docdb/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@ const partitionHash: PartitionHash = {
217217
hostname: "rds.{region}.amazonaws.com",
218218
tags: ["fips"],
219219
},
220+
{
221+
hostname: "rds-fips.{region}.api.aws",
222+
tags: ["dualstack", "fips"],
223+
},
224+
{
225+
hostname: "rds.{region}.api.aws",
226+
tags: ["dualstack"],
227+
},
220228
],
221229
},
222230
};

clients/client-dynamodb/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@ const partitionHash: PartitionHash = {
210210
hostname: "dynamodb.{region}.amazonaws.com",
211211
tags: ["fips"],
212212
},
213+
{
214+
hostname: "dynamodb-fips.{region}.api.aws",
215+
tags: ["dualstack", "fips"],
216+
},
217+
{
218+
hostname: "dynamodb.{region}.api.aws",
219+
tags: ["dualstack"],
220+
},
213221
],
214222
},
215223
};

clients/client-ecr/src/endpoints.ts

+16
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,14 @@ const partitionHash: PartitionHash = {
327327
hostname: "ecr-fips.{region}.amazonaws.com",
328328
tags: ["fips"],
329329
},
330+
{
331+
hostname: "api.ecr-fips.{region}.api.aws",
332+
tags: ["dualstack", "fips"],
333+
},
334+
{
335+
hostname: "api.ecr.{region}.api.aws",
336+
tags: ["dualstack"],
337+
},
330338
],
331339
},
332340
"aws-cn": {
@@ -400,6 +408,14 @@ const partitionHash: PartitionHash = {
400408
hostname: "ecr-fips.{region}.amazonaws.com",
401409
tags: ["fips"],
402410
},
411+
{
412+
hostname: "api.ecr-fips.{region}.api.aws",
413+
tags: ["dualstack", "fips"],
414+
},
415+
{
416+
hostname: "api.ecr.{region}.api.aws",
417+
tags: ["dualstack"],
418+
},
403419
],
404420
},
405421
};

clients/client-eks/src/endpoints.ts

+16
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ const partitionHash: PartitionHash = {
115115
hostname: "fips.eks.{region}.amazonaws.com",
116116
tags: ["fips"],
117117
},
118+
{
119+
hostname: "eks-fips.{region}.api.aws",
120+
tags: ["dualstack", "fips"],
121+
},
122+
{
123+
hostname: "eks.{region}.api.aws",
124+
tags: ["dualstack"],
125+
},
118126
],
119127
},
120128
"aws-cn": {
@@ -179,6 +187,14 @@ const partitionHash: PartitionHash = {
179187
hostname: "eks.{region}.amazonaws.com",
180188
tags: ["fips"],
181189
},
190+
{
191+
hostname: "eks-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "eks.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
182198
],
183199
},
184200
};

clients/client-elastic-load-balancing-v2/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ const partitionHash: PartitionHash = {
187187
hostname: "elasticloadbalancing.{region}.amazonaws.com",
188188
tags: ["fips"],
189189
},
190+
{
191+
hostname: "elasticloadbalancing-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "elasticloadbalancing.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
190198
],
191199
},
192200
};

clients/client-elastic-load-balancing/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ const partitionHash: PartitionHash = {
187187
hostname: "elasticloadbalancing.{region}.amazonaws.com",
188188
tags: ["fips"],
189189
},
190+
{
191+
hostname: "elasticloadbalancing-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "elasticloadbalancing.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
190198
],
191199
},
192200
};

clients/client-elasticache/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,14 @@ const partitionHash: PartitionHash = {
176176
hostname: "elasticache.{region}.amazonaws.com",
177177
tags: ["fips"],
178178
},
179+
{
180+
hostname: "elasticache-fips.{region}.api.aws",
181+
tags: ["dualstack", "fips"],
182+
},
183+
{
184+
hostname: "elasticache.{region}.api.aws",
185+
tags: ["dualstack"],
186+
},
179187
],
180188
},
181189
};

clients/client-emr/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,14 @@ const partitionHash: PartitionHash = {
200200
hostname: "elasticmapreduce.{region}.amazonaws.com",
201201
tags: ["fips"],
202202
},
203+
{
204+
hostname: "elasticmapreduce-fips.{region}.api.aws",
205+
tags: ["dualstack", "fips"],
206+
},
207+
{
208+
hostname: "elasticmapreduce.{region}.api.aws",
209+
tags: ["dualstack"],
210+
},
203211
],
204212
},
205213
};

clients/client-guardduty/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ const partitionHash: PartitionHash = {
187187
hostname: "guardduty.{region}.amazonaws.com",
188188
tags: ["fips"],
189189
},
190+
{
191+
hostname: "guardduty-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "guardduty.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
190198
],
191199
},
192200
};

clients/client-identitystore/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ const partitionHash: PartitionHash = {
123123
hostname: "identitystore.{region}.amazonaws.com",
124124
tags: ["fips"],
125125
},
126+
{
127+
hostname: "identitystore-fips.{region}.api.aws",
128+
tags: ["dualstack", "fips"],
129+
},
130+
{
131+
hostname: "identitystore.{region}.api.aws",
132+
tags: ["dualstack"],
133+
},
126134
],
127135
},
128136
};

clients/client-lex-model-building-service/src/endpoints.ts

+16
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ const partitionHash: PartitionHash = {
7777
hostname: "models-fips.lex.{region}.amazonaws.com",
7878
tags: ["fips"],
7979
},
80+
{
81+
hostname: "models.lex-fips.{region}.api.aws",
82+
tags: ["dualstack", "fips"],
83+
},
84+
{
85+
hostname: "models.lex.{region}.api.aws",
86+
tags: ["dualstack"],
87+
},
8088
],
8189
},
8290
"aws-cn": {
@@ -141,6 +149,14 @@ const partitionHash: PartitionHash = {
141149
hostname: "models-fips.lex.{region}.amazonaws.com",
142150
tags: ["fips"],
143151
},
152+
{
153+
hostname: "models.lex-fips.{region}.api.aws",
154+
tags: ["dualstack", "fips"],
155+
},
156+
{
157+
hostname: "models.lex.{region}.api.aws",
158+
tags: ["dualstack"],
159+
},
144160
],
145161
},
146162
};

clients/client-lex-runtime-service/src/endpoints.ts

+16
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ const partitionHash: PartitionHash = {
7777
hostname: "runtime-fips.lex.{region}.amazonaws.com",
7878
tags: ["fips"],
7979
},
80+
{
81+
hostname: "runtime.lex-fips.{region}.api.aws",
82+
tags: ["dualstack", "fips"],
83+
},
84+
{
85+
hostname: "runtime.lex.{region}.api.aws",
86+
tags: ["dualstack"],
87+
},
8088
],
8189
},
8290
"aws-cn": {
@@ -141,6 +149,14 @@ const partitionHash: PartitionHash = {
141149
hostname: "runtime-fips.lex.{region}.amazonaws.com",
142150
tags: ["fips"],
143151
},
152+
{
153+
hostname: "runtime.lex-fips.{region}.api.aws",
154+
tags: ["dualstack", "fips"],
155+
},
156+
{
157+
hostname: "runtime.lex.{region}.api.aws",
158+
tags: ["dualstack"],
159+
},
144160
],
145161
},
146162
};

clients/client-neptune/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@ const partitionHash: PartitionHash = {
217217
hostname: "rds.{region}.amazonaws.com",
218218
tags: ["fips"],
219219
},
220+
{
221+
hostname: "rds-fips.{region}.api.aws",
222+
tags: ["dualstack", "fips"],
223+
},
224+
{
225+
hostname: "rds.{region}.api.aws",
226+
tags: ["dualstack"],
227+
},
220228
],
221229
},
222230
};

clients/client-rds/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@ const partitionHash: PartitionHash = {
217217
hostname: "rds.{region}.amazonaws.com",
218218
tags: ["fips"],
219219
},
220+
{
221+
hostname: "rds-fips.{region}.api.aws",
222+
tags: ["dualstack", "fips"],
223+
},
224+
{
225+
hostname: "rds.{region}.api.aws",
226+
tags: ["dualstack"],
227+
},
220228
],
221229
},
222230
};

clients/client-resource-groups/src/endpoints.ts

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ const partitionHash: PartitionHash = {
187187
hostname: "resource-groups.{region}.amazonaws.com",
188188
tags: ["fips"],
189189
},
190+
{
191+
hostname: "resource-groups-fips.{region}.api.aws",
192+
tags: ["dualstack", "fips"],
193+
},
194+
{
195+
hostname: "resource-groups.{region}.api.aws",
196+
tags: ["dualstack"],
197+
},
190198
],
191199
},
192200
};

0 commit comments

Comments
 (0)