@aws-sdk/types
Advanced tools
Comparing version 3.38.0 to 3.40.0
@@ -40,4 +40,11 @@ import { Endpoint } from "./http"; | ||
export interface RegionInfoProviderOptions { | ||
useDualstackEndpoint: boolean; | ||
useFipsEndpoint: boolean; | ||
} | ||
export interface RegionInfoProvider { | ||
(region: string, options?: any): Promise<RegionInfo | undefined>; | ||
(region: string, options?: RegionInfoProviderOptions): Promise<RegionInfo | undefined>; | ||
} | ||
@@ -44,0 +51,0 @@ |
@@ -80,2 +80,17 @@ import { Endpoint } from "./http"; | ||
/** | ||
* Options to pass when calling {@link RegionInfoProvider} | ||
*/ | ||
export interface RegionInfoProviderOptions { | ||
/** | ||
* Enables IPv6/IPv4 dualstack endpoint. | ||
* @default false | ||
*/ | ||
useDualstackEndpoint: boolean; | ||
/** | ||
* Enables FIPS compatible endpoints. | ||
* @default false | ||
*/ | ||
useFipsEndpoint: boolean; | ||
} | ||
/** | ||
* Function returns designated service's regionalization | ||
@@ -87,3 +102,3 @@ * information from given region. Each service client | ||
export interface RegionInfoProvider { | ||
(region: string, options?: any): Promise<RegionInfo | undefined>; | ||
(region: string, options?: RegionInfoProviderOptions): Promise<RegionInfo | undefined>; | ||
} | ||
@@ -90,0 +105,0 @@ /** |
{ | ||
"name": "@aws-sdk/types", | ||
"version": "3.38.0", | ||
"version": "3.40.0", | ||
"main": "./dist-cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist-es/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156607
1649