@smithy/config-resolver
Advanced tools
Comparing version
@@ -5,2 +5,3 @@ import { Endpoint, Provider, UrlParser } from "@smithy/types"; | ||
* @public | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
@@ -15,2 +16,3 @@ export interface CustomEndpointsInputConfig extends EndpointsInputConfig { | ||
* @internal | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
@@ -22,2 +24,3 @@ interface PreviouslyResolved { | ||
* @internal | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
@@ -33,4 +36,6 @@ export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig { | ||
* @internal | ||
* | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
export declare const resolveCustomEndpointsConfig: <T>(input: T & CustomEndpointsInputConfig & PreviouslyResolved) => T & CustomEndpointsResolvedConfig; | ||
export {}; |
import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types"; | ||
/** | ||
* @public | ||
* @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. | ||
*/ | ||
@@ -22,2 +23,3 @@ export interface EndpointsInputConfig { | ||
* @internal | ||
* @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. | ||
*/ | ||
@@ -32,2 +34,3 @@ interface PreviouslyResolved { | ||
* @internal | ||
* @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. | ||
*/ | ||
@@ -34,0 +37,0 @@ export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig> { |
import { EndpointVariantTag } from "./EndpointVariantTag"; | ||
/** | ||
* Provides hostname information for specific host label. | ||
* | ||
* @internal | ||
* | ||
* Provides hostname information for specific host label. | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
@@ -7,0 +8,0 @@ export type EndpointVariant = { |
/** | ||
* @internal | ||
* | ||
* | ||
* The tag which mentions which area variant is providing information for. | ||
* Can be either "fips" or "dualstack". | ||
* | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export type EndpointVariantTag = "fips" | "dualstack"; |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
@@ -11,3 +12,4 @@ export interface GetHostnameFromVariantsOptions { | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined; |
@@ -6,2 +6,3 @@ import { RegionInfo } from "@smithy/types"; | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
@@ -17,3 +18,4 @@ export interface GetRegionInfoOptions { | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo; |
/** | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -10,3 +11,4 @@ export interface GetResolvedHostnameOptions { | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined; |
import { PartitionHash } from "./PartitionHash"; | ||
/** | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -10,3 +11,4 @@ export interface GetResolvedPartitionOptions { | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string; |
/** | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -11,3 +12,4 @@ export interface GetResolvedSigningRegionOptions { | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined; |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* | ||
* The hash of partition with the information specific to that partition. | ||
* The information includes the list of regions belonging to that partition, | ||
* and the hostname to be used for the partition. | ||
* | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -9,0 +10,0 @@ export type PartitionHash = Record<string, { |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* | ||
* The hash of region with the information specific to that region. | ||
* The information can include hostname, signingService and signingRegion. | ||
* | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -8,0 +9,0 @@ export type RegionHash = Record<string, { |
@@ -5,2 +5,3 @@ import { Endpoint, Provider, UrlParser } from "@smithy/types"; | ||
* @public | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
@@ -15,2 +16,3 @@ export interface CustomEndpointsInputConfig extends EndpointsInputConfig { | ||
* @internal | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
@@ -22,2 +24,3 @@ interface PreviouslyResolved { | ||
* @internal | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
@@ -33,4 +36,6 @@ export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig { | ||
* @internal | ||
* | ||
* @deprecated superseded by default endpointRuleSet generation. | ||
*/ | ||
export declare const resolveCustomEndpointsConfig: <T>(input: T & CustomEndpointsInputConfig & PreviouslyResolved) => T & CustomEndpointsResolvedConfig; | ||
export {}; |
import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@smithy/types"; | ||
/** | ||
* @public | ||
* @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. | ||
*/ | ||
@@ -22,2 +23,3 @@ export interface EndpointsInputConfig { | ||
* @internal | ||
* @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. | ||
*/ | ||
@@ -32,2 +34,3 @@ interface PreviouslyResolved { | ||
* @internal | ||
* @deprecated see \@smithy/middleware-endpoint resolveEndpointConfig. | ||
*/ | ||
@@ -34,0 +37,0 @@ export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig> { |
import { EndpointVariantTag } from "./EndpointVariantTag"; | ||
/** | ||
* Provides hostname information for specific host label. | ||
* | ||
* @internal | ||
* | ||
* Provides hostname information for specific host label. | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
@@ -7,0 +8,0 @@ export type EndpointVariant = { |
/** | ||
* @internal | ||
* | ||
* | ||
* The tag which mentions which area variant is providing information for. | ||
* Can be either "fips" or "dualstack". | ||
* | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export type EndpointVariantTag = "fips" | "dualstack"; |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
@@ -11,3 +12,4 @@ export interface GetHostnameFromVariantsOptions { | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
export declare const getHostnameFromVariants: (variants: EndpointVariant[] | undefined, { useFipsEndpoint, useDualstackEndpoint }: GetHostnameFromVariantsOptions) => string | undefined; |
@@ -6,2 +6,3 @@ import { RegionInfo } from "@smithy/types"; | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
@@ -17,3 +18,4 @@ export interface GetRegionInfoOptions { | ||
* @internal | ||
* @deprecated unused as of endpointsRuleSets. | ||
*/ | ||
export declare const getRegionInfo: (region: string, { useFipsEndpoint, useDualstackEndpoint, signingService, regionHash, partitionHash, }: GetRegionInfoOptions) => RegionInfo; |
/** | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -10,3 +11,4 @@ export interface GetResolvedHostnameOptions { | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export declare const getResolvedHostname: (resolvedRegion: string, { regionHostname, partitionHostname }: GetResolvedHostnameOptions) => string | undefined; |
import { PartitionHash } from "./PartitionHash"; | ||
/** | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -10,3 +11,4 @@ export interface GetResolvedPartitionOptions { | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string; |
/** | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -11,3 +12,4 @@ export interface GetResolvedSigningRegionOptions { | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
export declare const getResolvedSigningRegion: (hostname: string, { signingRegion, regionRegex, useFipsEndpoint }: GetResolvedSigningRegionOptions) => string | undefined; |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* | ||
* The hash of partition with the information specific to that partition. | ||
* The information includes the list of regions belonging to that partition, | ||
* and the hostname to be used for the partition. | ||
* | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -9,0 +10,0 @@ export type PartitionHash = Record<string, { |
import { EndpointVariant } from "./EndpointVariant"; | ||
/** | ||
* @internal | ||
* | ||
* The hash of region with the information specific to that region. | ||
* The information can include hostname, signingService and signingRegion. | ||
* | ||
* @internal | ||
* @deprecated unused for endpointRuleSets. | ||
*/ | ||
@@ -8,0 +9,0 @@ export type RegionHash = Record<string, { |
{ | ||
"name": "@smithy/config-resolver", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"scripts": { | ||
@@ -27,6 +27,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
"dependencies": { | ||
"@smithy/node-config-provider": "^4.1.1", | ||
"@smithy/types": "^4.2.0", | ||
"@smithy/node-config-provider": "^4.1.2", | ||
"@smithy/types": "^4.3.0", | ||
"@smithy/util-config-provider": "^4.0.0", | ||
"@smithy/util-middleware": "^4.0.2", | ||
"@smithy/util-middleware": "^4.0.3", | ||
"tslib": "^2.6.2" | ||
@@ -33,0 +33,0 @@ }, |
53864
4.36%1108
4.53%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated