@aws-sdk/client-wafv2 3.171.0 → 3.178.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 CHANGED
@@ -3,6 +3,14 @@
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.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-wafv2
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-wafv2
@@ -1666,7 +1666,10 @@ export declare class WAFInvalidParameterException extends __BaseException {
1666
1666
  constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
1667
1667
  }
1668
1668
  /**
1669
- * <p>WAF couldn’t perform the operation because your resource doesnt exist. </p>
1669
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
1670
+ * If you've just created a resource that you're using in this operation, you might
1671
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
1672
+ * for changes to propagate. </p>
1670
1673
  */
1671
1674
  export declare class WAFNonexistentItemException extends __BaseException {
1672
1675
  readonly name: "WAFNonexistentItemException";
@@ -1678,9 +1681,11 @@ export declare class WAFNonexistentItemException extends __BaseException {
1678
1681
  constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
1679
1682
  }
1680
1683
  /**
1681
- * <p>WAF couldn’t retrieve a resource that you specified for this operation. Verify the
1682
- * resources that you are specifying in your request parameters and then retry the
1683
- * operation.</p>
1684
+ * <p>WAF couldn’t retrieve a resource that you specified for this operation.
1685
+ * If you've just created a resource that you're using in this operation, you might
1686
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
1687
+ * for changes to propagate. Verify the resources that you are specifying in your request
1688
+ * parameters and then retry the operation.</p>
1684
1689
  */
1685
1690
  export declare class WAFUnavailableEntityException extends __BaseException {
1686
1691
  readonly name: "WAFUnavailableEntityException";
@@ -1798,7 +1803,7 @@ export interface RuleAction {
1798
1803
  */
1799
1804
  Allow?: AllowAction;
1800
1805
  /**
1801
- * <p>Instructs WAF to count the web request and allow it.</p>
1806
+ * <p>Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.</p>
1802
1807
  */
1803
1808
  Count?: CountAction;
1804
1809
  /**
@@ -2015,7 +2020,7 @@ export interface CreateIPSetRequest {
2015
2020
  */
2016
2021
  IPAddressVersion: IPAddressVersion | string | undefined;
2017
2022
  /**
2018
- * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>
2023
+ * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for <code>/0</code>. </p>
2019
2024
  * <p>Example address strings: </p>
2020
2025
  * <ul>
2021
2026
  * <li>
@@ -2271,7 +2276,7 @@ export interface CreateRuleGroupResponse {
2271
2276
  /**
2272
2277
  * <p>In a <a>WebACL</a>, this is the action that you want WAF to perform
2273
2278
  * when a web request doesn't match any of the rules in the <code>WebACL</code>. The default
2274
- * action must be a terminating action, so you can't use count.</p>
2279
+ * action must be a terminating action.</p>
2275
2280
  */
2276
2281
  export interface DefaultAction {
2277
2282
  /**
@@ -2721,7 +2726,7 @@ export interface IPSet {
2721
2726
  */
2722
2727
  IPAddressVersion: IPAddressVersion | string | undefined;
2723
2728
  /**
2724
- * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>
2729
+ * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for <code>/0</code>. </p>
2725
2730
  * <p>Example address strings: </p>
2726
2731
  * <ul>
2727
2732
  * <li>
@@ -3935,6 +3940,11 @@ export interface ListResourcesForWebACLRequest {
3935
3940
  /**
3936
3941
  * <p>Used for web ACLs that are scoped for regional applications.
3937
3942
  * A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
3943
+ * <note>
3944
+ * <p>If you don't provide a resource type, the call uses the resource type <code>APPLICATION_LOAD_BALANCER</code>. </p>
3945
+ * </note>
3946
+ * <p>Default: <code>APPLICATION_LOAD_BALANCER</code>
3947
+ * </p>
3938
3948
  */
3939
3949
  ResourceType?: ResourceType | string;
3940
3950
  }
@@ -4306,7 +4316,7 @@ export interface UpdateIPSetRequest {
4306
4316
  */
4307
4317
  Description?: string;
4308
4318
  /**
4309
- * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses in Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for /0. </p>
4319
+ * <p>Contains an array of strings that specifies zero or more IP addresses or blocks of IP addresses. All addresses must be specified using Classless Inter-Domain Routing (CIDR) notation. WAF supports all IPv4 and IPv6 CIDR ranges except for <code>/0</code>. </p>
4310
4320
  * <p>Example address strings: </p>
4311
4321
  * <ul>
4312
4322
  * <li>
@@ -4538,6 +4548,9 @@ export interface Statement {
4538
4548
  /**
4539
4549
  * <p>A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling <a>ListAvailableManagedRuleGroups</a>.</p>
4540
4550
  * <p>You cannot nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>
4551
+ * <note>
4552
+ * <p>You are charged additional fees when you use the WAF Bot Control managed rule group <code>AWSManagedRulesBotControlRuleSet</code> or the WAF Fraud Control account takeover prevention (ATP) managed rule group <code>AWSManagedRulesATPRuleSet</code>. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
4553
+ * </note>
4541
4554
  */
4542
4555
  ManagedRuleGroupStatement?: ManagedRuleGroupStatement;
4543
4556
  /**
@@ -4553,6 +4566,9 @@ export interface Statement {
4553
4566
  /**
4554
4567
  * <p>A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling <a>ListAvailableManagedRuleGroups</a>.</p>
4555
4568
  * <p>You cannot nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>
4569
+ * <note>
4570
+ * <p>You are charged additional fees when you use the WAF Bot Control managed rule group <code>AWSManagedRulesBotControlRuleSet</code> or the WAF Fraud Control account takeover prevention (ATP) managed rule group <code>AWSManagedRulesATPRuleSet</code>. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
4571
+ * </note>
4556
4572
  */
4557
4573
  export interface ManagedRuleGroupStatement {
4558
4574
  /**
@@ -4771,6 +4787,9 @@ export interface FirewallManagerStatement {
4771
4787
  /**
4772
4788
  * <p>A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling <a>ListAvailableManagedRuleGroups</a>.</p>
4773
4789
  * <p>You cannot nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>
4790
+ * <note>
4791
+ * <p>You are charged additional fees when you use the WAF Bot Control managed rule group <code>AWSManagedRulesBotControlRuleSet</code> or the WAF Fraud Control account takeover prevention (ATP) managed rule group <code>AWSManagedRulesATPRuleSet</code>. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
4792
+ * </note>
4774
4793
  */
4775
4794
  ManagedRuleGroupStatement?: ManagedRuleGroupStatement;
4776
4795
  /**
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -50,7 +50,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
50
50
  | undefined;
51
51
  signer?:
52
52
  | import("@aws-sdk/types").RequestSigner
53
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
54
56
  | undefined;
55
57
  signingEscapePath?: boolean | undefined;
56
58
  systemClockOffset?: number | undefined;
@@ -50,7 +50,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
50
50
  | undefined;
51
51
  signer?:
52
52
  | import("@aws-sdk/types").RequestSigner
53
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
54
56
  | undefined;
55
57
  signingEscapePath?: boolean | undefined;
56
58
  systemClockOffset?: number | undefined;
@@ -51,7 +51,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
51
51
  | undefined;
52
52
  signer?:
53
53
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
54
+ | ((
55
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
56
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
57
  | undefined;
56
58
  signingEscapePath?: boolean | undefined;
57
59
  systemClockOffset?: number | undefined;
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.171.0",
4
+ "version": "3.178.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,35 +19,35 @@
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.171.0",
23
- "@aws-sdk/config-resolver": "3.171.0",
24
- "@aws-sdk/credential-provider-node": "3.171.0",
25
- "@aws-sdk/fetch-http-handler": "3.171.0",
26
- "@aws-sdk/hash-node": "3.171.0",
27
- "@aws-sdk/invalid-dependency": "3.171.0",
28
- "@aws-sdk/middleware-content-length": "3.171.0",
29
- "@aws-sdk/middleware-host-header": "3.171.0",
30
- "@aws-sdk/middleware-logger": "3.171.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
- "@aws-sdk/middleware-retry": "3.171.0",
33
- "@aws-sdk/middleware-serde": "3.171.0",
34
- "@aws-sdk/middleware-signing": "3.171.0",
35
- "@aws-sdk/middleware-stack": "3.171.0",
36
- "@aws-sdk/middleware-user-agent": "3.171.0",
37
- "@aws-sdk/node-config-provider": "3.171.0",
38
- "@aws-sdk/node-http-handler": "3.171.0",
39
- "@aws-sdk/protocol-http": "3.171.0",
40
- "@aws-sdk/smithy-client": "3.171.0",
41
- "@aws-sdk/types": "3.171.0",
42
- "@aws-sdk/url-parser": "3.171.0",
22
+ "@aws-sdk/client-sts": "3.178.0",
23
+ "@aws-sdk/config-resolver": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.178.0",
25
+ "@aws-sdk/fetch-http-handler": "3.178.0",
26
+ "@aws-sdk/hash-node": "3.178.0",
27
+ "@aws-sdk/invalid-dependency": "3.178.0",
28
+ "@aws-sdk/middleware-content-length": "3.178.0",
29
+ "@aws-sdk/middleware-host-header": "3.178.0",
30
+ "@aws-sdk/middleware-logger": "3.178.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
+ "@aws-sdk/middleware-retry": "3.178.0",
33
+ "@aws-sdk/middleware-serde": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.178.0",
35
+ "@aws-sdk/middleware-stack": "3.178.0",
36
+ "@aws-sdk/middleware-user-agent": "3.178.0",
37
+ "@aws-sdk/node-config-provider": "3.178.0",
38
+ "@aws-sdk/node-http-handler": "3.178.0",
39
+ "@aws-sdk/protocol-http": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.178.0",
41
+ "@aws-sdk/types": "3.178.0",
42
+ "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
- "@aws-sdk/util-user-agent-browser": "3.171.0",
50
- "@aws-sdk/util-user-agent-node": "3.171.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
50
+ "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"