@aws-sdk/config-resolver
Advanced tools
Comparing version 3.300.0 to 3.303.0
@@ -0,4 +1,16 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./NodeUseDualstackEndpointConfigOptions"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./NodeUseFipsEndpointConfigOptions"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./resolveCustomEndpointsConfig"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./resolveEndpointsConfig"; |
import { LoadedConfigSelectors } from "@aws-sdk/node-config-provider"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const DEFAULT_USE_DUALSTACK_ENDPOINT = false; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>; |
import { LoadedConfigSelectors } from "@aws-sdk/node-config-provider"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const DEFAULT_USE_FIPS_ENDPOINT = false; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>; |
import { Endpoint, Provider, UrlParser } from "@aws-sdk/types"; | ||
import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface CustomEndpointsInputConfig extends EndpointsInputConfig { | ||
@@ -12,2 +15,5 @@ /** | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig { | ||
@@ -20,3 +26,6 @@ /** | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const resolveCustomEndpointsConfig: <T>(input: T & CustomEndpointsInputConfig & PreviouslyResolved) => T & CustomEndpointsResolvedConfig; | ||
export {}; |
import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@aws-sdk/types"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface EndpointsInputConfig { | ||
@@ -23,2 +26,5 @@ /** | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig> { | ||
@@ -40,2 +46,4 @@ /** | ||
/** | ||
* @internal | ||
* | ||
* @deprecated endpoints rulesets use @aws-sdk/middleware-endpoint resolveEndpointConfig. | ||
@@ -42,0 +50,0 @@ * All generated clients should migrate to Endpoints 2.0 endpointRuleSet traits. |
@@ -0,3 +1,12 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./endpointsConfig"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./regionConfig"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./regionInfo"; |
import { LoadedConfigSelectors, LocalConfigOptions } from "@aws-sdk/node-config-provider"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const REGION_ENV_NAME = "AWS_REGION"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const REGION_INI_NAME = "region"; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const NODE_REGION_CONFIG_OPTIONS: LoadedConfigSelectors<string>; | ||
/** | ||
* @internal | ||
*/ | ||
export declare const NODE_REGION_CONFIG_FILE_OPTIONS: LocalConfigOptions; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getRealRegion: (region: string) => string; |
@@ -0,2 +1,8 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./config"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./resolveRegionConfig"; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export declare const isFipsRegion: (region: string) => boolean; |
import { Provider } from "@aws-sdk/types"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface RegionInputConfig { | ||
@@ -14,2 +17,5 @@ /** | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export interface RegionResolvedConfig { | ||
@@ -25,3 +31,6 @@ /** | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const resolveRegionConfig: <T>(input: T & RegionInputConfig & PreviouslyResolved) => T & RegionResolvedConfig; | ||
export {}; |
import { EndpointVariantTag } from "./EndpointVariantTag"; | ||
/** | ||
* @internal | ||
* | ||
* Provides hostname information for specific host label. | ||
@@ -4,0 +6,0 @@ */ |
/** | ||
* @internal | ||
* | ||
* The tag which mentions which area variant is providing information for. | ||
@@ -3,0 +5,0 @@ * Can be either "fips" or "dualstack". |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface GetHostnameFromVariantsOptions { | ||
@@ -6,2 +9,5 @@ useFipsEndpoint: boolean; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined; |
import { RegionInfo } from "@aws-sdk/types"; | ||
import { PartitionHash } from "./PartitionHash"; | ||
import { RegionHash } from "./RegionHash"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface GetRegionInfoOptions { | ||
@@ -11,2 +14,5 @@ useFipsEndpoint?: boolean; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export interface GetResolvedHostnameOptions { | ||
@@ -5,2 +8,5 @@ regionHostname?: string; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined; |
import { PartitionHash } from "./PartitionHash"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface GetResolvedPartitionOptions { | ||
partitionHash: PartitionHash; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export interface GetResolvedSigningRegionOptions { | ||
@@ -6,2 +9,5 @@ regionRegex: string; | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined; |
@@ -0,3 +1,12 @@ | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./PartitionHash"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./RegionHash"; | ||
/** | ||
* @internal | ||
*/ | ||
export * from "./getRegionInfo"; |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* | ||
* The hash of partition with the information specific to that partition. | ||
@@ -4,0 +6,0 @@ * The information includes the list of regions belonging to that partition, |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* | ||
* The hash of region with the information specific to that region. | ||
@@ -4,0 +6,0 @@ * The information can include hostname, signingService and signingRegion. |
{ | ||
"name": "@aws-sdk/config-resolver", | ||
"version": "3.300.0", | ||
"version": "3.303.0", | ||
"scripts": { | ||
@@ -23,9 +23,9 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"@aws-sdk/types": "3.296.0", | ||
"@aws-sdk/types": "3.303.0", | ||
"@aws-sdk/util-config-provider": "3.295.0", | ||
"@aws-sdk/util-middleware": "3.296.0", | ||
"@aws-sdk/util-middleware": "3.303.0", | ||
"tslib": "^2.5.0" | ||
}, | ||
"devDependencies": { | ||
"@aws-sdk/node-config-provider": "3.300.0", | ||
"@aws-sdk/node-config-provider": "3.303.0", | ||
"@tsconfig/recommended": "1.0.1", | ||
@@ -32,0 +32,0 @@ "concurrently": "7.0.0", |
49455
935
+ Added@aws-sdk/types@3.303.0(transitive)
+ Added@aws-sdk/util-middleware@3.303.0(transitive)
- Removed@aws-sdk/types@3.296.0(transitive)
- Removed@aws-sdk/util-middleware@3.296.0(transitive)
Updated@aws-sdk/types@3.303.0