Skip to content

Commit

Permalink
feat(clients): update client endpoints as of 2022-10-06
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Oct 6, 2022
1 parent ca9a579 commit ef071d5
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 4 deletions.
8 changes: 8 additions & 0 deletions clients/client-ec2/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ const regionHash: RegionHash = {
hostname: "ec2.us-gov-east-1.amazonaws.com",
tags: [],
},
{
hostname: "ec2.us-gov-east-1.api.aws",
tags: ["dualstack"],
},
],
signingRegion: "us-gov-east-1",
},
Expand All @@ -74,6 +78,10 @@ const regionHash: RegionHash = {
hostname: "ec2.us-gov-west-1.amazonaws.com",
tags: [],
},
{
hostname: "ec2.us-gov-west-1.api.aws",
tags: ["dualstack"],
},
],
signingRegion: "us-gov-west-1",
},
Expand Down
14 changes: 14 additions & 0 deletions clients/client-pinpoint/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ const regionHash: RegionHash = {
],
signingRegion: "us-east-1",
},
"us-east-2": {
variants: [
{
hostname: "pinpoint.us-east-2.amazonaws.com",
tags: [],
},
{
hostname: "pinpoint-fips.us-east-2.amazonaws.com",
tags: ["fips"],
},
],
signingRegion: "us-east-2",
},
"us-gov-west-1": {
variants: [
{
Expand Down Expand Up @@ -64,6 +77,7 @@ const partitionHash: PartitionHash = {
"eu-west-2",
"eu-west-3",
"fips-us-east-1",
"fips-us-east-2",
"fips-us-west-2",
"me-central-1",
"me-south-1",
Expand Down
33 changes: 32 additions & 1 deletion clients/client-timestream-write/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,35 @@
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";

const regionHash: RegionHash = {};
const regionHash: RegionHash = {
"ingest-fips-us-east-1": {
variants: [
{
hostname: "ingest.timestream-fips.us-east-1.amazonaws.com",
tags: [],
},
],
signingRegion: "us-east-1",
},
"ingest-fips-us-east-2": {
variants: [
{
hostname: "ingest.timestream-fips.us-east-2.amazonaws.com",
tags: [],
},
],
signingRegion: "us-east-2",
},
"ingest-fips-us-west-2": {
variants: [
{
hostname: "ingest.timestream-fips.us-west-2.amazonaws.com",
tags: [],
},
],
signingRegion: "us-west-2",
},
};

const partitionHash: PartitionHash = {
aws: {
Expand All @@ -23,6 +51,9 @@ const partitionHash: PartitionHash = {
"eu-west-1",
"eu-west-2",
"eu-west-3",
"ingest-fips-us-east-1",
"ingest-fips-us-east-2",
"ingest-fips-us-west-2",
"me-central-1",
"me-south-1",
"sa-east-1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2550,6 +2550,7 @@
"eu-west-1": {},
"eu-west-2": {},
"eu-west-3": {},
"me-central-1": {},
"me-south-1": {},
"sa-east-1": {},
"us-east-1": {},
Expand Down Expand Up @@ -7680,6 +7681,35 @@
"isRegionalized": false,
"partitionEndpoint": "aws-global"
},
"ingest.timestream": {
"endpoints": {
"ap-northeast-1": {},
"ap-southeast-2": {},
"eu-central-1": {},
"eu-west-1": {},
"ingest-fips-us-east-1": {
"credentialScope": {
"region": "us-east-1"
},
"hostname": "ingest.timestream-fips.us-east-1.amazonaws.com"
},
"ingest-fips-us-east-2": {
"credentialScope": {
"region": "us-east-2"
},
"hostname": "ingest.timestream-fips.us-east-2.amazonaws.com"
},
"ingest-fips-us-west-2": {
"credentialScope": {
"region": "us-west-2"
},
"hostname": "ingest.timestream-fips.us-west-2.amazonaws.com"
},
"us-east-1": {},
"us-east-2": {},
"us-west-2": {}
}
},
"inspector": {
"endpoints": {
"ap-northeast-1": {},
Expand Down Expand Up @@ -10952,6 +10982,13 @@
"deprecated": true,
"hostname": "pinpoint-fips.us-east-1.amazonaws.com"
},
"fips-us-east-2": {
"credentialScope": {
"region": "us-east-2"
},
"deprecated": true,
"hostname": "pinpoint-fips.us-east-2.amazonaws.com"
},
"fips-us-west-2": {
"credentialScope": {
"region": "us-west-2"
Expand All @@ -10971,6 +11008,18 @@
}
]
},
"us-east-2": {
"credentialScope": {
"region": "us-east-2"
},
"hostname": "pinpoint.us-east-2.amazonaws.com",
"variants": [
{
"hostname": "pinpoint-fips.us-east-2.amazonaws.com",
"tags": ["fips"]
}
]
},
"us-west-2": {
"credentialScope": {
"region": "us-west-2"
Expand Down Expand Up @@ -19079,13 +19128,25 @@
"credentialScope": {
"region": "us-gov-east-1"
},
"hostname": "ec2.us-gov-east-1.amazonaws.com"
"hostname": "ec2.us-gov-east-1.amazonaws.com",
"variants": [
{
"hostname": "ec2.us-gov-east-1.api.aws",
"tags": ["dualstack"]
}
]
},
"us-gov-west-1": {
"credentialScope": {
"region": "us-gov-west-1"
},
"hostname": "ec2.us-gov-west-1.amazonaws.com"
"hostname": "ec2.us-gov-west-1.amazonaws.com",
"variants": [
{
"hostname": "ec2.us-gov-west-1.api.aws",
"tags": ["dualstack"]
}
]
}
}
},
Expand Down Expand Up @@ -22526,7 +22587,8 @@
},
"synthetics": {
"endpoints": {
"us-iso-east-1": {}
"us-iso-east-1": {},
"us-iso-west-1": {}
}
},
"tagging": {
Expand Down

0 comments on commit ef071d5

Please sign in to comment.