@aws-sdk/client-shield
Advanced tools
Comparing version 3.511.0 to 3.513.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getRuntimeConfig = void 0; | ||
const core_1 = require("@aws-sdk/core"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
@@ -8,2 +9,3 @@ const url_parser_1 = require("@smithy/url-parser"); | ||
const util_utf8_1 = require("@smithy/util-utf8"); | ||
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); | ||
const endpointResolver_1 = require("./endpoint/endpointResolver"); | ||
@@ -18,2 +20,10 @@ const getRuntimeConfig = (config) => { | ||
extensions: config?.extensions ?? [], | ||
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultShieldHttpAuthSchemeProvider, | ||
httpAuthSchemes: config?.httpAuthSchemes ?? [ | ||
{ | ||
schemeId: "aws.auth#sigv4", | ||
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), | ||
signer: new core_1.AwsSdkSigV4Signer(), | ||
}, | ||
], | ||
logger: config?.logger ?? new smithy_client_1.NoOpLogger(), | ||
@@ -20,0 +30,0 @@ serviceId: config?.serviceId ?? "Shield", |
@@ -0,1 +1,2 @@ | ||
import { AwsSdkSigV4Signer } from "@aws-sdk/core"; | ||
import { NoOpLogger } from "@smithy/smithy-client"; | ||
@@ -5,2 +6,3 @@ import { parseUrl } from "@smithy/url-parser"; | ||
import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; | ||
import { defaultShieldHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; | ||
import { defaultEndpointResolver } from "./endpoint/endpointResolver"; | ||
@@ -15,2 +17,10 @@ export const getRuntimeConfig = (config) => { | ||
extensions: config?.extensions ?? [], | ||
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultShieldHttpAuthSchemeProvider, | ||
httpAuthSchemes: config?.httpAuthSchemes ?? [ | ||
{ | ||
schemeId: "aws.auth#sigv4", | ||
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), | ||
signer: new AwsSdkSigV4Signer(), | ||
}, | ||
], | ||
logger: config?.logger ?? new NoOpLogger(), | ||
@@ -17,0 +27,0 @@ serviceId: config?.serviceId ?? "Shield", |
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; | ||
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; | ||
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; | ||
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; | ||
const asPartial = (t) => t; | ||
@@ -10,2 +11,3 @@ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { | ||
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), | ||
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)), | ||
}; | ||
@@ -18,3 +20,4 @@ extensions.forEach((extension) => extension.configure(extensionConfiguration)); | ||
...resolveHttpHandlerRuntimeConfig(extensionConfiguration), | ||
...resolveHttpAuthRuntimeConfig(extensionConfiguration), | ||
}; | ||
}; |
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; | ||
import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; | ||
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; | ||
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing"; | ||
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; | ||
import { resolveRegionConfig } from "@smithy/config-resolver"; | ||
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; | ||
import { getContentLengthPlugin } from "@smithy/middleware-content-length"; | ||
@@ -11,2 +11,3 @@ import { resolveEndpointConfig } from "@smithy/middleware-endpoint"; | ||
import { Client as __Client, } from "@smithy/smithy-client"; | ||
import { defaultShieldHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; | ||
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; | ||
@@ -24,4 +25,4 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; | ||
const _config_5 = resolveHostHeaderConfig(_config_4); | ||
const _config_6 = resolveAwsAuthConfig(_config_5); | ||
const _config_7 = resolveUserAgentConfig(_config_6); | ||
const _config_6 = resolveUserAgentConfig(_config_5); | ||
const _config_7 = resolveHttpAuthSchemeConfig(_config_6); | ||
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); | ||
@@ -35,4 +36,8 @@ super(_config_8); | ||
this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); | ||
this.middlewareStack.use(getAwsAuthPlugin(this.config)); | ||
this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), | ||
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(), | ||
})); | ||
this.middlewareStack.use(getHttpSigningPlugin(this.config)); | ||
} | ||
@@ -42,2 +47,10 @@ destroy() { | ||
} | ||
getDefaultHttpAuthSchemeParametersProvider() { | ||
return defaultShieldHttpAuthSchemeParametersProvider; | ||
} | ||
getIdentityProviderConfigProvider() { | ||
return async (config) => new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}); | ||
} | ||
} |
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; | ||
import { DefaultExtensionConfiguration } from "@smithy/types"; | ||
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; | ||
/** | ||
* @internal | ||
*/ | ||
export interface ShieldExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration { | ||
export interface ShieldExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { | ||
} |
@@ -10,3 +10,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; | ||
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>; | ||
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>; | ||
@@ -40,3 +40,6 @@ maxAttempts: number | import("@smithy/types").Provider<number>; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined; | ||
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined; | ||
@@ -47,3 +50,2 @@ signingEscapePath?: boolean | undefined; | ||
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
}; |
@@ -39,3 +39,6 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined; | ||
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined; | ||
@@ -46,3 +49,2 @@ signingEscapePath?: boolean | undefined; | ||
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
}; |
@@ -24,5 +24,5 @@ import { ShieldClientConfig } from "./ShieldClient"; | ||
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>; | ||
region: string | import("@smithy/types").Provider<any>; | ||
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>; | ||
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>; | ||
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
maxAttempts: number | import("@smithy/types").Provider<number>; | ||
@@ -39,3 +39,6 @@ retryMode: string | import("@smithy/types").Provider<string>; | ||
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined; | ||
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined; | ||
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined; | ||
@@ -46,3 +49,2 @@ signingEscapePath?: boolean | undefined; | ||
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
}; |
@@ -14,2 +14,4 @@ import { ShieldClientConfig } from "./ShieldClient"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
logger: import("@smithy/types").Logger; | ||
@@ -16,0 +18,0 @@ serviceId: string; |
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; | ||
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing"; | ||
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; | ||
import { Credentials as __Credentials } from "@aws-sdk/types"; | ||
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver"; | ||
@@ -10,3 +8,4 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint"; | ||
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client"; | ||
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; | ||
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; | ||
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; | ||
import { AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput } from "./commands/AssociateDRTLogBucketCommand"; | ||
@@ -132,2 +131,7 @@ import { AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput } from "./commands/AssociateDRTRoleCommand"; | ||
/** | ||
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header | ||
* @internal | ||
*/ | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
/** | ||
* The AWS region to which this client will send requests | ||
@@ -138,11 +142,7 @@ */ | ||
* Default credentials provider; Not available in browser runtime. | ||
* @deprecated | ||
* @internal | ||
*/ | ||
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; | ||
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; | ||
/** | ||
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header | ||
* @internal | ||
*/ | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
/** | ||
* Value for how many times a request will be made at most in case of retry. | ||
@@ -173,3 +173,3 @@ */ | ||
*/ | ||
export type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters; | ||
export type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; | ||
/** | ||
@@ -185,3 +185,3 @@ * @public | ||
*/ | ||
export type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters; | ||
export type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; | ||
/** | ||
@@ -213,2 +213,4 @@ * @public | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; | ||
import { DefaultExtensionConfiguration } from "@smithy/types"; | ||
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; | ||
export interface ShieldExtensionConfiguration | ||
extends HttpHandlerExtensionConfiguration, | ||
DefaultExtensionConfiguration, | ||
AwsRegionExtensionConfiguration {} | ||
AwsRegionExtensionConfiguration, | ||
HttpAuthExtensionConfiguration {} |
@@ -11,3 +11,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
input: any | ||
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>; | ||
) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
defaultUserAgentProvider: import("@smithy/types").Provider< | ||
@@ -76,7 +76,8 @@ import("@smithy/types").UserAgent | ||
| undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
credentials?: | ||
| import("@smithy/types").AwsCredentialIdentity | ||
| import("@smithy/types").Provider< | ||
import("@smithy/types").AwsCredentialIdentity | ||
> | ||
| import("@smithy/types").AwsCredentialIdentityProvider | ||
| undefined; | ||
@@ -98,3 +99,2 @@ signer?: | ||
| undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
}; |
@@ -79,7 +79,8 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
credentials?: | ||
| import("@smithy/types").AwsCredentialIdentity | ||
| import("@smithy/types").Provider< | ||
import("@smithy/types").AwsCredentialIdentity | ||
> | ||
| import("@smithy/types").AwsCredentialIdentityProvider | ||
| undefined; | ||
@@ -101,3 +102,2 @@ signer?: | ||
| undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
}; |
@@ -32,9 +32,9 @@ import { ShieldClientConfig } from "./ShieldClient"; | ||
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>; | ||
defaultUserAgentProvider: import("@smithy/types").Provider< | ||
import("@smithy/types").UserAgent | ||
>; | ||
region: string | import("@smithy/types").Provider<any>; | ||
credentialDefaultProvider: ( | ||
input: any | ||
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>; | ||
defaultUserAgentProvider: import("@smithy/types").Provider< | ||
import("@smithy/types").UserAgent | ||
>; | ||
) => import("@smithy/types").AwsCredentialIdentityProvider; | ||
maxAttempts: number | import("@smithy/types").Provider<number>; | ||
@@ -67,7 +67,8 @@ retryMode: string | import("@smithy/types").Provider<string>; | ||
| undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
credentials?: | ||
| import("@smithy/types").AwsCredentialIdentity | ||
| import("@smithy/types").Provider< | ||
import("@smithy/types").AwsCredentialIdentity | ||
> | ||
| import("@smithy/types").AwsCredentialIdentityProvider | ||
| undefined; | ||
@@ -89,3 +90,2 @@ signer?: | ||
| undefined; | ||
customUserAgent?: string | import("@smithy/types").UserAgent | undefined; | ||
}; |
@@ -14,2 +14,4 @@ import { ShieldClientConfig } from "./ShieldClient"; | ||
extensions: import("./runtimeExtensions").RuntimeExtension[]; | ||
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ShieldHttpAuthSchemeProvider; | ||
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; | ||
logger: import("@smithy/types").Logger; | ||
@@ -16,0 +18,0 @@ serviceId: string; |
@@ -6,10 +6,5 @@ import { | ||
import { | ||
AwsAuthInputConfig, | ||
AwsAuthResolvedConfig, | ||
} from "@aws-sdk/middleware-signing"; | ||
import { | ||
UserAgentInputConfig, | ||
UserAgentResolvedConfig, | ||
} from "@aws-sdk/middleware-user-agent"; | ||
import { Credentials as __Credentials } from "@aws-sdk/types"; | ||
import { | ||
@@ -35,2 +30,3 @@ RegionInputConfig, | ||
import { | ||
AwsCredentialIdentityProvider, | ||
BodyLengthCalculator as __BodyLengthCalculator, | ||
@@ -51,2 +47,6 @@ CheckOptionalClientConfig as __CheckOptionalClientConfig, | ||
import { | ||
HttpAuthSchemeInputConfig, | ||
HttpAuthSchemeResolvedConfig, | ||
} from "./auth/httpAuthSchemeProvider"; | ||
import { | ||
AssociateDRTLogBucketCommandInput, | ||
@@ -292,5 +292,5 @@ AssociateDRTLogBucketCommandOutput, | ||
useFipsEndpoint?: boolean | __Provider<boolean>; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
region?: string | __Provider<string>; | ||
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; | ||
defaultUserAgentProvider?: Provider<__UserAgent>; | ||
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; | ||
maxAttempts?: number | __Provider<number>; | ||
@@ -310,4 +310,4 @@ retryMode?: string | __Provider<string>; | ||
HostHeaderInputConfig & | ||
AwsAuthInputConfig & | ||
UserAgentInputConfig & | ||
HttpAuthSchemeInputConfig & | ||
ClientInputEndpointParameters; | ||
@@ -323,4 +323,4 @@ export interface ShieldClientConfig extends ShieldClientConfigType {} | ||
HostHeaderResolvedConfig & | ||
AwsAuthResolvedConfig & | ||
UserAgentResolvedConfig & | ||
HttpAuthSchemeResolvedConfig & | ||
ClientResolvedEndpointParameters; | ||
@@ -340,2 +340,4 @@ export interface ShieldClientResolvedConfig | ||
destroy(): void; | ||
private getDefaultHttpAuthSchemeParametersProvider; | ||
private getIdentityProviderConfigProvider; | ||
} |
{ | ||
"name": "@aws-sdk/client-shield", | ||
"description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native", | ||
"version": "3.511.0", | ||
"version": "3.513.0", | ||
"scripts": { | ||
@@ -23,9 +23,8 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/client-sts": "3.511.0", | ||
"@aws-sdk/core": "3.511.0", | ||
"@aws-sdk/credential-provider-node": "3.511.0", | ||
"@aws-sdk/client-sts": "3.513.0", | ||
"@aws-sdk/core": "3.513.0", | ||
"@aws-sdk/credential-provider-node": "3.513.0", | ||
"@aws-sdk/middleware-host-header": "3.511.0", | ||
"@aws-sdk/middleware-logger": "3.511.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.511.0", | ||
"@aws-sdk/middleware-signing": "3.511.0", | ||
"@aws-sdk/middleware-user-agent": "3.511.0", | ||
@@ -38,3 +37,3 @@ "@aws-sdk/region-config-resolver": "3.511.0", | ||
"@smithy/config-resolver": "^2.1.1", | ||
"@smithy/core": "^1.3.1", | ||
"@smithy/core": "^1.3.2", | ||
"@smithy/fetch-http-handler": "^2.4.1", | ||
@@ -58,4 +57,5 @@ "@smithy/hash-node": "^2.1.1", | ||
"@smithy/util-defaults-mode-browser": "^2.1.1", | ||
"@smithy/util-defaults-mode-node": "^2.1.1", | ||
"@smithy/util-defaults-mode-node": "^2.2.0", | ||
"@smithy/util-endpoints": "^1.1.1", | ||
"@smithy/util-middleware": "^2.1.1", | ||
"@smithy/util-retry": "^2.1.1", | ||
@@ -62,0 +62,0 @@ "@smithy/util-utf8": "^2.1.1", |
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
691952
247
14635
+ Added@aws-sdk/client-sso@3.513.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.513.0(transitive)
+ Added@aws-sdk/client-sts@3.513.0(transitive)
+ Added@aws-sdk/core@3.513.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.513.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.513.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.513.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.513.0(transitive)
+ Added@aws-sdk/token-providers@3.513.0(transitive)
- Removed@aws-sdk/middleware-signing@3.511.0
- Removed@aws-sdk/client-sso@3.511.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.511.0(transitive)
- Removed@aws-sdk/client-sts@3.511.0(transitive)
- Removed@aws-sdk/core@3.511.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.511.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.511.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.511.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.511.0(transitive)
- Removed@aws-sdk/middleware-signing@3.511.0(transitive)
- Removed@aws-sdk/token-providers@3.511.0(transitive)
Updated@aws-sdk/client-sts@3.513.0
Updated@aws-sdk/core@3.513.0
Updated@smithy/core@^1.3.2