Skip to content

Commit

Permalink
feat(clients): update client endpoints as of 2022-04-06
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 6, 2022
1 parent 23658e5 commit 11b2fe6
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 5 deletions.
31 changes: 29 additions & 2 deletions clients/client-iotsitewise/src/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";

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

const partitionHash: PartitionHash = {
aws: {
Expand All @@ -22,6 +47,8 @@ const partitionHash: PartitionHash = {
"eu-west-1",
"eu-west-2",
"eu-west-3",
"fips-us-east-1",
"fips-us-west-2",
"me-south-1",
"sa-east-1",
"us-east-1",
Expand Down Expand Up @@ -100,7 +127,7 @@ const partitionHash: PartitionHash = {
],
},
"aws-us-gov": {
regions: ["us-gov-east-1", "us-gov-west-1"],
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
variants: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7131,8 +7131,36 @@
"ap-southeast-2": {},
"eu-central-1": {},
"eu-west-1": {},
"us-east-1": {},
"us-west-2": {}
"fips-us-east-1": {
"credentialScope": {
"region": "us-east-1"
},
"deprecated": true,
"hostname": "iotsitewise-fips.us-east-1.amazonaws.com"
},
"fips-us-west-2": {
"credentialScope": {
"region": "us-west-2"
},
"deprecated": true,
"hostname": "iotsitewise-fips.us-west-2.amazonaws.com"
},
"us-east-1": {
"variants": [
{
"hostname": "iotsitewise-fips.us-east-1.amazonaws.com",
"tags": ["fips"]
}
]
},
"us-west-2": {
"variants": [
{
"hostname": "iotsitewise-fips.us-west-2.amazonaws.com",
"tags": ["fips"]
}
]
}
}
},
"iotthingsgraph": {
Expand Down Expand Up @@ -9860,6 +9888,7 @@
"ap-south-1": {},
"ap-southeast-1": {},
"ap-southeast-2": {},
"ap-southeast-3": {},
"ca-central-1": {
"variants": [
{
Expand Down Expand Up @@ -17497,7 +17526,21 @@
},
"iotsitewise": {
"endpoints": {
"us-gov-west-1": {}
"fips-us-gov-west-1": {
"credentialScope": {
"region": "us-gov-west-1"
},
"deprecated": true,
"hostname": "iotsitewise-fips.us-gov-west-1.amazonaws.com"
},
"us-gov-west-1": {
"variants": [
{
"hostname": "iotsitewise-fips.us-gov-west-1.amazonaws.com",
"tags": ["fips"]
}
]
}
}
},
"kafka": {
Expand Down

0 comments on commit 11b2fe6

Please sign in to comment.