Skip to content

Commit e45d8ee

Browse files
authored
chore(clients): remove hostname key from endpoint hashes (#2990)
1 parent fefe6d6 commit e45d8ee

File tree

295 files changed

+0
-2346
lines changed

Some content is hidden

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

295 files changed

+0
-2346
lines changed

clients/client-accessanalyzer/src/endpoints.ts

-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
33

44
const regionHash: RegionHash = {
55
"ca-central-1": {
6-
hostname: "access-analyzer.ca-central-1.amazonaws.com",
76
variants: [
87
{
98
hostname: "access-analyzer.ca-central-1.amazonaws.com",
@@ -16,7 +15,6 @@ const regionHash: RegionHash = {
1615
],
1716
},
1817
"us-east-1": {
19-
hostname: "access-analyzer.us-east-1.amazonaws.com",
2018
variants: [
2119
{
2220
hostname: "access-analyzer.us-east-1.amazonaws.com",
@@ -29,7 +27,6 @@ const regionHash: RegionHash = {
2927
],
3028
},
3129
"us-east-2": {
32-
hostname: "access-analyzer.us-east-2.amazonaws.com",
3330
variants: [
3431
{
3532
hostname: "access-analyzer.us-east-2.amazonaws.com",
@@ -42,7 +39,6 @@ const regionHash: RegionHash = {
4239
],
4340
},
4441
"us-gov-east-1": {
45-
hostname: "access-analyzer.us-gov-east-1.amazonaws.com",
4642
variants: [
4743
{
4844
hostname: "access-analyzer.us-gov-east-1.amazonaws.com",
@@ -52,7 +48,6 @@ const regionHash: RegionHash = {
5248
signingRegion: "us-gov-east-1",
5349
},
5450
"us-gov-west-1": {
55-
hostname: "access-analyzer.us-gov-west-1.amazonaws.com",
5651
variants: [
5752
{
5853
hostname: "access-analyzer.us-gov-west-1.amazonaws.com",
@@ -62,7 +57,6 @@ const regionHash: RegionHash = {
6257
signingRegion: "us-gov-west-1",
6358
},
6459
"us-west-1": {
65-
hostname: "access-analyzer.us-west-1.amazonaws.com",
6660
variants: [
6761
{
6862
hostname: "access-analyzer.us-west-1.amazonaws.com",
@@ -75,7 +69,6 @@ const regionHash: RegionHash = {
7569
],
7670
},
7771
"us-west-2": {
78-
hostname: "access-analyzer.us-west-2.amazonaws.com",
7972
variants: [
8073
{
8174
hostname: "access-analyzer.us-west-2.amazonaws.com",
@@ -120,7 +113,6 @@ const partitionHash: PartitionHash = {
120113
"us-west-2",
121114
],
122115
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
123-
hostname: "access-analyzer.{region}.amazonaws.com",
124116
variants: [
125117
{
126118
hostname: "access-analyzer.{region}.amazonaws.com",
@@ -143,7 +135,6 @@ const partitionHash: PartitionHash = {
143135
"aws-cn": {
144136
regions: ["cn-north-1", "cn-northwest-1"],
145137
regionRegex: "^cn\\-\\w+\\-\\d+$",
146-
hostname: "access-analyzer.{region}.amazonaws.com.cn",
147138
variants: [
148139
{
149140
hostname: "access-analyzer.{region}.amazonaws.com.cn",
@@ -166,7 +157,6 @@ const partitionHash: PartitionHash = {
166157
"aws-iso": {
167158
regions: ["us-iso-east-1", "us-iso-west-1"],
168159
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
169-
hostname: "access-analyzer.{region}.c2s.ic.gov",
170160
variants: [
171161
{
172162
hostname: "access-analyzer.{region}.c2s.ic.gov",
@@ -177,7 +167,6 @@ const partitionHash: PartitionHash = {
177167
"aws-iso-b": {
178168
regions: ["us-isob-east-1"],
179169
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
180-
hostname: "access-analyzer.{region}.sc2s.sgov.gov",
181170
variants: [
182171
{
183172
hostname: "access-analyzer.{region}.sc2s.sgov.gov",
@@ -188,7 +177,6 @@ const partitionHash: PartitionHash = {
188177
"aws-us-gov": {
189178
regions: ["us-gov-east-1", "us-gov-west-1"],
190179
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
191-
hostname: "access-analyzer.{region}.amazonaws.com",
192180
variants: [
193181
{
194182
hostname: "access-analyzer.{region}.amazonaws.com",

clients/client-account/src/endpoints.ts

-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
33

44
const regionHash: RegionHash = {
55
"aws-cn-global": {
6-
hostname: "account.cn-northwest-1.amazonaws.com.cn",
76
variants: [
87
{
98
hostname: "account.cn-northwest-1.amazonaws.com.cn",
@@ -13,7 +12,6 @@ const regionHash: RegionHash = {
1312
signingRegion: "cn-northwest-1",
1413
},
1514
"aws-global": {
16-
hostname: "account.us-east-1.amazonaws.com",
1715
variants: [
1816
{
1917
hostname: "account.us-east-1.amazonaws.com",
@@ -51,7 +49,6 @@ const partitionHash: PartitionHash = {
5149
"us-west-2",
5250
],
5351
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
54-
hostname: "account.{region}.amazonaws.com",
5552
variants: [
5653
{
5754
hostname: "account.{region}.amazonaws.com",
@@ -75,7 +72,6 @@ const partitionHash: PartitionHash = {
7572
"aws-cn": {
7673
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
7774
regionRegex: "^cn\\-\\w+\\-\\d+$",
78-
hostname: "account.{region}.amazonaws.com.cn",
7975
variants: [
8076
{
8177
hostname: "account.{region}.amazonaws.com.cn",
@@ -99,7 +95,6 @@ const partitionHash: PartitionHash = {
9995
"aws-iso": {
10096
regions: ["us-iso-east-1", "us-iso-west-1"],
10197
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
102-
hostname: "account.{region}.c2s.ic.gov",
10398
variants: [
10499
{
105100
hostname: "account.{region}.c2s.ic.gov",
@@ -110,7 +105,6 @@ const partitionHash: PartitionHash = {
110105
"aws-iso-b": {
111106
regions: ["us-isob-east-1"],
112107
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
113-
hostname: "account.{region}.sc2s.sgov.gov",
114108
variants: [
115109
{
116110
hostname: "account.{region}.sc2s.sgov.gov",
@@ -121,7 +115,6 @@ const partitionHash: PartitionHash = {
121115
"aws-us-gov": {
122116
regions: ["us-gov-east-1", "us-gov-west-1"],
123117
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
124-
hostname: "account.{region}.amazonaws.com",
125118
variants: [
126119
{
127120
hostname: "account.{region}.amazonaws.com",

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

-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
33

44
const regionHash: RegionHash = {
55
"ca-central-1": {
6-
hostname: "acm-pca.ca-central-1.amazonaws.com",
76
variants: [
87
{
98
hostname: "acm-pca.ca-central-1.amazonaws.com",
@@ -16,7 +15,6 @@ const regionHash: RegionHash = {
1615
],
1716
},
1817
"us-east-1": {
19-
hostname: "acm-pca.us-east-1.amazonaws.com",
2018
variants: [
2119
{
2220
hostname: "acm-pca.us-east-1.amazonaws.com",
@@ -29,7 +27,6 @@ const regionHash: RegionHash = {
2927
],
3028
},
3129
"us-east-2": {
32-
hostname: "acm-pca.us-east-2.amazonaws.com",
3330
variants: [
3431
{
3532
hostname: "acm-pca.us-east-2.amazonaws.com",
@@ -42,7 +39,6 @@ const regionHash: RegionHash = {
4239
],
4340
},
4441
"us-gov-east-1": {
45-
hostname: "acm-pca.us-gov-east-1.amazonaws.com",
4642
variants: [
4743
{
4844
hostname: "acm-pca.us-gov-east-1.amazonaws.com",
@@ -55,7 +51,6 @@ const regionHash: RegionHash = {
5551
],
5652
},
5753
"us-gov-west-1": {
58-
hostname: "acm-pca.us-gov-west-1.amazonaws.com",
5954
variants: [
6055
{
6156
hostname: "acm-pca.us-gov-west-1.amazonaws.com",
@@ -68,7 +63,6 @@ const regionHash: RegionHash = {
6863
],
6964
},
7065
"us-west-1": {
71-
hostname: "acm-pca.us-west-1.amazonaws.com",
7266
variants: [
7367
{
7468
hostname: "acm-pca.us-west-1.amazonaws.com",
@@ -81,7 +75,6 @@ const regionHash: RegionHash = {
8175
],
8276
},
8377
"us-west-2": {
84-
hostname: "acm-pca.us-west-2.amazonaws.com",
8578
variants: [
8679
{
8780
hostname: "acm-pca.us-west-2.amazonaws.com",
@@ -126,7 +119,6 @@ const partitionHash: PartitionHash = {
126119
"us-west-2",
127120
],
128121
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
129-
hostname: "acm-pca.{region}.amazonaws.com",
130122
variants: [
131123
{
132124
hostname: "acm-pca.{region}.amazonaws.com",
@@ -149,7 +141,6 @@ const partitionHash: PartitionHash = {
149141
"aws-cn": {
150142
regions: ["cn-north-1", "cn-northwest-1"],
151143
regionRegex: "^cn\\-\\w+\\-\\d+$",
152-
hostname: "acm-pca.{region}.amazonaws.com.cn",
153144
variants: [
154145
{
155146
hostname: "acm-pca.{region}.amazonaws.com.cn",
@@ -172,7 +163,6 @@ const partitionHash: PartitionHash = {
172163
"aws-iso": {
173164
regions: ["us-iso-east-1", "us-iso-west-1"],
174165
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
175-
hostname: "acm-pca.{region}.c2s.ic.gov",
176166
variants: [
177167
{
178168
hostname: "acm-pca.{region}.c2s.ic.gov",
@@ -183,7 +173,6 @@ const partitionHash: PartitionHash = {
183173
"aws-iso-b": {
184174
regions: ["us-isob-east-1"],
185175
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
186-
hostname: "acm-pca.{region}.sc2s.sgov.gov",
187176
variants: [
188177
{
189178
hostname: "acm-pca.{region}.sc2s.sgov.gov",
@@ -194,7 +183,6 @@ const partitionHash: PartitionHash = {
194183
"aws-us-gov": {
195184
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
196185
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
197-
hostname: "acm-pca.{region}.amazonaws.com",
198186
variants: [
199187
{
200188
hostname: "acm-pca.{region}.amazonaws.com",

clients/client-acm/src/endpoints.ts

-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
33

44
const regionHash: RegionHash = {
55
"ca-central-1": {
6-
hostname: "acm.ca-central-1.amazonaws.com",
76
variants: [
87
{
98
hostname: "acm.ca-central-1.amazonaws.com",
@@ -16,7 +15,6 @@ const regionHash: RegionHash = {
1615
],
1716
},
1817
"us-east-1": {
19-
hostname: "acm.us-east-1.amazonaws.com",
2018
variants: [
2119
{
2220
hostname: "acm.us-east-1.amazonaws.com",
@@ -29,7 +27,6 @@ const regionHash: RegionHash = {
2927
],
3028
},
3129
"us-east-2": {
32-
hostname: "acm.us-east-2.amazonaws.com",
3330
variants: [
3431
{
3532
hostname: "acm.us-east-2.amazonaws.com",
@@ -42,7 +39,6 @@ const regionHash: RegionHash = {
4239
],
4340
},
4441
"us-gov-east-1": {
45-
hostname: "acm.us-gov-east-1.amazonaws.com",
4642
variants: [
4743
{
4844
hostname: "acm.us-gov-east-1.amazonaws.com",
@@ -52,7 +48,6 @@ const regionHash: RegionHash = {
5248
signingRegion: "us-gov-east-1",
5349
},
5450
"us-gov-west-1": {
55-
hostname: "acm.us-gov-west-1.amazonaws.com",
5651
variants: [
5752
{
5853
hostname: "acm.us-gov-west-1.amazonaws.com",
@@ -62,7 +57,6 @@ const regionHash: RegionHash = {
6257
signingRegion: "us-gov-west-1",
6358
},
6459
"us-west-1": {
65-
hostname: "acm.us-west-1.amazonaws.com",
6660
variants: [
6761
{
6862
hostname: "acm.us-west-1.amazonaws.com",
@@ -75,7 +69,6 @@ const regionHash: RegionHash = {
7569
],
7670
},
7771
"us-west-2": {
78-
hostname: "acm.us-west-2.amazonaws.com",
7972
variants: [
8073
{
8174
hostname: "acm.us-west-2.amazonaws.com",
@@ -120,7 +113,6 @@ const partitionHash: PartitionHash = {
120113
"us-west-2-fips",
121114
],
122115
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
123-
hostname: "acm.{region}.amazonaws.com",
124116
variants: [
125117
{
126118
hostname: "acm.{region}.amazonaws.com",
@@ -143,7 +135,6 @@ const partitionHash: PartitionHash = {
143135
"aws-cn": {
144136
regions: ["cn-north-1", "cn-northwest-1"],
145137
regionRegex: "^cn\\-\\w+\\-\\d+$",
146-
hostname: "acm.{region}.amazonaws.com.cn",
147138
variants: [
148139
{
149140
hostname: "acm.{region}.amazonaws.com.cn",
@@ -166,7 +157,6 @@ const partitionHash: PartitionHash = {
166157
"aws-iso": {
167158
regions: ["us-iso-east-1", "us-iso-west-1"],
168159
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
169-
hostname: "acm.{region}.c2s.ic.gov",
170160
variants: [
171161
{
172162
hostname: "acm.{region}.c2s.ic.gov",
@@ -177,7 +167,6 @@ const partitionHash: PartitionHash = {
177167
"aws-iso-b": {
178168
regions: ["us-isob-east-1"],
179169
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
180-
hostname: "acm.{region}.sc2s.sgov.gov",
181170
variants: [
182171
{
183172
hostname: "acm.{region}.sc2s.sgov.gov",
@@ -188,7 +177,6 @@ const partitionHash: PartitionHash = {
188177
"aws-us-gov": {
189178
regions: ["us-gov-east-1", "us-gov-west-1"],
190179
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
191-
hostname: "acm.{region}.amazonaws.com",
192180
variants: [
193181
{
194182
hostname: "acm.{region}.amazonaws.com",

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

-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const partitionHash: PartitionHash = {
2929
"us-west-2",
3030
],
3131
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
32-
hostname: "a4b.{region}.amazonaws.com",
3332
variants: [
3433
{
3534
hostname: "a4b.{region}.amazonaws.com",
@@ -52,7 +51,6 @@ const partitionHash: PartitionHash = {
5251
"aws-cn": {
5352
regions: ["cn-north-1", "cn-northwest-1"],
5453
regionRegex: "^cn\\-\\w+\\-\\d+$",
55-
hostname: "a4b.{region}.amazonaws.com.cn",
5654
variants: [
5755
{
5856
hostname: "a4b.{region}.amazonaws.com.cn",
@@ -75,7 +73,6 @@ const partitionHash: PartitionHash = {
7573
"aws-iso": {
7674
regions: ["us-iso-east-1", "us-iso-west-1"],
7775
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
78-
hostname: "a4b.{region}.c2s.ic.gov",
7976
variants: [
8077
{
8178
hostname: "a4b.{region}.c2s.ic.gov",
@@ -86,7 +83,6 @@ const partitionHash: PartitionHash = {
8683
"aws-iso-b": {
8784
regions: ["us-isob-east-1"],
8885
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
89-
hostname: "a4b.{region}.sc2s.sgov.gov",
9086
variants: [
9187
{
9288
hostname: "a4b.{region}.sc2s.sgov.gov",
@@ -97,7 +93,6 @@ const partitionHash: PartitionHash = {
9793
"aws-us-gov": {
9894
regions: ["us-gov-east-1", "us-gov-west-1"],
9995
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
100-
hostname: "a4b.{region}.amazonaws.com",
10196
variants: [
10297
{
10398
hostname: "a4b.{region}.amazonaws.com",

0 commit comments

Comments
 (0)