Skip to content

Commit 7f32fc8

Browse files
committed
chore(clients): populate default variant as first variant
1 parent d809298 commit 7f32fc8

File tree

290 files changed

+6434
-6434
lines changed

Some content is hidden

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

290 files changed

+6434
-6434
lines changed

clients/client-accessanalyzer/src/endpoints.ts

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ const regionHash: RegionHash = {
55
"ca-central-1": {
66
hostname: "access-analyzer.ca-central-1.amazonaws.com",
77
variants: [
8-
{
9-
hostname: "access-analyzer-fips.ca-central-1.amazonaws.com",
10-
tags: ["fips"],
11-
},
128
{
139
hostname: "access-analyzer.ca-central-1.amazonaws.com",
1410
tags: [],
1511
},
12+
{
13+
hostname: "access-analyzer-fips.ca-central-1.amazonaws.com",
14+
tags: ["fips"],
15+
},
1616
],
1717
},
1818
"fips-ca-central-1": {
@@ -68,27 +68,27 @@ const regionHash: RegionHash = {
6868
"us-east-1": {
6969
hostname: "access-analyzer.us-east-1.amazonaws.com",
7070
variants: [
71-
{
72-
hostname: "access-analyzer-fips.us-east-1.amazonaws.com",
73-
tags: ["fips"],
74-
},
7571
{
7672
hostname: "access-analyzer.us-east-1.amazonaws.com",
7773
tags: [],
7874
},
75+
{
76+
hostname: "access-analyzer-fips.us-east-1.amazonaws.com",
77+
tags: ["fips"],
78+
},
7979
],
8080
},
8181
"us-east-2": {
8282
hostname: "access-analyzer.us-east-2.amazonaws.com",
8383
variants: [
84-
{
85-
hostname: "access-analyzer-fips.us-east-2.amazonaws.com",
86-
tags: ["fips"],
87-
},
8884
{
8985
hostname: "access-analyzer.us-east-2.amazonaws.com",
9086
tags: [],
9187
},
88+
{
89+
hostname: "access-analyzer-fips.us-east-2.amazonaws.com",
90+
tags: ["fips"],
91+
},
9292
],
9393
},
9494
"us-gov-east-1": {
@@ -114,27 +114,27 @@ const regionHash: RegionHash = {
114114
"us-west-1": {
115115
hostname: "access-analyzer.us-west-1.amazonaws.com",
116116
variants: [
117-
{
118-
hostname: "access-analyzer-fips.us-west-1.amazonaws.com",
119-
tags: ["fips"],
120-
},
121117
{
122118
hostname: "access-analyzer.us-west-1.amazonaws.com",
123119
tags: [],
124120
},
121+
{
122+
hostname: "access-analyzer-fips.us-west-1.amazonaws.com",
123+
tags: ["fips"],
124+
},
125125
],
126126
},
127127
"us-west-2": {
128128
hostname: "access-analyzer.us-west-2.amazonaws.com",
129129
variants: [
130-
{
131-
hostname: "access-analyzer-fips.us-west-2.amazonaws.com",
132-
tags: ["fips"],
133-
},
134130
{
135131
hostname: "access-analyzer.us-west-2.amazonaws.com",
136132
tags: [],
137133
},
134+
{
135+
hostname: "access-analyzer-fips.us-west-2.amazonaws.com",
136+
tags: ["fips"],
137+
},
138138
],
139139
},
140140
};
@@ -172,6 +172,10 @@ const partitionHash: PartitionHash = {
172172
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
173173
hostname: "access-analyzer.{region}.amazonaws.com",
174174
variants: [
175+
{
176+
hostname: "access-analyzer.{region}.amazonaws.com",
177+
tags: [],
178+
},
175179
{
176180
hostname: "access-analyzer-fips.{region}.amazonaws.com",
177181
tags: ["fips"],
@@ -184,17 +188,17 @@ const partitionHash: PartitionHash = {
184188
hostname: "access-analyzer.{region}.api.aws",
185189
tags: ["dualstack"],
186190
},
187-
{
188-
hostname: "access-analyzer.{region}.amazonaws.com",
189-
tags: [],
190-
},
191191
],
192192
},
193193
"aws-cn": {
194194
regions: ["cn-north-1", "cn-northwest-1"],
195195
regionRegex: "^cn\\-\\w+\\-\\d+$",
196196
hostname: "access-analyzer.{region}.amazonaws.com.cn",
197197
variants: [
198+
{
199+
hostname: "access-analyzer.{region}.amazonaws.com.cn",
200+
tags: [],
201+
},
198202
{
199203
hostname: "access-analyzer-fips.{region}.amazonaws.com.cn",
200204
tags: ["fips"],
@@ -207,10 +211,6 @@ const partitionHash: PartitionHash = {
207211
hostname: "access-analyzer.{region}.api.amazonwebservices.com.cn",
208212
tags: ["dualstack"],
209213
},
210-
{
211-
hostname: "access-analyzer.{region}.amazonaws.com.cn",
212-
tags: [],
213-
},
214214
],
215215
},
216216
"aws-iso": {
@@ -240,6 +240,10 @@ const partitionHash: PartitionHash = {
240240
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
241241
hostname: "access-analyzer.{region}.amazonaws.com",
242242
variants: [
243+
{
244+
hostname: "access-analyzer.{region}.amazonaws.com",
245+
tags: [],
246+
},
243247
{
244248
hostname: "access-analyzer-fips.{region}.amazonaws.com",
245249
tags: ["fips"],
@@ -252,10 +256,6 @@ const partitionHash: PartitionHash = {
252256
hostname: "access-analyzer.{region}.api.aws",
253257
tags: ["dualstack"],
254258
},
255-
{
256-
hostname: "access-analyzer.{region}.amazonaws.com",
257-
tags: [],
258-
},
259259
],
260260
},
261261
};

clients/client-account/src/endpoints.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ const partitionHash: PartitionHash = {
5353
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
5454
hostname: "account.{region}.amazonaws.com",
5555
variants: [
56+
{
57+
hostname: "account.{region}.amazonaws.com",
58+
tags: [],
59+
},
5660
{
5761
hostname: "account-fips.{region}.amazonaws.com",
5862
tags: ["fips"],
@@ -65,10 +69,6 @@ const partitionHash: PartitionHash = {
6569
hostname: "account.{region}.api.aws",
6670
tags: ["dualstack"],
6771
},
68-
{
69-
hostname: "account.{region}.amazonaws.com",
70-
tags: [],
71-
},
7272
],
7373
endpoint: "aws-global",
7474
},
@@ -77,6 +77,10 @@ const partitionHash: PartitionHash = {
7777
regionRegex: "^cn\\-\\w+\\-\\d+$",
7878
hostname: "account.{region}.amazonaws.com.cn",
7979
variants: [
80+
{
81+
hostname: "account.{region}.amazonaws.com.cn",
82+
tags: [],
83+
},
8084
{
8185
hostname: "account-fips.{region}.amazonaws.com.cn",
8286
tags: ["fips"],
@@ -89,10 +93,6 @@ const partitionHash: PartitionHash = {
8993
hostname: "account.{region}.api.amazonwebservices.com.cn",
9094
tags: ["dualstack"],
9195
},
92-
{
93-
hostname: "account.{region}.amazonaws.com.cn",
94-
tags: [],
95-
},
9696
],
9797
endpoint: "aws-cn-global",
9898
},
@@ -123,6 +123,10 @@ const partitionHash: PartitionHash = {
123123
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
124124
hostname: "account.{region}.amazonaws.com",
125125
variants: [
126+
{
127+
hostname: "account.{region}.amazonaws.com",
128+
tags: [],
129+
},
126130
{
127131
hostname: "account-fips.{region}.amazonaws.com",
128132
tags: ["fips"],
@@ -135,10 +139,6 @@ const partitionHash: PartitionHash = {
135139
hostname: "account.{region}.api.aws",
136140
tags: ["dualstack"],
137141
},
138-
{
139-
hostname: "account.{region}.amazonaws.com",
140-
tags: [],
141-
},
142142
],
143143
},
144144
};

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

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ const regionHash: RegionHash = {
55
"ca-central-1": {
66
hostname: "acm-pca.ca-central-1.amazonaws.com",
77
variants: [
8-
{
9-
hostname: "acm-pca-fips.ca-central-1.amazonaws.com",
10-
tags: ["fips"],
11-
},
128
{
139
hostname: "acm-pca.ca-central-1.amazonaws.com",
1410
tags: [],
1511
},
12+
{
13+
hostname: "acm-pca-fips.ca-central-1.amazonaws.com",
14+
tags: ["fips"],
15+
},
1616
],
1717
},
1818
"fips-ca-central-1": {
@@ -88,39 +88,39 @@ const regionHash: RegionHash = {
8888
"us-east-1": {
8989
hostname: "acm-pca.us-east-1.amazonaws.com",
9090
variants: [
91-
{
92-
hostname: "acm-pca-fips.us-east-1.amazonaws.com",
93-
tags: ["fips"],
94-
},
9591
{
9692
hostname: "acm-pca.us-east-1.amazonaws.com",
9793
tags: [],
9894
},
95+
{
96+
hostname: "acm-pca-fips.us-east-1.amazonaws.com",
97+
tags: ["fips"],
98+
},
9999
],
100100
},
101101
"us-east-2": {
102102
hostname: "acm-pca.us-east-2.amazonaws.com",
103103
variants: [
104-
{
105-
hostname: "acm-pca-fips.us-east-2.amazonaws.com",
106-
tags: ["fips"],
107-
},
108104
{
109105
hostname: "acm-pca.us-east-2.amazonaws.com",
110106
tags: [],
111107
},
108+
{
109+
hostname: "acm-pca-fips.us-east-2.amazonaws.com",
110+
tags: ["fips"],
111+
},
112112
],
113113
},
114114
"us-gov-east-1": {
115115
hostname: "acm-pca.us-gov-east-1.amazonaws.com",
116116
variants: [
117117
{
118118
hostname: "acm-pca.us-gov-east-1.amazonaws.com",
119-
tags: ["fips"],
119+
tags: [],
120120
},
121121
{
122122
hostname: "acm-pca.us-gov-east-1.amazonaws.com",
123-
tags: [],
123+
tags: ["fips"],
124124
},
125125
],
126126
},
@@ -129,38 +129,38 @@ const regionHash: RegionHash = {
129129
variants: [
130130
{
131131
hostname: "acm-pca.us-gov-west-1.amazonaws.com",
132-
tags: ["fips"],
132+
tags: [],
133133
},
134134
{
135135
hostname: "acm-pca.us-gov-west-1.amazonaws.com",
136-
tags: [],
136+
tags: ["fips"],
137137
},
138138
],
139139
},
140140
"us-west-1": {
141141
hostname: "acm-pca.us-west-1.amazonaws.com",
142142
variants: [
143-
{
144-
hostname: "acm-pca-fips.us-west-1.amazonaws.com",
145-
tags: ["fips"],
146-
},
147143
{
148144
hostname: "acm-pca.us-west-1.amazonaws.com",
149145
tags: [],
150146
},
147+
{
148+
hostname: "acm-pca-fips.us-west-1.amazonaws.com",
149+
tags: ["fips"],
150+
},
151151
],
152152
},
153153
"us-west-2": {
154154
hostname: "acm-pca.us-west-2.amazonaws.com",
155155
variants: [
156-
{
157-
hostname: "acm-pca-fips.us-west-2.amazonaws.com",
158-
tags: ["fips"],
159-
},
160156
{
161157
hostname: "acm-pca.us-west-2.amazonaws.com",
162158
tags: [],
163159
},
160+
{
161+
hostname: "acm-pca-fips.us-west-2.amazonaws.com",
162+
tags: ["fips"],
163+
},
164164
],
165165
},
166166
};
@@ -198,6 +198,10 @@ const partitionHash: PartitionHash = {
198198
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
199199
hostname: "acm-pca.{region}.amazonaws.com",
200200
variants: [
201+
{
202+
hostname: "acm-pca.{region}.amazonaws.com",
203+
tags: [],
204+
},
201205
{
202206
hostname: "acm-pca-fips.{region}.amazonaws.com",
203207
tags: ["fips"],
@@ -210,17 +214,17 @@ const partitionHash: PartitionHash = {
210214
hostname: "acm-pca.{region}.api.aws",
211215
tags: ["dualstack"],
212216
},
213-
{
214-
hostname: "acm-pca.{region}.amazonaws.com",
215-
tags: [],
216-
},
217217
],
218218
},
219219
"aws-cn": {
220220
regions: ["cn-north-1", "cn-northwest-1"],
221221
regionRegex: "^cn\\-\\w+\\-\\d+$",
222222
hostname: "acm-pca.{region}.amazonaws.com.cn",
223223
variants: [
224+
{
225+
hostname: "acm-pca.{region}.amazonaws.com.cn",
226+
tags: [],
227+
},
224228
{
225229
hostname: "acm-pca-fips.{region}.amazonaws.com.cn",
226230
tags: ["fips"],
@@ -233,10 +237,6 @@ const partitionHash: PartitionHash = {
233237
hostname: "acm-pca.{region}.api.amazonwebservices.com.cn",
234238
tags: ["dualstack"],
235239
},
236-
{
237-
hostname: "acm-pca.{region}.amazonaws.com.cn",
238-
tags: [],
239-
},
240240
],
241241
},
242242
"aws-iso": {
@@ -268,11 +268,11 @@ const partitionHash: PartitionHash = {
268268
variants: [
269269
{
270270
hostname: "acm-pca.{region}.amazonaws.com",
271-
tags: ["fips"],
271+
tags: [],
272272
},
273273
{
274274
hostname: "acm-pca.{region}.amazonaws.com",
275-
tags: [],
275+
tags: ["fips"],
276276
},
277277
],
278278
},

0 commit comments

Comments
 (0)