@aws-sdk/types
Advanced tools
Comparing version 3.171.0 to 3.178.0
@@ -5,4 +5,15 @@ /** | ||
export interface AuthScheme { | ||
/** | ||
* @example "v4" for SigV4 | ||
*/ | ||
name: string; | ||
/** | ||
* @example "s3" | ||
*/ | ||
signingName: string; | ||
/** | ||
* @example "us-east-1" | ||
*/ | ||
signingScope: string; | ||
properties: Record<string, unknown>; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { AuthScheme } from "./auth"; | ||
export interface EndpointPartition { | ||
@@ -48,3 +49,5 @@ name: string; | ||
url: URL; | ||
properties?: Record<string, EndpointObjectProperty>; | ||
properties?: { | ||
authSchemes?: AuthScheme[]; | ||
} & Record<string, EndpointObjectProperty>; | ||
headers?: Record<string, string[]>; | ||
@@ -51,0 +54,0 @@ } |
@@ -0,1 +1,2 @@ | ||
import { EndpointV2 } from "./endpoint"; | ||
import { Logger } from "./logger"; | ||
@@ -302,2 +303,8 @@ import { UserAgent } from "./util"; | ||
/** | ||
* Returns a list of the current order of middleware in the stack. | ||
* This does not execute the middleware functions, nor does it | ||
* provide a reference to the stack itself. | ||
*/ | ||
identify(): string[]; | ||
/** | ||
* Builds a single handler function from zero or more middleware classes and | ||
@@ -330,2 +337,7 @@ * a core handler. The core handler is meant to send command objects to AWS | ||
userAgent?: UserAgent; | ||
/** | ||
* Resolved by the endpointMiddleware function of @aws-sdk/middleware-endpoint | ||
* in the serialization stage. | ||
*/ | ||
endpointV2?: EndpointV2; | ||
[key: string]: any; | ||
@@ -332,0 +344,0 @@ } |
export interface AuthScheme { | ||
name: string; | ||
signingName: string; | ||
signingScope: string; | ||
properties: Record<string, unknown>; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { AuthScheme } from "./auth"; | ||
export interface EndpointPartition { | ||
@@ -35,3 +36,5 @@ name: string; | ||
url: URL; | ||
properties?: Record<string, EndpointObjectProperty>; | ||
properties?: { | ||
authSchemes?: AuthScheme[]; | ||
} & Record<string, EndpointObjectProperty>; | ||
headers?: Record<string, string[]>; | ||
@@ -38,0 +41,0 @@ } |
@@ -0,1 +1,2 @@ | ||
import { EndpointV2 } from "./endpoint"; | ||
import { Logger } from "./logger"; | ||
@@ -192,2 +193,3 @@ import { UserAgent } from "./util"; | ||
): MiddlewareStack<InputType, OutputType>; | ||
identify(): string[]; | ||
resolve<InputType extends Input, OutputType extends Output>( | ||
@@ -201,2 +203,3 @@ handler: DeserializeHandler<InputType, OutputType>, | ||
userAgent?: UserAgent; | ||
endpointV2?: EndpointV2; | ||
[key: string]: any; | ||
@@ -203,0 +206,0 @@ } |
{ | ||
"name": "@aws-sdk/types", | ||
"version": "3.171.0", | ||
"version": "3.178.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
173156
2190