@aws-sdk/client-shield 3.254.0 → 3.256.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, 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 "@aws-sdk/types";
|
|
10
10
|
import { AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput } from "./commands/AssociateDRTLogBucketCommand";
|
|
11
11
|
import { AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput } from "./commands/AssociateDRTRoleCommand";
|
|
@@ -142,9 +142,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
142
142
|
*/
|
|
143
143
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
144
144
|
/**
|
|
145
|
-
* The {@link
|
|
145
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
146
146
|
*/
|
|
147
|
-
defaultsMode?:
|
|
147
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
148
148
|
}
|
|
149
149
|
declare type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
150
150
|
/**
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
26
|
import {
|
|
27
27
|
Client as __Client,
|
|
28
|
-
DefaultsMode,
|
|
28
|
+
DefaultsMode as __DefaultsMode,
|
|
29
29
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
30
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
@@ -289,7 +289,7 @@ export interface ClientDefaults
|
|
|
289
289
|
region?: string | __Provider<string>;
|
|
290
290
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
291
291
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
292
|
-
defaultsMode?:
|
|
292
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
293
293
|
}
|
|
294
294
|
declare type ShieldClientConfigType = Partial<
|
|
295
295
|
__SmithyConfiguration<__HttpHandlerOptions>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-shield",
|
|
3
3
|
"description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.256.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.256.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.256.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.254.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.254.0",
|