Skip to content

Commit 87e9e29

Browse files
author
awstools
committed
feat(clients): update client endpoints as of 2022-07-18
1 parent 3f89139 commit 87e9e29

File tree

2 files changed

+60
-6
lines changed
  • clients/client-health/src
  • codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen

2 files changed

+60
-6
lines changed

clients/client-health/src/endpoints.ts

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,26 @@
22
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
33
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
44

5-
const regionHash: RegionHash = {};
5+
const regionHash: RegionHash = {
6+
"aws-cn-global": {
7+
variants: [
8+
{
9+
hostname: "global.health.amazonaws.com.cn",
10+
tags: [],
11+
},
12+
],
13+
signingRegion: "cn-northwest-1",
14+
},
15+
"aws-global": {
16+
variants: [
17+
{
18+
hostname: "global.health.amazonaws.com",
19+
tags: [],
20+
},
21+
],
22+
signingRegion: "us-east-1",
23+
},
24+
};
625

726
const partitionHash: PartitionHash = {
827
aws: {
@@ -16,6 +35,7 @@ const partitionHash: PartitionHash = {
1635
"ap-southeast-1",
1736
"ap-southeast-2",
1837
"ap-southeast-3",
38+
"aws-global",
1939
"ca-central-1",
2040
"eu-central-1",
2141
"eu-north-1",
@@ -50,9 +70,10 @@ const partitionHash: PartitionHash = {
5070
tags: ["dualstack"],
5171
},
5272
],
73+
endpoint: "aws-global",
5374
},
5475
"aws-cn": {
55-
regions: ["cn-north-1", "cn-northwest-1"],
76+
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
5677
regionRegex: "^cn\\-\\w+\\-\\d+$",
5778
variants: [
5879
{
@@ -72,6 +93,7 @@ const partitionHash: PartitionHash = {
7293
tags: ["dualstack"],
7394
},
7495
],
96+
endpoint: "aws-cn-global",
7597
},
7698
"aws-iso": {
7799
regions: ["us-iso-east-1", "us-iso-west-1"],

codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4693,6 +4693,16 @@
46934693
}
46944694
}
46954695
},
4696+
"edge.sagemaker": {
4697+
"endpoints": {
4698+
"ap-northeast-1": {},
4699+
"eu-central-1": {},
4700+
"eu-west-1": {},
4701+
"us-east-1": {},
4702+
"us-east-2": {},
4703+
"us-west-2": {}
4704+
}
4705+
},
46964706
"eks": {
46974707
"defaults": {
46984708
"protocols": ["http", "https"],
@@ -7023,7 +7033,17 @@
70237033
"isRegionalized": true
70247034
},
70257035
"health": {
7036+
"defaults": {
7037+
"protocols": ["https"],
7038+
"sslCommonName": "health.us-east-1.amazonaws.com"
7039+
},
70267040
"endpoints": {
7041+
"aws-global": {
7042+
"credentialScope": {
7043+
"region": "us-east-1"
7044+
},
7045+
"hostname": "global.health.amazonaws.com"
7046+
},
70277047
"fips-us-east-2": {
70287048
"credentialScope": {
70297049
"region": "us-east-2"
@@ -7043,7 +7063,9 @@
70437063
}
70447064
]
70457065
}
7046-
}
7066+
},
7067+
"isRegionalized": false,
7068+
"partitionEndpoint": "aws-global"
70477069
},
70487070
"healthlake": {
70497071
"defaults": {
@@ -16150,10 +16172,20 @@
1615016172
"isRegionalized": true
1615116173
},
1615216174
"health": {
16175+
"defaults": {
16176+
"protocols": ["https"],
16177+
"sslCommonName": "health.cn-northwest-1.amazonaws.com.cn"
16178+
},
1615316179
"endpoints": {
16154-
"cn-north-1": {},
16155-
"cn-northwest-1": {}
16156-
}
16180+
"aws-cn-global": {
16181+
"credentialScope": {
16182+
"region": "cn-northwest-1"
16183+
},
16184+
"hostname": "global.health.amazonaws.com.cn"
16185+
}
16186+
},
16187+
"isRegionalized": false,
16188+
"partitionEndpoint": "aws-cn-global"
1615716189
},
1615816190
"iam": {
1615916191
"endpoints": {

0 commit comments

Comments
 (0)