Skip to content

Commit

Permalink
feat(clients): update client endpoints to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Mar 24, 2022
1 parent 8419c39 commit 523b0fd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
14 changes: 13 additions & 1 deletion clients/client-billingconductor/src/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";

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

const partitionHash: PartitionHash = {
aws: {
Expand All @@ -15,6 +25,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 @@ -48,6 +59,7 @@ const partitionHash: PartitionHash = {
tags: ["dualstack"],
},
],
endpoint: "aws-global",
},
"aws-cn": {
regions: ["cn-north-1", "cn-northwest-1"],
Expand Down
18 changes: 17 additions & 1 deletion clients/client-chime-sdk-meetings/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ const regionHash: RegionHash = {
},
],
},
"us-gov-east-1": {
variants: [
{
hostname: "meetings-chime-fips.us-gov-east-1.amazonaws.com",
tags: ["fips"],
},
],
},
"us-gov-west-1": {
variants: [
{
hostname: "meetings-chime-fips.us-gov-west-1.amazonaws.com",
tags: ["fips"],
},
],
},
"us-west-2": {
variants: [
{
Expand Down Expand Up @@ -119,7 +135,7 @@ const partitionHash: PartitionHash = {
],
},
"aws-us-gov": {
regions: ["us-gov-east-1", "us-gov-west-1"],
regions: ["us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
variants: [
{
Expand Down

0 comments on commit 523b0fd

Please sign in to comment.