Skip to content

Commit 11b2fe6

Browse files
author
awstools
committed
feat(clients): update client endpoints as of 2022-04-06
1 parent 23658e5 commit 11b2fe6

File tree

2 files changed

+75
-5
lines changed
  • clients/client-iotsitewise/src
  • codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen

2 files changed

+75
-5
lines changed

clients/client-iotsitewise/src/endpoints.ts

+29-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,32 @@
11
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
22
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
33

4-
const regionHash: RegionHash = {};
4+
const regionHash: RegionHash = {
5+
"us-east-1": {
6+
variants: [
7+
{
8+
hostname: "iotsitewise-fips.us-east-1.amazonaws.com",
9+
tags: ["fips"],
10+
},
11+
],
12+
},
13+
"us-gov-west-1": {
14+
variants: [
15+
{
16+
hostname: "iotsitewise-fips.us-gov-west-1.amazonaws.com",
17+
tags: ["fips"],
18+
},
19+
],
20+
},
21+
"us-west-2": {
22+
variants: [
23+
{
24+
hostname: "iotsitewise-fips.us-west-2.amazonaws.com",
25+
tags: ["fips"],
26+
},
27+
],
28+
},
29+
};
530

631
const partitionHash: PartitionHash = {
732
aws: {
@@ -22,6 +47,8 @@ const partitionHash: PartitionHash = {
2247
"eu-west-1",
2348
"eu-west-2",
2449
"eu-west-3",
50+
"fips-us-east-1",
51+
"fips-us-west-2",
2552
"me-south-1",
2653
"sa-east-1",
2754
"us-east-1",
@@ -100,7 +127,7 @@ const partitionHash: PartitionHash = {
100127
],
101128
},
102129
"aws-us-gov": {
103-
regions: ["us-gov-east-1", "us-gov-west-1"],
130+
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
104131
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
105132
variants: [
106133
{

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

+46-3
Original file line numberDiff line numberDiff line change
@@ -7131,8 +7131,36 @@
71317131
"ap-southeast-2": {},
71327132
"eu-central-1": {},
71337133
"eu-west-1": {},
7134-
"us-east-1": {},
7135-
"us-west-2": {}
7134+
"fips-us-east-1": {
7135+
"credentialScope": {
7136+
"region": "us-east-1"
7137+
},
7138+
"deprecated": true,
7139+
"hostname": "iotsitewise-fips.us-east-1.amazonaws.com"
7140+
},
7141+
"fips-us-west-2": {
7142+
"credentialScope": {
7143+
"region": "us-west-2"
7144+
},
7145+
"deprecated": true,
7146+
"hostname": "iotsitewise-fips.us-west-2.amazonaws.com"
7147+
},
7148+
"us-east-1": {
7149+
"variants": [
7150+
{
7151+
"hostname": "iotsitewise-fips.us-east-1.amazonaws.com",
7152+
"tags": ["fips"]
7153+
}
7154+
]
7155+
},
7156+
"us-west-2": {
7157+
"variants": [
7158+
{
7159+
"hostname": "iotsitewise-fips.us-west-2.amazonaws.com",
7160+
"tags": ["fips"]
7161+
}
7162+
]
7163+
}
71367164
}
71377165
},
71387166
"iotthingsgraph": {
@@ -9860,6 +9888,7 @@
98609888
"ap-south-1": {},
98619889
"ap-southeast-1": {},
98629890
"ap-southeast-2": {},
9891+
"ap-southeast-3": {},
98639892
"ca-central-1": {
98649893
"variants": [
98659894
{
@@ -17497,7 +17526,21 @@
1749717526
},
1749817527
"iotsitewise": {
1749917528
"endpoints": {
17500-
"us-gov-west-1": {}
17529+
"fips-us-gov-west-1": {
17530+
"credentialScope": {
17531+
"region": "us-gov-west-1"
17532+
},
17533+
"deprecated": true,
17534+
"hostname": "iotsitewise-fips.us-gov-west-1.amazonaws.com"
17535+
},
17536+
"us-gov-west-1": {
17537+
"variants": [
17538+
{
17539+
"hostname": "iotsitewise-fips.us-gov-west-1.amazonaws.com",
17540+
"tags": ["fips"]
17541+
}
17542+
]
17543+
}
1750117544
}
1750217545
},
1750317546
"kafka": {

0 commit comments

Comments
 (0)