@aws-sdk/client-wafv2 3.299.0 → 3.301.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.
Files changed (49) hide show
  1. package/dist-types/commands/AssociateWebACLCommand.d.ts +4 -0
  2. package/dist-types/commands/CheckCapacityCommand.d.ts +740 -0
  3. package/dist-types/commands/CreateIPSetCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateRuleGroupCommand.d.ts +760 -0
  6. package/dist-types/commands/CreateWebACLCommand.d.ts +760 -0
  7. package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
  9. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -0
  10. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
  12. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
  13. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
  14. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +6 -0
  15. package/dist-types/commands/DisassociateWebACLCommand.d.ts +3 -0
  16. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +4 -0
  17. package/dist-types/commands/GetIPSetCommand.d.ts +5 -0
  18. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -0
  19. package/dist-types/commands/GetManagedRuleSetCommand.d.ts +5 -0
  20. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +4 -0
  21. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -0
  22. package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +7 -0
  23. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +5 -0
  24. package/dist-types/commands/GetRuleGroupCommand.d.ts +6 -0
  25. package/dist-types/commands/GetSampledRequestsCommand.d.ts +10 -0
  26. package/dist-types/commands/GetWebACLCommand.d.ts +5 -0
  27. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +3 -0
  28. package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +7 -0
  29. package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +5 -0
  30. package/dist-types/commands/ListIPSetsCommand.d.ts +5 -0
  31. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +5 -0
  32. package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +5 -0
  33. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +5 -0
  34. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +5 -0
  35. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +4 -0
  36. package/dist-types/commands/ListRuleGroupsCommand.d.ts +5 -0
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
  38. package/dist-types/commands/ListWebACLsCommand.d.ts +5 -0
  39. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +82 -0
  40. package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +13 -0
  41. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  42. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  43. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  44. package/dist-types/commands/UpdateIPSetCommand.d.ts +10 -0
  45. package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +8 -0
  46. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +12 -0
  47. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +755 -0
  48. package/dist-types/commands/UpdateWebACLCommand.d.ts +756 -0
  49. package/package.json +8 -8
@@ -27,6 +27,766 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
27
27
  * import { WAFV2Client, CreateWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
28
28
  * // const { WAFV2Client, CreateWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
29
29
  * const client = new WAFV2Client(config);
30
+ * const input = { // CreateWebACLRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
33
+ * DefaultAction: { // DefaultAction
34
+ * Block: { // BlockAction
35
+ * CustomResponse: { // CustomResponse
36
+ * ResponseCode: Number("int"), // required
37
+ * CustomResponseBodyKey: "STRING_VALUE",
38
+ * ResponseHeaders: [ // CustomHTTPHeaders
39
+ * { // CustomHTTPHeader
40
+ * Name: "STRING_VALUE", // required
41
+ * Value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * },
45
+ * },
46
+ * Allow: { // AllowAction
47
+ * CustomRequestHandling: { // CustomRequestHandling
48
+ * InsertHeaders: [ // required
49
+ * {
50
+ * Name: "STRING_VALUE", // required
51
+ * Value: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * },
55
+ * },
56
+ * },
57
+ * Description: "STRING_VALUE",
58
+ * Rules: [ // Rules
59
+ * { // Rule
60
+ * Name: "STRING_VALUE", // required
61
+ * Priority: Number("int"), // required
62
+ * Statement: { // Statement
63
+ * ByteMatchStatement: { // ByteMatchStatement
64
+ * SearchString: "BLOB_VALUE", // required
65
+ * FieldToMatch: { // FieldToMatch
66
+ * SingleHeader: { // SingleHeader
67
+ * Name: "STRING_VALUE", // required
68
+ * },
69
+ * SingleQueryArgument: { // SingleQueryArgument
70
+ * Name: "STRING_VALUE", // required
71
+ * },
72
+ * AllQueryArguments: {},
73
+ * UriPath: {},
74
+ * QueryString: {},
75
+ * Body: { // Body
76
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
77
+ * },
78
+ * Method: {},
79
+ * JsonBody: { // JsonBody
80
+ * MatchPattern: { // JsonMatchPattern
81
+ * All: {},
82
+ * IncludedPaths: [ // JsonPointerPaths
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * },
86
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
87
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
88
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
89
+ * },
90
+ * Headers: { // Headers
91
+ * MatchPattern: { // HeaderMatchPattern
92
+ * All: {},
93
+ * IncludedHeaders: [ // HeaderNames
94
+ * "STRING_VALUE",
95
+ * ],
96
+ * ExcludedHeaders: [
97
+ * "STRING_VALUE",
98
+ * ],
99
+ * },
100
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
101
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
102
+ * },
103
+ * Cookies: { // Cookies
104
+ * MatchPattern: { // CookieMatchPattern
105
+ * All: {},
106
+ * IncludedCookies: [ // CookieNames
107
+ * "STRING_VALUE",
108
+ * ],
109
+ * ExcludedCookies: [
110
+ * "STRING_VALUE",
111
+ * ],
112
+ * },
113
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
114
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
115
+ * },
116
+ * },
117
+ * TextTransformations: [ // TextTransformations // required
118
+ * { // TextTransformation
119
+ * Priority: Number("int"), // required
120
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
121
+ * },
122
+ * ],
123
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
124
+ * },
125
+ * SqliMatchStatement: { // SqliMatchStatement
126
+ * FieldToMatch: {
127
+ * SingleHeader: {
128
+ * Name: "STRING_VALUE", // required
129
+ * },
130
+ * SingleQueryArgument: {
131
+ * Name: "STRING_VALUE", // required
132
+ * },
133
+ * AllQueryArguments: {},
134
+ * UriPath: {},
135
+ * QueryString: {},
136
+ * Body: {
137
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
138
+ * },
139
+ * Method: {},
140
+ * JsonBody: {
141
+ * MatchPattern: {
142
+ * All: {},
143
+ * IncludedPaths: [
144
+ * "STRING_VALUE",
145
+ * ],
146
+ * },
147
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
148
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
149
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
150
+ * },
151
+ * Headers: {
152
+ * MatchPattern: {
153
+ * All: {},
154
+ * IncludedHeaders: [
155
+ * "STRING_VALUE",
156
+ * ],
157
+ * ExcludedHeaders: [
158
+ * "STRING_VALUE",
159
+ * ],
160
+ * },
161
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
162
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
163
+ * },
164
+ * Cookies: {
165
+ * MatchPattern: {
166
+ * All: "<All>",
167
+ * IncludedCookies: [
168
+ * "STRING_VALUE",
169
+ * ],
170
+ * ExcludedCookies: [
171
+ * "STRING_VALUE",
172
+ * ],
173
+ * },
174
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
175
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
176
+ * },
177
+ * },
178
+ * TextTransformations: [ // required
179
+ * {
180
+ * Priority: Number("int"), // required
181
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
182
+ * },
183
+ * ],
184
+ * SensitivityLevel: "LOW" || "HIGH",
185
+ * },
186
+ * XssMatchStatement: { // XssMatchStatement
187
+ * FieldToMatch: {
188
+ * SingleHeader: {
189
+ * Name: "STRING_VALUE", // required
190
+ * },
191
+ * SingleQueryArgument: {
192
+ * Name: "STRING_VALUE", // required
193
+ * },
194
+ * AllQueryArguments: {},
195
+ * UriPath: {},
196
+ * QueryString: {},
197
+ * Body: {
198
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
199
+ * },
200
+ * Method: {},
201
+ * JsonBody: {
202
+ * MatchPattern: {
203
+ * All: "<All>",
204
+ * IncludedPaths: [
205
+ * "STRING_VALUE",
206
+ * ],
207
+ * },
208
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
209
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
210
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
211
+ * },
212
+ * Headers: {
213
+ * MatchPattern: {
214
+ * All: "<All>",
215
+ * IncludedHeaders: [
216
+ * "STRING_VALUE",
217
+ * ],
218
+ * ExcludedHeaders: "<HeaderNames>",
219
+ * },
220
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
221
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
222
+ * },
223
+ * Cookies: {
224
+ * MatchPattern: {
225
+ * All: "<All>",
226
+ * IncludedCookies: [
227
+ * "STRING_VALUE",
228
+ * ],
229
+ * ExcludedCookies: "<CookieNames>",
230
+ * },
231
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
232
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
233
+ * },
234
+ * },
235
+ * TextTransformations: [ // required
236
+ * {
237
+ * Priority: Number("int"), // required
238
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
239
+ * },
240
+ * ],
241
+ * },
242
+ * SizeConstraintStatement: { // SizeConstraintStatement
243
+ * FieldToMatch: {
244
+ * SingleHeader: {
245
+ * Name: "STRING_VALUE", // required
246
+ * },
247
+ * SingleQueryArgument: {
248
+ * Name: "STRING_VALUE", // required
249
+ * },
250
+ * AllQueryArguments: {},
251
+ * UriPath: {},
252
+ * QueryString: {},
253
+ * Body: {
254
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
255
+ * },
256
+ * Method: {},
257
+ * JsonBody: {
258
+ * MatchPattern: {
259
+ * All: "<All>",
260
+ * IncludedPaths: [
261
+ * "STRING_VALUE",
262
+ * ],
263
+ * },
264
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
265
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
266
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
267
+ * },
268
+ * Headers: {
269
+ * MatchPattern: {
270
+ * All: "<All>",
271
+ * IncludedHeaders: "<HeaderNames>",
272
+ * ExcludedHeaders: "<HeaderNames>",
273
+ * },
274
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
275
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
276
+ * },
277
+ * Cookies: {
278
+ * MatchPattern: {
279
+ * All: "<All>",
280
+ * IncludedCookies: "<CookieNames>",
281
+ * ExcludedCookies: "<CookieNames>",
282
+ * },
283
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
284
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
285
+ * },
286
+ * },
287
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
288
+ * Size: Number("long"), // required
289
+ * TextTransformations: [ // required
290
+ * {
291
+ * Priority: Number("int"), // required
292
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
293
+ * },
294
+ * ],
295
+ * },
296
+ * GeoMatchStatement: { // GeoMatchStatement
297
+ * CountryCodes: [ // CountryCodes
298
+ * "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW" || "XK",
299
+ * ],
300
+ * ForwardedIPConfig: { // ForwardedIPConfig
301
+ * HeaderName: "STRING_VALUE", // required
302
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
303
+ * },
304
+ * },
305
+ * RuleGroupReferenceStatement: { // RuleGroupReferenceStatement
306
+ * ARN: "STRING_VALUE", // required
307
+ * ExcludedRules: [ // ExcludedRules
308
+ * { // ExcludedRule
309
+ * Name: "STRING_VALUE", // required
310
+ * },
311
+ * ],
312
+ * RuleActionOverrides: [ // RuleActionOverrides
313
+ * { // RuleActionOverride
314
+ * Name: "STRING_VALUE", // required
315
+ * ActionToUse: { // RuleAction
316
+ * Block: {
317
+ * CustomResponse: {
318
+ * ResponseCode: Number("int"), // required
319
+ * CustomResponseBodyKey: "STRING_VALUE",
320
+ * ResponseHeaders: [
321
+ * {
322
+ * Name: "STRING_VALUE", // required
323
+ * Value: "STRING_VALUE", // required
324
+ * },
325
+ * ],
326
+ * },
327
+ * },
328
+ * Allow: {
329
+ * CustomRequestHandling: {
330
+ * InsertHeaders: [ // required
331
+ * {
332
+ * Name: "STRING_VALUE", // required
333
+ * Value: "STRING_VALUE", // required
334
+ * },
335
+ * ],
336
+ * },
337
+ * },
338
+ * Count: { // CountAction
339
+ * CustomRequestHandling: {
340
+ * InsertHeaders: [ // required
341
+ * {
342
+ * Name: "STRING_VALUE", // required
343
+ * Value: "STRING_VALUE", // required
344
+ * },
345
+ * ],
346
+ * },
347
+ * },
348
+ * Captcha: { // CaptchaAction
349
+ * CustomRequestHandling: {
350
+ * InsertHeaders: "<CustomHTTPHeaders>", // required
351
+ * },
352
+ * },
353
+ * Challenge: { // ChallengeAction
354
+ * CustomRequestHandling: {
355
+ * InsertHeaders: "<CustomHTTPHeaders>", // required
356
+ * },
357
+ * },
358
+ * },
359
+ * },
360
+ * ],
361
+ * },
362
+ * IPSetReferenceStatement: { // IPSetReferenceStatement
363
+ * ARN: "STRING_VALUE", // required
364
+ * IPSetForwardedIPConfig: { // IPSetForwardedIPConfig
365
+ * HeaderName: "STRING_VALUE", // required
366
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
367
+ * Position: "FIRST" || "LAST" || "ANY", // required
368
+ * },
369
+ * },
370
+ * RegexPatternSetReferenceStatement: { // RegexPatternSetReferenceStatement
371
+ * ARN: "STRING_VALUE", // required
372
+ * FieldToMatch: {
373
+ * SingleHeader: {
374
+ * Name: "STRING_VALUE", // required
375
+ * },
376
+ * SingleQueryArgument: {
377
+ * Name: "STRING_VALUE", // required
378
+ * },
379
+ * AllQueryArguments: {},
380
+ * UriPath: {},
381
+ * QueryString: {},
382
+ * Body: {
383
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
384
+ * },
385
+ * Method: {},
386
+ * JsonBody: {
387
+ * MatchPattern: {
388
+ * All: "<All>",
389
+ * IncludedPaths: [
390
+ * "STRING_VALUE",
391
+ * ],
392
+ * },
393
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
394
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
395
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
396
+ * },
397
+ * Headers: {
398
+ * MatchPattern: {
399
+ * All: "<All>",
400
+ * IncludedHeaders: "<HeaderNames>",
401
+ * ExcludedHeaders: "<HeaderNames>",
402
+ * },
403
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
404
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
405
+ * },
406
+ * Cookies: {
407
+ * MatchPattern: {
408
+ * All: "<All>",
409
+ * IncludedCookies: "<CookieNames>",
410
+ * ExcludedCookies: "<CookieNames>",
411
+ * },
412
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
413
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
414
+ * },
415
+ * },
416
+ * TextTransformations: [ // required
417
+ * {
418
+ * Priority: Number("int"), // required
419
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
420
+ * },
421
+ * ],
422
+ * },
423
+ * RateBasedStatement: { // RateBasedStatement
424
+ * Limit: Number("long"), // required
425
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
426
+ * ScopeDownStatement: {
427
+ * ByteMatchStatement: {
428
+ * SearchString: "BLOB_VALUE", // required
429
+ * FieldToMatch: "<FieldToMatch>", // required
430
+ * TextTransformations: "<TextTransformations>", // required
431
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
432
+ * },
433
+ * SqliMatchStatement: {
434
+ * FieldToMatch: "<FieldToMatch>", // required
435
+ * TextTransformations: "<TextTransformations>", // required
436
+ * SensitivityLevel: "LOW" || "HIGH",
437
+ * },
438
+ * XssMatchStatement: {
439
+ * FieldToMatch: "<FieldToMatch>", // required
440
+ * TextTransformations: "<TextTransformations>", // required
441
+ * },
442
+ * SizeConstraintStatement: {
443
+ * FieldToMatch: "<FieldToMatch>", // required
444
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
445
+ * Size: Number("long"), // required
446
+ * TextTransformations: "<TextTransformations>", // required
447
+ * },
448
+ * GeoMatchStatement: {
449
+ * CountryCodes: [
450
+ * "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW" || "XK",
451
+ * ],
452
+ * ForwardedIPConfig: {
453
+ * HeaderName: "STRING_VALUE", // required
454
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
455
+ * },
456
+ * },
457
+ * RuleGroupReferenceStatement: {
458
+ * ARN: "STRING_VALUE", // required
459
+ * ExcludedRules: [
460
+ * {
461
+ * Name: "STRING_VALUE", // required
462
+ * },
463
+ * ],
464
+ * RuleActionOverrides: [
465
+ * {
466
+ * Name: "STRING_VALUE", // required
467
+ * ActionToUse: {
468
+ * Block: "<BlockAction>",
469
+ * Allow: "<AllowAction>",
470
+ * Count: {
471
+ * CustomRequestHandling: "<CustomRequestHandling>",
472
+ * },
473
+ * Captcha: {
474
+ * CustomRequestHandling: "<CustomRequestHandling>",
475
+ * },
476
+ * Challenge: {
477
+ * CustomRequestHandling: "<CustomRequestHandling>",
478
+ * },
479
+ * },
480
+ * },
481
+ * ],
482
+ * },
483
+ * IPSetReferenceStatement: {
484
+ * ARN: "STRING_VALUE", // required
485
+ * IPSetForwardedIPConfig: {
486
+ * HeaderName: "STRING_VALUE", // required
487
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
488
+ * Position: "FIRST" || "LAST" || "ANY", // required
489
+ * },
490
+ * },
491
+ * RegexPatternSetReferenceStatement: {
492
+ * ARN: "STRING_VALUE", // required
493
+ * FieldToMatch: "<FieldToMatch>", // required
494
+ * TextTransformations: "<TextTransformations>", // required
495
+ * },
496
+ * RateBasedStatement: {
497
+ * Limit: Number("long"), // required
498
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
499
+ * ScopeDownStatement: "<Statement>",
500
+ * ForwardedIPConfig: {
501
+ * HeaderName: "STRING_VALUE", // required
502
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
503
+ * },
504
+ * },
505
+ * AndStatement: { // AndStatement
506
+ * Statements: [ // Statements // required
507
+ * "<Statement>",
508
+ * ],
509
+ * },
510
+ * OrStatement: { // OrStatement
511
+ * Statements: [ // required
512
+ * "<Statement>",
513
+ * ],
514
+ * },
515
+ * NotStatement: { // NotStatement
516
+ * Statement: "<Statement>", // required
517
+ * },
518
+ * ManagedRuleGroupStatement: { // ManagedRuleGroupStatement
519
+ * VendorName: "STRING_VALUE", // required
520
+ * Name: "STRING_VALUE", // required
521
+ * Version: "STRING_VALUE",
522
+ * ExcludedRules: [
523
+ * {
524
+ * Name: "STRING_VALUE", // required
525
+ * },
526
+ * ],
527
+ * ScopeDownStatement: "<Statement>",
528
+ * ManagedRuleGroupConfigs: [ // ManagedRuleGroupConfigs
529
+ * { // ManagedRuleGroupConfig
530
+ * LoginPath: "STRING_VALUE",
531
+ * PayloadType: "JSON" || "FORM_ENCODED",
532
+ * UsernameField: { // UsernameField
533
+ * Identifier: "STRING_VALUE", // required
534
+ * },
535
+ * PasswordField: { // PasswordField
536
+ * Identifier: "STRING_VALUE", // required
537
+ * },
538
+ * AWSManagedRulesBotControlRuleSet: { // AWSManagedRulesBotControlRuleSet
539
+ * InspectionLevel: "COMMON" || "TARGETED", // required
540
+ * },
541
+ * AWSManagedRulesATPRuleSet: { // AWSManagedRulesATPRuleSet
542
+ * LoginPath: "STRING_VALUE", // required
543
+ * RequestInspection: { // RequestInspection
544
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
545
+ * UsernameField: {
546
+ * Identifier: "STRING_VALUE", // required
547
+ * },
548
+ * PasswordField: {
549
+ * Identifier: "STRING_VALUE", // required
550
+ * },
551
+ * },
552
+ * ResponseInspection: { // ResponseInspection
553
+ * StatusCode: { // ResponseInspectionStatusCode
554
+ * SuccessCodes: [ // ResponseInspectionStatusCodeSuccessCodes // required
555
+ * Number("int"),
556
+ * ],
557
+ * FailureCodes: [ // ResponseInspectionStatusCodeFailureCodes // required
558
+ * Number("int"),
559
+ * ],
560
+ * },
561
+ * Header: { // ResponseInspectionHeader
562
+ * Name: "STRING_VALUE", // required
563
+ * SuccessValues: [ // ResponseInspectionHeaderSuccessValues // required
564
+ * "STRING_VALUE",
565
+ * ],
566
+ * FailureValues: [ // ResponseInspectionHeaderFailureValues // required
567
+ * "STRING_VALUE",
568
+ * ],
569
+ * },
570
+ * BodyContains: { // ResponseInspectionBodyContains
571
+ * SuccessStrings: [ // ResponseInspectionBodyContainsSuccessStrings // required
572
+ * "STRING_VALUE",
573
+ * ],
574
+ * FailureStrings: [ // ResponseInspectionBodyContainsFailureStrings // required
575
+ * "STRING_VALUE",
576
+ * ],
577
+ * },
578
+ * Json: { // ResponseInspectionJson
579
+ * Identifier: "STRING_VALUE", // required
580
+ * SuccessValues: [ // ResponseInspectionJsonSuccessValues // required
581
+ * "STRING_VALUE",
582
+ * ],
583
+ * FailureValues: [ // ResponseInspectionJsonFailureValues // required
584
+ * "STRING_VALUE",
585
+ * ],
586
+ * },
587
+ * },
588
+ * },
589
+ * },
590
+ * ],
591
+ * RuleActionOverrides: [
592
+ * {
593
+ * Name: "STRING_VALUE", // required
594
+ * ActionToUse: {
595
+ * Block: "<BlockAction>",
596
+ * Allow: "<AllowAction>",
597
+ * Count: {
598
+ * CustomRequestHandling: "<CustomRequestHandling>",
599
+ * },
600
+ * Captcha: {
601
+ * CustomRequestHandling: "<CustomRequestHandling>",
602
+ * },
603
+ * Challenge: {
604
+ * CustomRequestHandling: "<CustomRequestHandling>",
605
+ * },
606
+ * },
607
+ * },
608
+ * ],
609
+ * },
610
+ * LabelMatchStatement: { // LabelMatchStatement
611
+ * Scope: "LABEL" || "NAMESPACE", // required
612
+ * Key: "STRING_VALUE", // required
613
+ * },
614
+ * RegexMatchStatement: { // RegexMatchStatement
615
+ * RegexString: "STRING_VALUE", // required
616
+ * FieldToMatch: "<FieldToMatch>", // required
617
+ * TextTransformations: "<TextTransformations>", // required
618
+ * },
619
+ * },
620
+ * ForwardedIPConfig: {
621
+ * HeaderName: "STRING_VALUE", // required
622
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
623
+ * },
624
+ * },
625
+ * AndStatement: {
626
+ * Statements: [ // required
627
+ * "<Statement>",
628
+ * ],
629
+ * },
630
+ * OrStatement: {
631
+ * Statements: [ // required
632
+ * "<Statement>",
633
+ * ],
634
+ * },
635
+ * NotStatement: {
636
+ * Statement: "<Statement>", // required
637
+ * },
638
+ * ManagedRuleGroupStatement: {
639
+ * VendorName: "STRING_VALUE", // required
640
+ * Name: "STRING_VALUE", // required
641
+ * Version: "STRING_VALUE",
642
+ * ExcludedRules: [
643
+ * {
644
+ * Name: "STRING_VALUE", // required
645
+ * },
646
+ * ],
647
+ * ScopeDownStatement: "<Statement>",
648
+ * ManagedRuleGroupConfigs: [
649
+ * {
650
+ * LoginPath: "STRING_VALUE",
651
+ * PayloadType: "JSON" || "FORM_ENCODED",
652
+ * UsernameField: "<UsernameField>",
653
+ * PasswordField: "<PasswordField>",
654
+ * AWSManagedRulesBotControlRuleSet: {
655
+ * InspectionLevel: "COMMON" || "TARGETED", // required
656
+ * },
657
+ * AWSManagedRulesATPRuleSet: {
658
+ * LoginPath: "STRING_VALUE", // required
659
+ * RequestInspection: {
660
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
661
+ * UsernameField: "<UsernameField>", // required
662
+ * PasswordField: "<PasswordField>", // required
663
+ * },
664
+ * ResponseInspection: {
665
+ * StatusCode: {
666
+ * SuccessCodes: [ // required
667
+ * Number("int"),
668
+ * ],
669
+ * FailureCodes: [ // required
670
+ * Number("int"),
671
+ * ],
672
+ * },
673
+ * Header: {
674
+ * Name: "STRING_VALUE", // required
675
+ * SuccessValues: [ // required
676
+ * "STRING_VALUE",
677
+ * ],
678
+ * FailureValues: [ // required
679
+ * "STRING_VALUE",
680
+ * ],
681
+ * },
682
+ * BodyContains: {
683
+ * SuccessStrings: [ // required
684
+ * "STRING_VALUE",
685
+ * ],
686
+ * FailureStrings: [ // required
687
+ * "STRING_VALUE",
688
+ * ],
689
+ * },
690
+ * Json: {
691
+ * Identifier: "STRING_VALUE", // required
692
+ * SuccessValues: [ // required
693
+ * "STRING_VALUE",
694
+ * ],
695
+ * FailureValues: [ // required
696
+ * "STRING_VALUE",
697
+ * ],
698
+ * },
699
+ * },
700
+ * },
701
+ * },
702
+ * ],
703
+ * RuleActionOverrides: [
704
+ * {
705
+ * Name: "STRING_VALUE", // required
706
+ * ActionToUse: {
707
+ * Block: "<BlockAction>",
708
+ * Allow: "<AllowAction>",
709
+ * Count: {
710
+ * CustomRequestHandling: "<CustomRequestHandling>",
711
+ * },
712
+ * Captcha: {
713
+ * CustomRequestHandling: "<CustomRequestHandling>",
714
+ * },
715
+ * Challenge: {
716
+ * CustomRequestHandling: "<CustomRequestHandling>",
717
+ * },
718
+ * },
719
+ * },
720
+ * ],
721
+ * },
722
+ * LabelMatchStatement: {
723
+ * Scope: "LABEL" || "NAMESPACE", // required
724
+ * Key: "STRING_VALUE", // required
725
+ * },
726
+ * RegexMatchStatement: {
727
+ * RegexString: "STRING_VALUE", // required
728
+ * FieldToMatch: "<FieldToMatch>", // required
729
+ * TextTransformations: "<TextTransformations>", // required
730
+ * },
731
+ * },
732
+ * Action: "<RuleAction>",
733
+ * OverrideAction: { // OverrideAction
734
+ * Count: "<CountAction>",
735
+ * None: {},
736
+ * },
737
+ * RuleLabels: [ // Labels
738
+ * { // Label
739
+ * Name: "STRING_VALUE", // required
740
+ * },
741
+ * ],
742
+ * VisibilityConfig: { // VisibilityConfig
743
+ * SampledRequestsEnabled: true || false, // required
744
+ * CloudWatchMetricsEnabled: true || false, // required
745
+ * MetricName: "STRING_VALUE", // required
746
+ * },
747
+ * CaptchaConfig: { // CaptchaConfig
748
+ * ImmunityTimeProperty: { // ImmunityTimeProperty
749
+ * ImmunityTime: Number("long"), // required
750
+ * },
751
+ * },
752
+ * ChallengeConfig: { // ChallengeConfig
753
+ * ImmunityTimeProperty: {
754
+ * ImmunityTime: Number("long"), // required
755
+ * },
756
+ * },
757
+ * },
758
+ * ],
759
+ * VisibilityConfig: {
760
+ * SampledRequestsEnabled: true || false, // required
761
+ * CloudWatchMetricsEnabled: true || false, // required
762
+ * MetricName: "STRING_VALUE", // required
763
+ * },
764
+ * Tags: [ // TagList
765
+ * { // Tag
766
+ * Key: "STRING_VALUE", // required
767
+ * Value: "STRING_VALUE", // required
768
+ * },
769
+ * ],
770
+ * CustomResponseBodies: { // CustomResponseBodies
771
+ * "<keys>": { // CustomResponseBody
772
+ * ContentType: "TEXT_PLAIN" || "TEXT_HTML" || "APPLICATION_JSON", // required
773
+ * Content: "STRING_VALUE", // required
774
+ * },
775
+ * },
776
+ * CaptchaConfig: {
777
+ * ImmunityTimeProperty: {
778
+ * ImmunityTime: Number("long"), // required
779
+ * },
780
+ * },
781
+ * ChallengeConfig: {
782
+ * ImmunityTimeProperty: {
783
+ * ImmunityTime: Number("long"), // required
784
+ * },
785
+ * },
786
+ * TokenDomains: [ // TokenDomains
787
+ * "STRING_VALUE",
788
+ * ],
789
+ * };
30
790
  * const command = new CreateWebACLCommand(input);
31
791
  * const response = await client.send(command);
32
792
  * ```