@aws-sdk/client-wafv2 3.202.0 → 3.205.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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/models/models_0.d.ts +30 -5
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.205.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.204.0...v3.205.0) (2022-11-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-wafv2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.204.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.203.0...v3.204.0) (2022-11-04)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update client endpoints as of 2022-11-04 ([7471107](https://github.com/aws/aws-sdk-js-v3/commit/7471107c0881b5d9e474447a660dd3354a50b195))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-wafv2
|
|
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "browser",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
10
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
14
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
15
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
|
|
|
28
27
|
...config,
|
|
29
28
|
runtime: "node",
|
|
30
29
|
defaultsMode,
|
|
31
|
-
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
-
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
30
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
31
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
32
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
5
6
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
7
|
const getRuntimeConfig = (config) => ({
|
|
7
8
|
apiVersion: "2019-07-29",
|
|
9
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
10
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
8
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
12
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
13
|
logger: config?.logger ?? {},
|
|
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
|
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
19
|
...config,
|
|
21
20
|
runtime: "browser",
|
|
22
21
|
defaultsMode,
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
22
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
23
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
6
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
10
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "node",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
2
3
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
4
|
export const getRuntimeConfig = (config) => ({
|
|
4
5
|
apiVersion: "2019-07-29",
|
|
6
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
7
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
5
8
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
9
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
7
10
|
logger: config?.logger ?? {},
|
|
@@ -1156,12 +1156,25 @@ export interface ForwardedIPConfig {
|
|
|
1156
1156
|
FallbackBehavior: FallbackBehavior | string | undefined;
|
|
1157
1157
|
}
|
|
1158
1158
|
/**
|
|
1159
|
-
* <p>A rule statement
|
|
1159
|
+
* <p>A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match.</p>
|
|
1160
|
+
* <ul>
|
|
1161
|
+
* <li>
|
|
1162
|
+
* <p>To manage requests only by country, you can use this statement by itself and specify the countries that you want to match against in the <code>CountryCodes</code> array. </p>
|
|
1163
|
+
* </li>
|
|
1164
|
+
* <li>
|
|
1165
|
+
* <p>Otherwise, configure your geo match rule with Count action so that it only labels requests. Then, add one or more label match rules to run after the geo match rule and configure them to match against the geographic labels and handle the requests as needed. </p>
|
|
1166
|
+
* </li>
|
|
1167
|
+
* </ul>
|
|
1168
|
+
* <p>WAF labels requests using the alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard. WAF determines the codes using either the IP address in the web request origin or, if you specify it, the address in the geo match <code>ForwardedIPConfig</code>. </p>
|
|
1169
|
+
* <p>If you use the web request origin, the label formats are <code>awswaf:clientip:geo:region:<ISO country code>-<ISO region code></code> and <code>awswaf:clientip:geo:country:<ISO country code></code>.</p>
|
|
1170
|
+
* <p>If you use a forwarded IP address, the label formats are <code>awswaf:forwardedip:geo:region:<ISO country code>-<ISO region code></code> and <code>awswaf:forwardedip:geo:country:<ISO country code></code>.</p>
|
|
1171
|
+
* <p>For additional details, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-geo-match.html">Geographic match rule statement</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
|
|
1160
1172
|
*/
|
|
1161
1173
|
export interface GeoMatchStatement {
|
|
1162
1174
|
/**
|
|
1163
|
-
* <p>An array of two-character country codes, for example, <code>[ "US", "CN" ]</code>, from
|
|
1175
|
+
* <p>An array of two-character country codes that you want to match against, for example, <code>[ "US", "CN" ]</code>, from
|
|
1164
1176
|
* the alpha-2 country ISO codes of the ISO 3166 international standard. </p>
|
|
1177
|
+
* <p>When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that's unlikely to be a source of traffic to your site.</p>
|
|
1165
1178
|
*/
|
|
1166
1179
|
CountryCodes?: (CountryCode | string)[];
|
|
1167
1180
|
/**
|
|
@@ -1264,7 +1277,7 @@ export declare enum LabelMatchScope {
|
|
|
1264
1277
|
NAMESPACE = "NAMESPACE"
|
|
1265
1278
|
}
|
|
1266
1279
|
/**
|
|
1267
|
-
* <p>A rule statement
|
|
1280
|
+
* <p>A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL. </p>
|
|
1268
1281
|
* <p>The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, WAF performs the search for labels that were added in the same context as the label match statement. </p>
|
|
1269
1282
|
*/
|
|
1270
1283
|
export interface LabelMatchStatement {
|
|
@@ -4628,7 +4641,19 @@ export interface Statement {
|
|
|
4628
4641
|
*/
|
|
4629
4642
|
SizeConstraintStatement?: SizeConstraintStatement;
|
|
4630
4643
|
/**
|
|
4631
|
-
* <p>A rule statement
|
|
4644
|
+
* <p>A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match.</p>
|
|
4645
|
+
* <ul>
|
|
4646
|
+
* <li>
|
|
4647
|
+
* <p>To manage requests only by country, you can use this statement by itself and specify the countries that you want to match against in the <code>CountryCodes</code> array. </p>
|
|
4648
|
+
* </li>
|
|
4649
|
+
* <li>
|
|
4650
|
+
* <p>Otherwise, configure your geo match rule with Count action so that it only labels requests. Then, add one or more label match rules to run after the geo match rule and configure them to match against the geographic labels and handle the requests as needed. </p>
|
|
4651
|
+
* </li>
|
|
4652
|
+
* </ul>
|
|
4653
|
+
* <p>WAF labels requests using the alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard. WAF determines the codes using either the IP address in the web request origin or, if you specify it, the address in the geo match <code>ForwardedIPConfig</code>. </p>
|
|
4654
|
+
* <p>If you use the web request origin, the label formats are <code>awswaf:clientip:geo:region:<ISO country code>-<ISO region code></code> and <code>awswaf:clientip:geo:country:<ISO country code></code>.</p>
|
|
4655
|
+
* <p>If you use a forwarded IP address, the label formats are <code>awswaf:forwardedip:geo:region:<ISO country code>-<ISO region code></code> and <code>awswaf:forwardedip:geo:country:<ISO country code></code>.</p>
|
|
4656
|
+
* <p>For additional details, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-geo-match.html">Geographic match rule statement</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
|
|
4632
4657
|
*/
|
|
4633
4658
|
GeoMatchStatement?: GeoMatchStatement;
|
|
4634
4659
|
/**
|
|
@@ -4685,7 +4710,7 @@ export interface Statement {
|
|
|
4685
4710
|
*/
|
|
4686
4711
|
ManagedRuleGroupStatement?: ManagedRuleGroupStatement;
|
|
4687
4712
|
/**
|
|
4688
|
-
* <p>A rule statement
|
|
4713
|
+
* <p>A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL. </p>
|
|
4689
4714
|
* <p>The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, WAF performs the search for labels that were added in the same context as the label match statement. </p>
|
|
4690
4715
|
*/
|
|
4691
4716
|
LabelMatchStatement?: LabelMatchStatement;
|
|
@@ -6,8 +6,6 @@ import { WAFV2ClientConfig } from "./WAFV2Client";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -6,8 +6,6 @@ import { WAFV2ClientConfig } from "./WAFV2Client";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
@@ -23,6 +21,8 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
23
21
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
24
22
|
apiVersion: string;
|
|
25
23
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -5,6 +5,8 @@ import { WAFV2ClientConfig } from "./WAFV2Client";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
10
|
disableHostPrefix: boolean;
|
|
9
11
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
12
|
logger?: __Logger | undefined;
|
|
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
6
|
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider: (
|
|
12
10
|
input: any
|
|
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
33
31
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
32
|
apiVersion: string;
|
|
35
33
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -5,8 +5,6 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
6
|
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider: (
|
|
12
10
|
input: any
|
|
@@ -33,6 +31,8 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
33
31
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
32
|
apiVersion: string;
|
|
35
33
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -2,6 +2,8 @@ import { Logger as __Logger } from "@aws-sdk/types";
|
|
|
2
2
|
import { WAFV2ClientConfig } from "./WAFV2Client";
|
|
3
3
|
export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
4
4
|
apiVersion: string;
|
|
5
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
6
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
5
7
|
disableHostPrefix: boolean;
|
|
6
8
|
endpointProvider: (
|
|
7
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.205.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",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.204.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.204.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.204.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.201.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
42
|
"@aws-sdk/types": "3.201.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.201.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.202.0",
|
|
44
45
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
46
|
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|