@aws-sdk/client-wafv2 3.80.0 → 3.81.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 +11 -0
- package/dist-cjs/models/models_0.js +60 -5
- package/dist-cjs/protocols/Aws_json1_1.js +173 -2
- package/dist-es/models/models_0.js +46 -0
- package/dist-es/protocols/Aws_json1_1.js +262 -109
- package/dist-types/WAFV2.d.ts +43 -3
- package/dist-types/commands/AssociateWebACLCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +30 -1
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +307 -55
- package/dist-types/ts3.4/models/models_0.d.ts +70 -0
- package/package.json +4 -4
|
@@ -59,13 +59,77 @@ export declare namespace AllQueryArguments {
|
|
|
59
59
|
|
|
60
60
|
const filterSensitiveLog: (obj: AllQueryArguments) => any;
|
|
61
61
|
}
|
|
62
|
+
export declare enum OversizeHandling {
|
|
63
|
+
CONTINUE = "CONTINUE",
|
|
64
|
+
MATCH = "MATCH",
|
|
65
|
+
NO_MATCH = "NO_MATCH"
|
|
66
|
+
}
|
|
62
67
|
|
|
63
68
|
export interface Body {
|
|
69
|
+
|
|
70
|
+
OversizeHandling?: OversizeHandling | string;
|
|
64
71
|
}
|
|
65
72
|
export declare namespace Body {
|
|
66
73
|
|
|
67
74
|
const filterSensitiveLog: (obj: Body) => any;
|
|
68
75
|
}
|
|
76
|
+
|
|
77
|
+
export interface CookieMatchPattern {
|
|
78
|
+
|
|
79
|
+
All?: All;
|
|
80
|
+
|
|
81
|
+
IncludedCookies?: string[];
|
|
82
|
+
|
|
83
|
+
ExcludedCookies?: string[];
|
|
84
|
+
}
|
|
85
|
+
export declare namespace CookieMatchPattern {
|
|
86
|
+
|
|
87
|
+
const filterSensitiveLog: (obj: CookieMatchPattern) => any;
|
|
88
|
+
}
|
|
89
|
+
export declare enum MapMatchScope {
|
|
90
|
+
ALL = "ALL",
|
|
91
|
+
KEY = "KEY",
|
|
92
|
+
VALUE = "VALUE"
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface Cookies {
|
|
96
|
+
|
|
97
|
+
MatchPattern: CookieMatchPattern | undefined;
|
|
98
|
+
|
|
99
|
+
MatchScope: MapMatchScope | string | undefined;
|
|
100
|
+
|
|
101
|
+
OversizeHandling: OversizeHandling | string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export declare namespace Cookies {
|
|
104
|
+
|
|
105
|
+
const filterSensitiveLog: (obj: Cookies) => any;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface HeaderMatchPattern {
|
|
109
|
+
|
|
110
|
+
All?: All;
|
|
111
|
+
|
|
112
|
+
IncludedHeaders?: string[];
|
|
113
|
+
|
|
114
|
+
ExcludedHeaders?: string[];
|
|
115
|
+
}
|
|
116
|
+
export declare namespace HeaderMatchPattern {
|
|
117
|
+
|
|
118
|
+
const filterSensitiveLog: (obj: HeaderMatchPattern) => any;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface Headers {
|
|
122
|
+
|
|
123
|
+
MatchPattern: HeaderMatchPattern | undefined;
|
|
124
|
+
|
|
125
|
+
MatchScope: MapMatchScope | string | undefined;
|
|
126
|
+
|
|
127
|
+
OversizeHandling: OversizeHandling | string | undefined;
|
|
128
|
+
}
|
|
129
|
+
export declare namespace Headers {
|
|
130
|
+
|
|
131
|
+
const filterSensitiveLog: (obj: Headers) => any;
|
|
132
|
+
}
|
|
69
133
|
export declare enum BodyParsingFallbackBehavior {
|
|
70
134
|
EVALUATE_AS_STRING = "EVALUATE_AS_STRING",
|
|
71
135
|
MATCH = "MATCH",
|
|
@@ -95,6 +159,8 @@ export interface JsonBody {
|
|
|
95
159
|
MatchScope: JsonMatchScope | string | undefined;
|
|
96
160
|
|
|
97
161
|
InvalidFallbackBehavior?: BodyParsingFallbackBehavior | string;
|
|
162
|
+
|
|
163
|
+
OversizeHandling?: OversizeHandling | string;
|
|
98
164
|
}
|
|
99
165
|
export declare namespace JsonBody {
|
|
100
166
|
|
|
@@ -157,6 +223,10 @@ export interface FieldToMatch {
|
|
|
157
223
|
Method?: Method;
|
|
158
224
|
|
|
159
225
|
JsonBody?: JsonBody;
|
|
226
|
+
|
|
227
|
+
Headers?: Headers;
|
|
228
|
+
|
|
229
|
+
Cookies?: Cookies;
|
|
160
230
|
}
|
|
161
231
|
export declare namespace FieldToMatch {
|
|
162
232
|
|
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.81.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.81.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.81.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.78.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.81.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|