Skip to content

Commit 8e5b8ec

Browse files
author
awstools
committed
feat(clients): update client endpoints as of 2022-10-07
1 parent b773c5c commit 8e5b8ec

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

clients/client-cloudtrail/src/endpoints.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const partitionHash: PartitionHash = {
163163
tags: [],
164164
},
165165
{
166-
hostname: "cloudtrail-fips.{region}.amazonaws.com",
166+
hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
167167
tags: ["fips"],
168168
},
169169
{

clients/client-wisdom/src/endpoints.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
33
import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types";
44

5-
const regionHash: RegionHash = {};
5+
const regionHash: RegionHash = {
6+
"us-east-1": {
7+
variants: [],
8+
},
9+
"us-west-2": {
10+
variants: [],
11+
},
12+
};
613

714
const partitionHash: PartitionHash = {
815
aws: {
@@ -23,6 +30,8 @@ const partitionHash: PartitionHash = {
2330
"eu-west-1",
2431
"eu-west-2",
2532
"eu-west-3",
33+
"fips-us-east-1",
34+
"fips-us-west-2",
2635
"me-central-1",
2736
"me-south-1",
2837
"sa-east-1",

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

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7471,6 +7471,7 @@
74717471
"eu-west-1": {},
74727472
"eu-west-2": {},
74737473
"eu-west-3": {},
7474+
"me-central-1": {},
74747475
"me-south-1": {},
74757476
"sa-east-1": {},
74767477
"us-east-1": {
@@ -16460,8 +16461,26 @@
1646016461
"ap-southeast-2": {},
1646116462
"eu-central-1": {},
1646216463
"eu-west-2": {},
16463-
"us-east-1": {},
16464-
"us-west-2": {}
16464+
"fips-us-east-1": {
16465+
"deprecated": true
16466+
},
16467+
"fips-us-west-2": {
16468+
"deprecated": true
16469+
},
16470+
"us-east-1": {
16471+
"variants": [
16472+
{
16473+
"tags": ["fips"]
16474+
}
16475+
]
16476+
},
16477+
"us-west-2": {
16478+
"variants": [
16479+
{
16480+
"tags": ["fips"]
16481+
}
16482+
]
16483+
}
1646516484
}
1646616485
},
1646716486
"workdocs": {
@@ -18499,6 +18518,14 @@
1849918518
}
1850018519
},
1850118520
"cloudtrail": {
18521+
"defaults": {
18522+
"variants": [
18523+
{
18524+
"hostname": "cloudtrail.us-gov-west-1.amazonaws.com",
18525+
"tags": ["fips"]
18526+
}
18527+
]
18528+
},
1850218529
"endpoints": {
1850318530
"fips-us-gov-east-1": {
1850418531
"credentialScope": {

0 commit comments

Comments
 (0)