@aws-sdk/client-wafv2 3.744.0 → 3.750.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.
@@ -712,6 +712,7 @@ export declare const ParameterExceptionField: {
712
712
  readonly CUSTOM_REQUEST_HANDLING: "CUSTOM_REQUEST_HANDLING";
713
713
  readonly CUSTOM_RESPONSE: "CUSTOM_RESPONSE";
714
714
  readonly CUSTOM_RESPONSE_BODY: "CUSTOM_RESPONSE_BODY";
715
+ readonly DATA_PROTECTION_CONFIG: "DATA_PROTECTION_CONFIG";
715
716
  readonly DEFAULT_ACTION: "DEFAULT_ACTION";
716
717
  readonly ENTITY_LIMIT: "ENTITY_LIMIT";
717
718
  readonly EXCLUDED_RULE: "EXCLUDED_RULE";
@@ -995,6 +996,34 @@ export interface RuleGroupSummary {
995
996
  export interface CreateRuleGroupResponse {
996
997
  Summary?: RuleGroupSummary | undefined;
997
998
  }
999
+ export declare const DataProtectionAction: {
1000
+ readonly HASH: "HASH";
1001
+ readonly SUBSTITUTION: "SUBSTITUTION";
1002
+ };
1003
+ export type DataProtectionAction =
1004
+ (typeof DataProtectionAction)[keyof typeof DataProtectionAction];
1005
+ export declare const FieldToProtectType: {
1006
+ readonly BODY: "BODY";
1007
+ readonly QUERY_STRING: "QUERY_STRING";
1008
+ readonly SINGLE_COOKIE: "SINGLE_COOKIE";
1009
+ readonly SINGLE_HEADER: "SINGLE_HEADER";
1010
+ readonly SINGLE_QUERY_ARGUMENT: "SINGLE_QUERY_ARGUMENT";
1011
+ };
1012
+ export type FieldToProtectType =
1013
+ (typeof FieldToProtectType)[keyof typeof FieldToProtectType];
1014
+ export interface FieldToProtect {
1015
+ FieldType: FieldToProtectType | undefined;
1016
+ FieldKeys?: string[] | undefined;
1017
+ }
1018
+ export interface DataProtection {
1019
+ Field: FieldToProtect | undefined;
1020
+ Action: DataProtectionAction | undefined;
1021
+ ExcludeRuleMatchDetails?: boolean | undefined;
1022
+ ExcludeRateBasedDetails?: boolean | undefined;
1023
+ }
1024
+ export interface DataProtectionConfig {
1025
+ DataProtections: DataProtection[] | undefined;
1026
+ }
998
1027
  export interface DefaultAction {
999
1028
  Block?: BlockAction | undefined;
1000
1029
  Allow?: AllowAction | undefined;
@@ -1721,6 +1750,7 @@ export interface CreateWebACLRequest {
1721
1750
  Description?: string | undefined;
1722
1751
  Rules?: Rule[] | undefined;
1723
1752
  VisibilityConfig: VisibilityConfig | undefined;
1753
+ DataProtectionConfig?: DataProtectionConfig | undefined;
1724
1754
  Tags?: Tag[] | undefined;
1725
1755
  CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
1726
1756
  CaptchaConfig?: CaptchaConfig | undefined;
@@ -1759,6 +1789,7 @@ export interface UpdateWebACLRequest {
1759
1789
  Description?: string | undefined;
1760
1790
  Rules?: Rule[] | undefined;
1761
1791
  VisibilityConfig: VisibilityConfig | undefined;
1792
+ DataProtectionConfig?: DataProtectionConfig | undefined;
1762
1793
  LockToken: string | undefined;
1763
1794
  CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
1764
1795
  CaptchaConfig?: CaptchaConfig | undefined;
@@ -1778,6 +1809,7 @@ export interface WebACL {
1778
1809
  Description?: string | undefined;
1779
1810
  Rules?: Rule[] | undefined;
1780
1811
  VisibilityConfig: VisibilityConfig | undefined;
1812
+ DataProtectionConfig?: DataProtectionConfig | undefined;
1781
1813
  Capacity?: number | undefined;
1782
1814
  PreProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
1783
1815
  PostProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | 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.744.0",
4
+ "version": "3.750.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-wafv2",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.744.0",
24
- "@aws-sdk/credential-provider-node": "3.744.0",
23
+ "@aws-sdk/core": "3.750.0",
24
+ "@aws-sdk/credential-provider-node": "3.750.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.744.0",
28
+ "@aws-sdk/middleware-user-agent": "3.750.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.744.0",
33
+ "@aws-sdk/util-user-agent-node": "3.750.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.2",
35
+ "@smithy/core": "^3.1.4",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.3",
41
- "@smithy/middleware-retry": "^4.0.4",
40
+ "@smithy/middleware-endpoint": "^4.0.5",
41
+ "@smithy/middleware-retry": "^4.0.6",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
45
  "@smithy/node-http-handler": "^4.0.2",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.3",
47
+ "@smithy/smithy-client": "^4.1.5",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.4",
54
- "@smithy/util-defaults-mode-node": "^4.0.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.6",
54
+ "@smithy/util-defaults-mode-node": "^4.0.6",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",