@aws-sdk/client-network-firewall
Advanced tools
Comparing version 3.621.0 to 3.622.0
@@ -20,7 +20,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 = resolveHttpAuthSchemeConfig(_config_6); | ||
@@ -30,11 +30,13 @@ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); | ||
this.config = _config_8; | ||
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: defaultNetworkFirewallHttpAuthSchemeParametersProvider, | ||
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}), | ||
})); | ||
@@ -46,10 +48,2 @@ this.middlewareStack.use(getHttpSigningPlugin(this.config)); | ||
} | ||
getDefaultHttpAuthSchemeParametersProvider() { | ||
return defaultNetworkFirewallHttpAuthSchemeParametersProvider; | ||
} | ||
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 @@ */ |
@@ -170,3 +170,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; | ||
*/ | ||
export type NetworkFirewallClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
export type NetworkFirewallClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
/** | ||
@@ -182,3 +182,3 @@ * @public | ||
*/ | ||
export type NetworkFirewallClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
export type NetworkFirewallClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
/** | ||
@@ -284,4 +284,2 @@ * @public | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
@@ -30,2 +30,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; | ||
@@ -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").NetworkFirewallHttpAuthSchemeProvider; |
@@ -30,2 +30,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; | ||
@@ -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").NetworkFirewallHttpAuthSchemeProvider; |
@@ -29,2 +29,4 @@ import { NetworkFirewallClientConfig } from "./NetworkFirewallClient"; | ||
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; | ||
@@ -35,4 +37,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[]; | ||
@@ -39,0 +39,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NetworkFirewallHttpAuthSchemeProvider; |
@@ -302,7 +302,7 @@ import { | ||
ClientDefaults & | ||
UserAgentInputConfig & | ||
RetryInputConfig & | ||
RegionInputConfig & | ||
HostHeaderInputConfig & | ||
EndpointInputConfig<EndpointParameters> & | ||
HostHeaderInputConfig & | ||
UserAgentInputConfig & | ||
RetryInputConfig & | ||
HttpAuthSchemeInputConfig & | ||
@@ -316,7 +316,7 @@ ClientInputEndpointParameters; | ||
RuntimeExtensionsConfig & | ||
UserAgentResolvedConfig & | ||
RetryResolvedConfig & | ||
RegionResolvedConfig & | ||
HostHeaderResolvedConfig & | ||
EndpointResolvedConfig<EndpointParameters> & | ||
HostHeaderResolvedConfig & | ||
UserAgentResolvedConfig & | ||
RetryResolvedConfig & | ||
HttpAuthSchemeResolvedConfig & | ||
@@ -337,4 +337,2 @@ ClientResolvedEndpointParameters; | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
@@ -37,2 +37,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?: | ||
@@ -62,7 +67,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[]; | ||
@@ -69,0 +69,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NetworkFirewallHttpAuthSchemeProvider; |
@@ -41,2 +41,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?: | ||
@@ -66,7 +71,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[]; | ||
@@ -73,0 +73,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NetworkFirewallHttpAuthSchemeProvider; |
@@ -41,2 +41,7 @@ import { NetworkFirewallClientConfig } from "./NetworkFirewallClient"; | ||
>; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
retryStrategy?: | ||
| import("@smithy/types").RetryStrategy | ||
| import("@smithy/types").RetryStrategyV2 | ||
| undefined; | ||
endpoint?: | ||
@@ -56,7 +61,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[]; | ||
@@ -63,0 +63,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NetworkFirewallHttpAuthSchemeProvider; |
{ | ||
"name": "@aws-sdk/client-network-firewall", | ||
"description": "AWS SDK for JavaScript Network Firewall 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/fetch-http-handler": "^3.2.4", | ||
@@ -45,3 +45,3 @@ "@smithy/hash-node": "^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", | ||
@@ -52,3 +52,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", | ||
@@ -59,4 +59,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", | ||
@@ -63,0 +63,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
939504
19824
+ 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