Skip to content

Commit 7f93a8b

Browse files
committed
chore(clients): populate default hostname and variant in PartitionHash
1 parent fdb5b45 commit 7f93a8b

File tree

289 files changed

+3518
-23
lines changed

Some content is hidden

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

289 files changed

+3518
-23
lines changed

clients/client-accessanalyzer/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,23 @@ const partitionHash: PartitionHash = {
217217
regions: ["us-iso-east-1", "us-iso-west-1"],
218218
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
219219
hostname: "access-analyzer.{region}.c2s.ic.gov",
220+
variants: [
221+
{
222+
hostname: "access-analyzer.{region}.c2s.ic.gov",
223+
tags: [],
224+
},
225+
],
220226
},
221227
"aws-iso-b": {
222228
regions: ["us-isob-east-1"],
223229
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
224230
hostname: "access-analyzer.{region}.sc2s.sgov.gov",
231+
variants: [
232+
{
233+
hostname: "access-analyzer.{region}.sc2s.sgov.gov",
234+
tags: [],
235+
},
236+
],
225237
},
226238
"aws-us-gov": {
227239
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-account/src/endpoints.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const partitionHash: PartitionHash = {
5151
"us-west-2",
5252
],
5353
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
54-
endpoint: "aws-global",
54+
hostname: "account.{region}.amazonaws.com",
5555
variants: [
5656
{
5757
hostname: "account-fips.{region}.amazonaws.com",
@@ -70,11 +70,12 @@ const partitionHash: PartitionHash = {
7070
tags: [],
7171
},
7272
],
73+
endpoint: "aws-global",
7374
},
7475
"aws-cn": {
7576
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
7677
regionRegex: "^cn\\-\\w+\\-\\d+$",
77-
endpoint: "aws-cn-global",
78+
hostname: "account.{region}.amazonaws.com.cn",
7879
variants: [
7980
{
8081
hostname: "account-fips.{region}.amazonaws.com.cn",
@@ -93,16 +94,29 @@ const partitionHash: PartitionHash = {
9394
tags: [],
9495
},
9596
],
97+
endpoint: "aws-cn-global",
9698
},
9799
"aws-iso": {
98100
regions: ["us-iso-east-1", "us-iso-west-1"],
99101
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
100102
hostname: "account.{region}.c2s.ic.gov",
103+
variants: [
104+
{
105+
hostname: "account.{region}.c2s.ic.gov",
106+
tags: [],
107+
},
108+
],
101109
},
102110
"aws-iso-b": {
103111
regions: ["us-isob-east-1"],
104112
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
105113
hostname: "account.{region}.sc2s.sgov.gov",
114+
variants: [
115+
{
116+
hostname: "account.{region}.sc2s.sgov.gov",
117+
tags: [],
118+
},
119+
],
106120
},
107121
"aws-us-gov": {
108122
regions: ["us-gov-east-1", "us-gov-west-1"],

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,23 @@ const partitionHash: PartitionHash = {
243243
regions: ["us-iso-east-1", "us-iso-west-1"],
244244
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
245245
hostname: "acm-pca.{region}.c2s.ic.gov",
246+
variants: [
247+
{
248+
hostname: "acm-pca.{region}.c2s.ic.gov",
249+
tags: [],
250+
},
251+
],
246252
},
247253
"aws-iso-b": {
248254
regions: ["us-isob-east-1"],
249255
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
250256
hostname: "acm-pca.{region}.sc2s.sgov.gov",
257+
variants: [
258+
{
259+
hostname: "acm-pca.{region}.sc2s.sgov.gov",
260+
tags: [],
261+
},
262+
],
251263
},
252264
"aws-us-gov": {
253265
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],

clients/client-acm/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,23 @@ const partitionHash: PartitionHash = {
217217
regions: ["us-iso-east-1", "us-iso-west-1"],
218218
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
219219
hostname: "acm.{region}.c2s.ic.gov",
220+
variants: [
221+
{
222+
hostname: "acm.{region}.c2s.ic.gov",
223+
tags: [],
224+
},
225+
],
220226
},
221227
"aws-iso-b": {
222228
regions: ["us-isob-east-1"],
223229
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
224230
hostname: "acm.{region}.sc2s.sgov.gov",
231+
variants: [
232+
{
233+
hostname: "acm.{region}.sc2s.sgov.gov",
234+
tags: [],
235+
},
236+
],
225237
},
226238
"aws-us-gov": {
227239
regions: ["us-gov-east-1", "us-gov-west-1"],

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "a4b.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "a4b.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "a4b.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "a4b.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-amp/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "aps.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "aps.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "aps.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "aps.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-amplify/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "amplify.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "amplify.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "amplify.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "amplify.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-amplifybackend/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "amplifybackend.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "amplifybackend.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "amplifybackend.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "amplifybackend.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-api-gateway/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "apigateway.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "apigateway.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "apigateway.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "apigateway.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-apigatewaymanagementapi/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "execute-api.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "execute-api.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "execute-api.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "execute-api.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-apigatewayv2/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "apigateway.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "apigateway.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "apigateway.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "apigateway.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-app-mesh/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "appmesh.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "appmesh.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "appmesh.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "appmesh.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-appconfig/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "appconfig.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "appconfig.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "appconfig.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "appconfig.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-appflow/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "appflow.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "appflow.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "appflow.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "appflow.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

clients/client-appintegrations/src/endpoints.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,23 @@ const partitionHash: PartitionHash = {
7676
regions: ["us-iso-east-1", "us-iso-west-1"],
7777
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
7878
hostname: "app-integrations.{region}.c2s.ic.gov",
79+
variants: [
80+
{
81+
hostname: "app-integrations.{region}.c2s.ic.gov",
82+
tags: [],
83+
},
84+
],
7985
},
8086
"aws-iso-b": {
8187
regions: ["us-isob-east-1"],
8288
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
8389
hostname: "app-integrations.{region}.sc2s.sgov.gov",
90+
variants: [
91+
{
92+
hostname: "app-integrations.{region}.sc2s.sgov.gov",
93+
tags: [],
94+
},
95+
],
8496
},
8597
"aws-us-gov": {
8698
regions: ["us-gov-east-1", "us-gov-west-1"],

0 commit comments

Comments
 (0)