File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 2 files changed +75
-5
lines changed Original file line number Diff line number Diff line change 11import { getRegionInfo , PartitionHash , RegionHash } from "@aws-sdk/config-resolver" ;
22import { 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
631const 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 {
Original file line number Diff line number Diff line change 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": {
98609888 "ap-south-1": {},
98619889 "ap-southeast-1": {},
98629890 "ap-southeast-2": {},
9891+ "ap-southeast-3": {},
98639892 "ca-central-1": {
98649893 "variants": [
98659894 {
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": {
You can’t perform that action at this time.
0 commit comments