@aws-sdk/config-resolver
Advanced tools
Comparing version 3.36.0 to 3.37.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15) | ||
**Note:** Version bump only for package @aws-sdk/config-resolver | ||
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08) | ||
@@ -8,0 +16,0 @@ |
import { Endpoint, Provider, UrlParser } from "@aws-sdk/types"; | ||
import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig"; | ||
export interface CustomEndpointsInputConfig extends EndpointsInputConfig { | ||
/** | ||
* The fully qualified endpoint of the webservice. | ||
*/ | ||
endpoint: string | Endpoint | Provider<Endpoint>; | ||
@@ -13,6 +11,3 @@ } | ||
export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig { | ||
/** | ||
* Whether the endpoint is specified by caller. | ||
* @internal | ||
*/ | ||
isCustomEndpoint: true; | ||
@@ -19,0 +14,0 @@ } |
import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@aws-sdk/types"; | ||
export interface EndpointsInputConfig { | ||
/** | ||
* The fully qualified endpoint of the webservice. This is only required when using a custom endpoint (for example, when using a local version of S3). | ||
*/ | ||
endpoint?: string | Endpoint | Provider<Endpoint>; | ||
/** | ||
* Whether TLS is enabled for requests. | ||
*/ | ||
tls?: boolean; | ||
@@ -18,10 +14,5 @@ } | ||
export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig> { | ||
/** | ||
* Resolved value for input {@link EndpointsResolvedConfig.endpoint} | ||
*/ | ||
endpoint: Provider<Endpoint>; | ||
/** | ||
* Whether the endpoint is specified by caller. | ||
* @internal | ||
*/ | ||
isCustomEndpoint: boolean; | ||
@@ -28,0 +19,0 @@ } |
import { Provider } from "@aws-sdk/types"; | ||
export interface RegionInputConfig { | ||
/** | ||
* The AWS region to which this client will send requests | ||
*/ | ||
region?: string | Provider<string>; | ||
@@ -11,5 +9,3 @@ } | ||
export interface RegionResolvedConfig { | ||
/** | ||
* Resolved value for input config {@link RegionInputConfig.region} | ||
*/ | ||
region: Provider<string>; | ||
@@ -16,0 +12,0 @@ } |
import { GetResolvedPartitionOptions } from "./getResolvedPartition"; | ||
export interface GetHostnameTemplateOptions extends GetResolvedPartitionOptions { | ||
/** | ||
* The name to be used while signing the service request. | ||
*/ | ||
signingService: string; | ||
} | ||
export declare const getHostnameTemplate: (region: string, { signingService, partitionHash }: GetHostnameTemplateOptions) => string; |
@@ -8,8 +8,5 @@ import { RegionInfo } from "@aws-sdk/types"; | ||
export interface GetResolvedHostnameOptions extends GetHostnameTemplateOptions, GetResolvedPartitionOptions { | ||
/** | ||
* The hash of region with the information specific to that region. | ||
* The information can include hostname, signingService and signingRegion. | ||
*/ | ||
regionHash: RegionHash; | ||
} | ||
export declare const getResolvedHostname: (region: string, { signingService, regionHash, partitionHash }: GetResolvedHostnameOptions) => string; |
@@ -9,9 +9,5 @@ export declare type PartitionHash = { | ||
export interface GetResolvedPartitionOptions { | ||
/** | ||
* 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. | ||
*/ | ||
partitionHash: PartitionHash; | ||
} | ||
export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string; |
{ | ||
"name": "@aws-sdk/config-resolver", | ||
"version": "3.36.0", | ||
"version": "3.37.0", | ||
"scripts": { | ||
@@ -21,3 +21,3 @@ "build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"devDependencies": { | ||
"@aws-sdk/node-config-provider": "3.36.0", | ||
"@aws-sdk/node-config-provider": "3.37.0", | ||
"@types/jest": "^26.0.4", | ||
@@ -28,4 +28,4 @@ "jest": "^26.1.0", | ||
"dependencies": { | ||
"@aws-sdk/signature-v4": "3.36.0", | ||
"@aws-sdk/types": "3.36.0", | ||
"@aws-sdk/signature-v4": "3.37.0", | ||
"@aws-sdk/types": "3.37.0", | ||
"tslib": "^2.3.0" | ||
@@ -32,0 +32,0 @@ }, |
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
98575
536
+ Added@aws-sdk/is-array-buffer@3.37.0(transitive)
+ Added@aws-sdk/signature-v4@3.37.0(transitive)
+ Added@aws-sdk/types@3.37.0(transitive)
+ Added@aws-sdk/util-hex-encoding@3.37.0(transitive)
+ Added@aws-sdk/util-uri-escape@3.37.0(transitive)
- Removed@aws-sdk/is-array-buffer@3.36.0(transitive)
- Removed@aws-sdk/signature-v4@3.36.0(transitive)
- Removed@aws-sdk/types@3.36.0(transitive)
- Removed@aws-sdk/util-hex-encoding@3.36.0(transitive)
- Removed@aws-sdk/util-uri-escape@3.36.0(transitive)
Updated@aws-sdk/signature-v4@3.37.0
Updated@aws-sdk/types@3.37.0