Skip to content

Commit

Permalink
feat(clients): update client endpoints as of 2022-07-18
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 18, 2022
1 parent 3f89139 commit 87e9e29
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 6 deletions.
26 changes: 24 additions & 2 deletions clients/client-health/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,26 @@
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";

const regionHash: RegionHash = {};
const regionHash: RegionHash = {
"aws-cn-global": {
variants: [
{
hostname: "global.health.amazonaws.com.cn",
tags: [],
},
],
signingRegion: "cn-northwest-1",
},
"aws-global": {
variants: [
{
hostname: "global.health.amazonaws.com",
tags: [],
},
],
signingRegion: "us-east-1",
},
};

const partitionHash: PartitionHash = {
aws: {
Expand All @@ -16,6 +35,7 @@ const partitionHash: PartitionHash = {
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"aws-global",
"ca-central-1",
"eu-central-1",
"eu-north-1",
Expand Down Expand Up @@ -50,9 +70,10 @@ const partitionHash: PartitionHash = {
tags: ["dualstack"],
},
],
endpoint: "aws-global",
},
"aws-cn": {
regions: ["cn-north-1", "cn-northwest-1"],
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
regionRegex: "^cn\\-\\w+\\-\\d+$",
variants: [
{
Expand All @@ -72,6 +93,7 @@ const partitionHash: PartitionHash = {
tags: ["dualstack"],
},
],
endpoint: "aws-cn-global",
},
"aws-iso": {
regions: ["us-iso-east-1", "us-iso-west-1"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4693,6 +4693,16 @@
}
}
},
"edge.sagemaker": {
"endpoints": {
"ap-northeast-1": {},
"eu-central-1": {},
"eu-west-1": {},
"us-east-1": {},
"us-east-2": {},
"us-west-2": {}
}
},
"eks": {
"defaults": {
"protocols": ["http", "https"],
Expand Down Expand Up @@ -7023,7 +7033,17 @@
"isRegionalized": true
},
"health": {
"defaults": {
"protocols": ["https"],
"sslCommonName": "health.us-east-1.amazonaws.com"
},
"endpoints": {
"aws-global": {
"credentialScope": {
"region": "us-east-1"
},
"hostname": "global.health.amazonaws.com"
},
"fips-us-east-2": {
"credentialScope": {
"region": "us-east-2"
Expand All @@ -7043,7 +7063,9 @@
}
]
}
}
},
"isRegionalized": false,
"partitionEndpoint": "aws-global"
},
"healthlake": {
"defaults": {
Expand Down Expand Up @@ -16150,10 +16172,20 @@
"isRegionalized": true
},
"health": {
"defaults": {
"protocols": ["https"],
"sslCommonName": "health.cn-northwest-1.amazonaws.com.cn"
},
"endpoints": {
"cn-north-1": {},
"cn-northwest-1": {}
}
"aws-cn-global": {
"credentialScope": {
"region": "cn-northwest-1"
},
"hostname": "global.health.amazonaws.com.cn"
}
},
"isRegionalized": false,
"partitionEndpoint": "aws-cn-global"
},
"iam": {
"endpoints": {
Expand Down

0 comments on commit 87e9e29

Please sign in to comment.