@aws-sdk/client-lambda
Advanced tools
Comparing version 3.621.0 to 3.622.0
@@ -21,7 +21,7 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; | ||
const _config_1 = resolveClientEndpointParameters(_config_0); | ||
const _config_2 = resolveRegionConfig(_config_1); | ||
const _config_3 = resolveEndpointConfig(_config_2); | ||
const _config_4 = resolveHostHeaderConfig(_config_3); | ||
const _config_5 = resolveUserAgentConfig(_config_4); | ||
const _config_6 = resolveRetryConfig(_config_5); | ||
const _config_2 = resolveUserAgentConfig(_config_1); | ||
const _config_3 = resolveRetryConfig(_config_2); | ||
const _config_4 = resolveRegionConfig(_config_3); | ||
const _config_5 = resolveHostHeaderConfig(_config_4); | ||
const _config_6 = resolveEndpointConfig(_config_5); | ||
const _config_7 = resolveEventStreamSerdeConfig(_config_6); | ||
@@ -32,11 +32,13 @@ const _config_8 = resolveHttpAuthSchemeConfig(_config_7); | ||
this.config = _config_9; | ||
this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
this.middlewareStack.use(getRetryPlugin(this.config)); | ||
this.middlewareStack.use(getContentLengthPlugin(this.config)); | ||
this.middlewareStack.use(getHostHeaderPlugin(this.config)); | ||
this.middlewareStack.use(getLoggerPlugin(this.config)); | ||
this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); | ||
this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
this.middlewareStack.use(getRetryPlugin(this.config)); | ||
this.middlewareStack.use(getContentLengthPlugin(this.config)); | ||
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), | ||
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(), | ||
httpAuthSchemeParametersProvider: defaultLambdaHttpAuthSchemeParametersProvider, | ||
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}), | ||
})); | ||
@@ -48,10 +50,2 @@ this.middlewareStack.use(getHttpSigningPlugin(this.config)); | ||
} | ||
getDefaultHttpAuthSchemeParametersProvider() { | ||
return defaultLambdaHttpAuthSchemeParametersProvider; | ||
} | ||
getIdentityProviderConfigProvider() { | ||
return async (config) => new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}); | ||
} | ||
} |
@@ -33,3 +33,3 @@ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core"; | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* @internal | ||
@@ -39,3 +39,3 @@ */ | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* @internal | ||
@@ -50,3 +50,3 @@ */ | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. | ||
* @internal | ||
@@ -56,3 +56,3 @@ */ | ||
/** | ||
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. | ||
* @internal | ||
@@ -59,0 +59,0 @@ */ |
@@ -205,3 +205,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; | ||
*/ | ||
export type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
export type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
/** | ||
@@ -217,3 +217,3 @@ * @public | ||
*/ | ||
export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
/** | ||
@@ -306,4 +306,2 @@ * @public | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
@@ -31,2 +31,4 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined; | ||
@@ -37,4 +39,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -41,0 +41,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider; |
@@ -31,2 +31,4 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined; | ||
@@ -37,4 +39,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -41,0 +41,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider; |
@@ -30,2 +30,4 @@ import { LambdaClientConfig } from "./LambdaClient"; | ||
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined; | ||
@@ -36,4 +38,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -40,0 +40,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider; |
@@ -488,7 +488,7 @@ import { | ||
ClientDefaults & | ||
UserAgentInputConfig & | ||
RetryInputConfig & | ||
RegionInputConfig & | ||
HostHeaderInputConfig & | ||
EndpointInputConfig<EndpointParameters> & | ||
HostHeaderInputConfig & | ||
UserAgentInputConfig & | ||
RetryInputConfig & | ||
EventStreamSerdeInputConfig & | ||
@@ -502,7 +502,7 @@ HttpAuthSchemeInputConfig & | ||
RuntimeExtensionsConfig & | ||
UserAgentResolvedConfig & | ||
RetryResolvedConfig & | ||
RegionResolvedConfig & | ||
HostHeaderResolvedConfig & | ||
EndpointResolvedConfig<EndpointParameters> & | ||
HostHeaderResolvedConfig & | ||
UserAgentResolvedConfig & | ||
RetryResolvedConfig & | ||
EventStreamSerdeResolvedConfig & | ||
@@ -524,4 +524,2 @@ HttpAuthSchemeResolvedConfig & | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
@@ -36,2 +36,7 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -61,7 +66,2 @@ | (( | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -68,0 +68,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider; |
@@ -40,2 +40,7 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -65,7 +70,2 @@ | (( | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -72,0 +72,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider; |
@@ -40,2 +40,7 @@ import { LambdaClientConfig } from "./LambdaClient"; | ||
>; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -55,7 +60,2 @@ | string | ||
tls?: boolean | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
@@ -62,0 +62,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LambdaHttpAuthSchemeProvider; |
{ | ||
"name": "@aws-sdk/client-lambda", | ||
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native", | ||
"version": "3.621.0", | ||
"version": "3.622.0", | ||
"scripts": { | ||
@@ -23,6 +23,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/client-sso-oidc": "3.621.0", | ||
"@aws-sdk/client-sts": "3.621.0", | ||
"@aws-sdk/core": "3.621.0", | ||
"@aws-sdk/credential-provider-node": "3.621.0", | ||
"@aws-sdk/client-sso-oidc": "3.622.0", | ||
"@aws-sdk/client-sts": "3.622.0", | ||
"@aws-sdk/core": "3.622.0", | ||
"@aws-sdk/credential-provider-node": "3.622.0", | ||
"@aws-sdk/middleware-host-header": "3.620.0", | ||
@@ -38,3 +38,3 @@ "@aws-sdk/middleware-logger": "3.609.0", | ||
"@smithy/config-resolver": "^3.0.5", | ||
"@smithy/core": "^2.3.1", | ||
"@smithy/core": "^2.3.2", | ||
"@smithy/eventstream-serde-browser": "^3.0.5", | ||
@@ -48,3 +48,3 @@ "@smithy/eventstream-serde-config-resolver": "^3.0.3", | ||
"@smithy/middleware-endpoint": "^3.1.0", | ||
"@smithy/middleware-retry": "^3.0.13", | ||
"@smithy/middleware-retry": "^3.0.14", | ||
"@smithy/middleware-serde": "^3.0.3", | ||
@@ -55,3 +55,3 @@ "@smithy/middleware-stack": "^3.0.3", | ||
"@smithy/protocol-http": "^4.1.0", | ||
"@smithy/smithy-client": "^3.1.11", | ||
"@smithy/smithy-client": "^3.1.12", | ||
"@smithy/types": "^3.3.0", | ||
@@ -62,4 +62,4 @@ "@smithy/url-parser": "^3.0.3", | ||
"@smithy/util-body-length-node": "^3.0.0", | ||
"@smithy/util-defaults-mode-browser": "^3.0.13", | ||
"@smithy/util-defaults-mode-node": "^3.0.13", | ||
"@smithy/util-defaults-mode-browser": "^3.0.14", | ||
"@smithy/util-defaults-mode-node": "^3.0.14", | ||
"@smithy/util-endpoints": "^2.0.5", | ||
@@ -66,0 +66,0 @@ "@smithy/util-middleware": "^3.0.3", |
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
1592049
35901
+ Added@aws-sdk/client-sso@3.622.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.622.0(transitive)
+ Added@aws-sdk/client-sts@3.622.0(transitive)
+ Added@aws-sdk/core@3.622.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.622.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.622.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.622.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.622.0(transitive)
- Removed@aws-sdk/client-sso@3.621.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.621.0(transitive)
- Removed@aws-sdk/client-sts@3.621.0(transitive)
- Removed@aws-sdk/core@3.621.0(transitive)
- Removed@aws-sdk/credential-provider-http@3.621.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.621.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.621.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.621.0(transitive)
Updated@aws-sdk/client-sts@3.622.0
Updated@aws-sdk/core@3.622.0
Updated@smithy/core@^2.3.2