Skip to content

Commit b7d7d82

Browse files
committed
chore(clients): populate hostname in variants with service & dnsSuffix
1 parent 63fa257 commit b7d7d82

File tree

290 files changed

+2544
-5054
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

+2544
-5054
lines changed

clients/client-accessanalyzer/src/endpoints.ts

+9-18
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,15 @@ const partitionHash: PartitionHash = {
106106
hostname: "access-analyzer.{region}.amazonaws.com",
107107
variants: [
108108
{
109-
dnsSuffix: "amazonaws.com",
110-
hostname: "{service}-fips.{region}.{dnsSuffix}",
109+
hostname: "access-analyzer-fips.{region}.amazonaws.com",
111110
tags: ["fips"],
112111
},
113112
{
114-
dnsSuffix: "api.aws",
115-
hostname: "{service}-fips.{region}.{dnsSuffix}",
113+
hostname: "access-analyzer-fips.{region}.api.aws",
116114
tags: ["dualstack", "fips"],
117115
},
118116
{
119-
dnsSuffix: "api.aws",
120-
hostname: "{service}.{region}.{dnsSuffix}",
117+
hostname: "access-analyzer.{region}.api.aws",
121118
tags: ["dualstack"],
122119
},
123120
],
@@ -128,18 +125,15 @@ const partitionHash: PartitionHash = {
128125
hostname: "access-analyzer.{region}.amazonaws.com.cn",
129126
variants: [
130127
{
131-
dnsSuffix: "amazonaws.com.cn",
132-
hostname: "{service}-fips.{region}.{dnsSuffix}",
128+
hostname: "access-analyzer-fips.{region}.amazonaws.com.cn",
133129
tags: ["fips"],
134130
},
135131
{
136-
dnsSuffix: "api.amazonwebservices.com.cn",
137-
hostname: "{service}-fips.{region}.{dnsSuffix}",
132+
hostname: "access-analyzer-fips.{region}.api.amazonwebservices.com.cn",
138133
tags: ["dualstack", "fips"],
139134
},
140135
{
141-
dnsSuffix: "api.amazonwebservices.com.cn",
142-
hostname: "{service}.{region}.{dnsSuffix}",
136+
hostname: "access-analyzer.{region}.api.amazonwebservices.com.cn",
143137
tags: ["dualstack"],
144138
},
145139
],
@@ -160,18 +154,15 @@ const partitionHash: PartitionHash = {
160154
hostname: "access-analyzer.{region}.amazonaws.com",
161155
variants: [
162156
{
163-
dnsSuffix: "amazonaws.com",
164-
hostname: "{service}-fips.{region}.{dnsSuffix}",
157+
hostname: "access-analyzer-fips.{region}.amazonaws.com",
165158
tags: ["fips"],
166159
},
167160
{
168-
dnsSuffix: "api.aws",
169-
hostname: "{service}-fips.{region}.{dnsSuffix}",
161+
hostname: "access-analyzer-fips.{region}.api.aws",
170162
tags: ["dualstack", "fips"],
171163
},
172164
{
173-
dnsSuffix: "api.aws",
174-
hostname: "{service}.{region}.{dnsSuffix}",
165+
hostname: "access-analyzer.{region}.api.aws",
175166
tags: ["dualstack"],
176167
},
177168
],

clients/client-account/src/endpoints.ts

+9-18
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,15 @@ const partitionHash: PartitionHash = {
4242
endpoint: "aws-global",
4343
variants: [
4444
{
45-
dnsSuffix: "amazonaws.com",
46-
hostname: "{service}-fips.{region}.{dnsSuffix}",
45+
hostname: "account-fips.{region}.amazonaws.com",
4746
tags: ["fips"],
4847
},
4948
{
50-
dnsSuffix: "api.aws",
51-
hostname: "{service}-fips.{region}.{dnsSuffix}",
49+
hostname: "account-fips.{region}.api.aws",
5250
tags: ["dualstack", "fips"],
5351
},
5452
{
55-
dnsSuffix: "api.aws",
56-
hostname: "{service}.{region}.{dnsSuffix}",
53+
hostname: "account.{region}.api.aws",
5754
tags: ["dualstack"],
5855
},
5956
],
@@ -64,18 +61,15 @@ const partitionHash: PartitionHash = {
6461
endpoint: "aws-cn-global",
6562
variants: [
6663
{
67-
dnsSuffix: "amazonaws.com.cn",
68-
hostname: "{service}-fips.{region}.{dnsSuffix}",
64+
hostname: "account-fips.{region}.amazonaws.com.cn",
6965
tags: ["fips"],
7066
},
7167
{
72-
dnsSuffix: "api.amazonwebservices.com.cn",
73-
hostname: "{service}-fips.{region}.{dnsSuffix}",
68+
hostname: "account-fips.{region}.api.amazonwebservices.com.cn",
7469
tags: ["dualstack", "fips"],
7570
},
7671
{
77-
dnsSuffix: "api.amazonwebservices.com.cn",
78-
hostname: "{service}.{region}.{dnsSuffix}",
72+
hostname: "account.{region}.api.amazonwebservices.com.cn",
7973
tags: ["dualstack"],
8074
},
8175
],
@@ -96,18 +90,15 @@ const partitionHash: PartitionHash = {
9690
hostname: "account.{region}.amazonaws.com",
9791
variants: [
9892
{
99-
dnsSuffix: "amazonaws.com",
100-
hostname: "{service}-fips.{region}.{dnsSuffix}",
93+
hostname: "account-fips.{region}.amazonaws.com",
10194
tags: ["fips"],
10295
},
10396
{
104-
dnsSuffix: "api.aws",
105-
hostname: "{service}-fips.{region}.{dnsSuffix}",
97+
hostname: "account-fips.{region}.api.aws",
10698
tags: ["dualstack", "fips"],
10799
},
108100
{
109-
dnsSuffix: "api.aws",
110-
hostname: "{service}.{region}.{dnsSuffix}",
101+
hostname: "account.{region}.api.aws",
111102
tags: ["dualstack"],
112103
},
113104
],

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

+7-13
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,15 @@ const partitionHash: PartitionHash = {
122122
hostname: "acm-pca.{region}.amazonaws.com",
123123
variants: [
124124
{
125-
dnsSuffix: "amazonaws.com",
126-
hostname: "{service}-fips.{region}.{dnsSuffix}",
125+
hostname: "acm-pca-fips.{region}.amazonaws.com",
127126
tags: ["fips"],
128127
},
129128
{
130-
dnsSuffix: "api.aws",
131-
hostname: "{service}-fips.{region}.{dnsSuffix}",
129+
hostname: "acm-pca-fips.{region}.api.aws",
132130
tags: ["dualstack", "fips"],
133131
},
134132
{
135-
dnsSuffix: "api.aws",
136-
hostname: "{service}.{region}.{dnsSuffix}",
133+
hostname: "acm-pca.{region}.api.aws",
137134
tags: ["dualstack"],
138135
},
139136
],
@@ -144,18 +141,15 @@ const partitionHash: PartitionHash = {
144141
hostname: "acm-pca.{region}.amazonaws.com.cn",
145142
variants: [
146143
{
147-
dnsSuffix: "amazonaws.com.cn",
148-
hostname: "{service}-fips.{region}.{dnsSuffix}",
144+
hostname: "acm-pca-fips.{region}.amazonaws.com.cn",
149145
tags: ["fips"],
150146
},
151147
{
152-
dnsSuffix: "api.amazonwebservices.com.cn",
153-
hostname: "{service}-fips.{region}.{dnsSuffix}",
148+
hostname: "acm-pca-fips.{region}.api.amazonwebservices.com.cn",
154149
tags: ["dualstack", "fips"],
155150
},
156151
{
157-
dnsSuffix: "api.amazonwebservices.com.cn",
158-
hostname: "{service}.{region}.{dnsSuffix}",
152+
hostname: "acm-pca.{region}.api.amazonwebservices.com.cn",
159153
tags: ["dualstack"],
160154
},
161155
],
@@ -176,7 +170,7 @@ const partitionHash: PartitionHash = {
176170
hostname: "acm-pca.{region}.amazonaws.com",
177171
variants: [
178172
{
179-
hostname: "acm-pca.{region}.{dnsSuffix}",
173+
hostname: "acm-pca.{region}.amazonaws.com",
180174
tags: ["fips"],
181175
},
182176
],

clients/client-acm/src/endpoints.ts

+9-18
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,15 @@ const partitionHash: PartitionHash = {
106106
hostname: "acm.{region}.amazonaws.com",
107107
variants: [
108108
{
109-
dnsSuffix: "amazonaws.com",
110-
hostname: "{service}-fips.{region}.{dnsSuffix}",
109+
hostname: "acm-fips.{region}.amazonaws.com",
111110
tags: ["fips"],
112111
},
113112
{
114-
dnsSuffix: "api.aws",
115-
hostname: "{service}-fips.{region}.{dnsSuffix}",
113+
hostname: "acm-fips.{region}.api.aws",
116114
tags: ["dualstack", "fips"],
117115
},
118116
{
119-
dnsSuffix: "api.aws",
120-
hostname: "{service}.{region}.{dnsSuffix}",
117+
hostname: "acm.{region}.api.aws",
121118
tags: ["dualstack"],
122119
},
123120
],
@@ -128,18 +125,15 @@ const partitionHash: PartitionHash = {
128125
hostname: "acm.{region}.amazonaws.com.cn",
129126
variants: [
130127
{
131-
dnsSuffix: "amazonaws.com.cn",
132-
hostname: "{service}-fips.{region}.{dnsSuffix}",
128+
hostname: "acm-fips.{region}.amazonaws.com.cn",
133129
tags: ["fips"],
134130
},
135131
{
136-
dnsSuffix: "api.amazonwebservices.com.cn",
137-
hostname: "{service}-fips.{region}.{dnsSuffix}",
132+
hostname: "acm-fips.{region}.api.amazonwebservices.com.cn",
138133
tags: ["dualstack", "fips"],
139134
},
140135
{
141-
dnsSuffix: "api.amazonwebservices.com.cn",
142-
hostname: "{service}.{region}.{dnsSuffix}",
136+
hostname: "acm.{region}.api.amazonwebservices.com.cn",
143137
tags: ["dualstack"],
144138
},
145139
],
@@ -160,18 +154,15 @@ const partitionHash: PartitionHash = {
160154
hostname: "acm.{region}.amazonaws.com",
161155
variants: [
162156
{
163-
dnsSuffix: "amazonaws.com",
164-
hostname: "{service}-fips.{region}.{dnsSuffix}",
157+
hostname: "acm-fips.{region}.amazonaws.com",
165158
tags: ["fips"],
166159
},
167160
{
168-
dnsSuffix: "api.aws",
169-
hostname: "{service}-fips.{region}.{dnsSuffix}",
161+
hostname: "acm-fips.{region}.api.aws",
170162
tags: ["dualstack", "fips"],
171163
},
172164
{
173-
dnsSuffix: "api.aws",
174-
hostname: "{service}.{region}.{dnsSuffix}",
165+
hostname: "acm.{region}.api.aws",
175166
tags: ["dualstack"],
176167
},
177168
],

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

+9-18
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,15 @@ const partitionHash: PartitionHash = {
3232
hostname: "a4b.{region}.amazonaws.com",
3333
variants: [
3434
{
35-
dnsSuffix: "amazonaws.com",
36-
hostname: "{service}-fips.{region}.{dnsSuffix}",
35+
hostname: "a4b-fips.{region}.amazonaws.com",
3736
tags: ["fips"],
3837
},
3938
{
40-
dnsSuffix: "api.aws",
41-
hostname: "{service}-fips.{region}.{dnsSuffix}",
39+
hostname: "a4b-fips.{region}.api.aws",
4240
tags: ["dualstack", "fips"],
4341
},
4442
{
45-
dnsSuffix: "api.aws",
46-
hostname: "{service}.{region}.{dnsSuffix}",
43+
hostname: "a4b.{region}.api.aws",
4744
tags: ["dualstack"],
4845
},
4946
],
@@ -54,18 +51,15 @@ const partitionHash: PartitionHash = {
5451
hostname: "a4b.{region}.amazonaws.com.cn",
5552
variants: [
5653
{
57-
dnsSuffix: "amazonaws.com.cn",
58-
hostname: "{service}-fips.{region}.{dnsSuffix}",
54+
hostname: "a4b-fips.{region}.amazonaws.com.cn",
5955
tags: ["fips"],
6056
},
6157
{
62-
dnsSuffix: "api.amazonwebservices.com.cn",
63-
hostname: "{service}-fips.{region}.{dnsSuffix}",
58+
hostname: "a4b-fips.{region}.api.amazonwebservices.com.cn",
6459
tags: ["dualstack", "fips"],
6560
},
6661
{
67-
dnsSuffix: "api.amazonwebservices.com.cn",
68-
hostname: "{service}.{region}.{dnsSuffix}",
62+
hostname: "a4b.{region}.api.amazonwebservices.com.cn",
6963
tags: ["dualstack"],
7064
},
7165
],
@@ -86,18 +80,15 @@ const partitionHash: PartitionHash = {
8680
hostname: "a4b.{region}.amazonaws.com",
8781
variants: [
8882
{
89-
dnsSuffix: "amazonaws.com",
90-
hostname: "{service}-fips.{region}.{dnsSuffix}",
83+
hostname: "a4b-fips.{region}.amazonaws.com",
9184
tags: ["fips"],
9285
},
9386
{
94-
dnsSuffix: "api.aws",
95-
hostname: "{service}-fips.{region}.{dnsSuffix}",
87+
hostname: "a4b-fips.{region}.api.aws",
9688
tags: ["dualstack", "fips"],
9789
},
9890
{
99-
dnsSuffix: "api.aws",
100-
hostname: "{service}.{region}.{dnsSuffix}",
91+
hostname: "a4b.{region}.api.aws",
10192
tags: ["dualstack"],
10293
},
10394
],

clients/client-amp/src/endpoints.ts

+9-18
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,15 @@ const partitionHash: PartitionHash = {
3232
hostname: "aps.{region}.amazonaws.com",
3333
variants: [
3434
{
35-
dnsSuffix: "amazonaws.com",
36-
hostname: "{service}-fips.{region}.{dnsSuffix}",
35+
hostname: "aps-fips.{region}.amazonaws.com",
3736
tags: ["fips"],
3837
},
3938
{
40-
dnsSuffix: "api.aws",
41-
hostname: "{service}-fips.{region}.{dnsSuffix}",
39+
hostname: "aps-fips.{region}.api.aws",
4240
tags: ["dualstack", "fips"],
4341
},
4442
{
45-
dnsSuffix: "api.aws",
46-
hostname: "{service}.{region}.{dnsSuffix}",
43+
hostname: "aps.{region}.api.aws",
4744
tags: ["dualstack"],
4845
},
4946
],
@@ -54,18 +51,15 @@ const partitionHash: PartitionHash = {
5451
hostname: "aps.{region}.amazonaws.com.cn",
5552
variants: [
5653
{
57-
dnsSuffix: "amazonaws.com.cn",
58-
hostname: "{service}-fips.{region}.{dnsSuffix}",
54+
hostname: "aps-fips.{region}.amazonaws.com.cn",
5955
tags: ["fips"],
6056
},
6157
{
62-
dnsSuffix: "api.amazonwebservices.com.cn",
63-
hostname: "{service}-fips.{region}.{dnsSuffix}",
58+
hostname: "aps-fips.{region}.api.amazonwebservices.com.cn",
6459
tags: ["dualstack", "fips"],
6560
},
6661
{
67-
dnsSuffix: "api.amazonwebservices.com.cn",
68-
hostname: "{service}.{region}.{dnsSuffix}",
62+
hostname: "aps.{region}.api.amazonwebservices.com.cn",
6963
tags: ["dualstack"],
7064
},
7165
],
@@ -86,18 +80,15 @@ const partitionHash: PartitionHash = {
8680
hostname: "aps.{region}.amazonaws.com",
8781
variants: [
8882
{
89-
dnsSuffix: "amazonaws.com",
90-
hostname: "{service}-fips.{region}.{dnsSuffix}",
83+
hostname: "aps-fips.{region}.amazonaws.com",
9184
tags: ["fips"],
9285
},
9386
{
94-
dnsSuffix: "api.aws",
95-
hostname: "{service}-fips.{region}.{dnsSuffix}",
87+
hostname: "aps-fips.{region}.api.aws",
9688
tags: ["dualstack", "fips"],
9789
},
9890
{
99-
dnsSuffix: "api.aws",
100-
hostname: "{service}.{region}.{dnsSuffix}",
91+
hostname: "aps.{region}.api.aws",
10192
tags: ["dualstack"],
10293
},
10394
],

0 commit comments

Comments
 (0)