File tree 1 file changed +9
-1
lines changed
packages/config-resolver/src/regionInfo
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,22 @@ import { PartitionHash } from "./PartitionHash";
7
7
import { RegionHash } from "./RegionHash" ;
8
8
9
9
export interface GetRegionInfoOptions {
10
+ isFipsEndpoint ?: boolean ;
11
+ isDualstackEndpoint ?: boolean ;
10
12
signingService : string ;
11
13
regionHash : RegionHash ;
12
14
partitionHash : PartitionHash ;
13
15
}
14
16
15
17
export const getRegionInfo = (
16
18
region : string ,
17
- { signingService, regionHash, partitionHash } : GetRegionInfoOptions
19
+ {
20
+ isFipsEndpoint = false ,
21
+ isDualstackEndpoint = false ,
22
+ signingService,
23
+ regionHash,
24
+ partitionHash,
25
+ } : GetRegionInfoOptions
18
26
) : RegionInfo => {
19
27
const partition = getResolvedPartition ( region , { partitionHash } ) ;
20
28
const resolvedRegion = region in regionHash ? region : partitionHash [ partition ] ?. endpoint ?? region ;
You can’t perform that action at this time.
0 commit comments