@aws-sdk/client-wafv2 3.298.0 → 3.300.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 +1175 -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 +1195 -0
  6. package/dist-types/commands/CreateWebACLCommand.d.ts +1200 -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 +1190 -0
  48. package/dist-types/commands/UpdateWebACLCommand.d.ts +1196 -0
  49. package/package.json +12 -12
@@ -45,6 +45,1202 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
45
45
  * import { WAFV2Client, UpdateWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
46
46
  * // const { WAFV2Client, UpdateWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
47
47
  * const client = new WAFV2Client(config);
48
+ * const input = {
49
+ * Name: "STRING_VALUE", // required
50
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
51
+ * Id: "STRING_VALUE", // required
52
+ * DefaultAction: {
53
+ * Block: {
54
+ * CustomResponse: {
55
+ * ResponseCode: Number("int"), // required
56
+ * CustomResponseBodyKey: "STRING_VALUE",
57
+ * ResponseHeaders: [
58
+ * {
59
+ * Name: "STRING_VALUE", // required
60
+ * Value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * },
64
+ * },
65
+ * Allow: {
66
+ * CustomRequestHandling: {
67
+ * InsertHeaders: [ // required
68
+ * {
69
+ * Name: "STRING_VALUE", // required
70
+ * Value: "STRING_VALUE", // required
71
+ * },
72
+ * ],
73
+ * },
74
+ * },
75
+ * },
76
+ * Description: "STRING_VALUE",
77
+ * Rules: [
78
+ * {
79
+ * Name: "STRING_VALUE", // required
80
+ * Priority: Number("int"), // required
81
+ * Statement: {
82
+ * ByteMatchStatement: {
83
+ * SearchString: "BLOB_VALUE", // required
84
+ * FieldToMatch: {
85
+ * SingleHeader: {
86
+ * Name: "STRING_VALUE", // required
87
+ * },
88
+ * SingleQueryArgument: {
89
+ * Name: "STRING_VALUE", // required
90
+ * },
91
+ * AllQueryArguments: {},
92
+ * UriPath: {},
93
+ * QueryString: {},
94
+ * Body: {
95
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
96
+ * },
97
+ * Method: {},
98
+ * JsonBody: {
99
+ * MatchPattern: {
100
+ * All: {},
101
+ * IncludedPaths: [
102
+ * "STRING_VALUE",
103
+ * ],
104
+ * },
105
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
106
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
107
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
108
+ * },
109
+ * Headers: {
110
+ * MatchPattern: {
111
+ * All: {},
112
+ * IncludedHeaders: [
113
+ * "STRING_VALUE",
114
+ * ],
115
+ * ExcludedHeaders: [
116
+ * "STRING_VALUE",
117
+ * ],
118
+ * },
119
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
120
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
121
+ * },
122
+ * Cookies: {
123
+ * MatchPattern: {
124
+ * All: {},
125
+ * IncludedCookies: [
126
+ * "STRING_VALUE",
127
+ * ],
128
+ * ExcludedCookies: [
129
+ * "STRING_VALUE",
130
+ * ],
131
+ * },
132
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
133
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
134
+ * },
135
+ * },
136
+ * TextTransformations: [ // required
137
+ * {
138
+ * Priority: Number("int"), // required
139
+ * 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
140
+ * },
141
+ * ],
142
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
143
+ * },
144
+ * SqliMatchStatement: {
145
+ * FieldToMatch: {
146
+ * SingleHeader: {
147
+ * Name: "STRING_VALUE", // required
148
+ * },
149
+ * SingleQueryArgument: {
150
+ * Name: "STRING_VALUE", // required
151
+ * },
152
+ * AllQueryArguments: {},
153
+ * UriPath: {},
154
+ * QueryString: {},
155
+ * Body: {
156
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
157
+ * },
158
+ * Method: {},
159
+ * JsonBody: {
160
+ * MatchPattern: {
161
+ * All: {},
162
+ * IncludedPaths: [
163
+ * "STRING_VALUE",
164
+ * ],
165
+ * },
166
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
167
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
168
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
169
+ * },
170
+ * Headers: {
171
+ * MatchPattern: {
172
+ * All: {},
173
+ * IncludedHeaders: [
174
+ * "STRING_VALUE",
175
+ * ],
176
+ * ExcludedHeaders: [
177
+ * "STRING_VALUE",
178
+ * ],
179
+ * },
180
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
181
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
182
+ * },
183
+ * Cookies: {
184
+ * MatchPattern: {
185
+ * All: {},
186
+ * IncludedCookies: [
187
+ * "STRING_VALUE",
188
+ * ],
189
+ * ExcludedCookies: [
190
+ * "STRING_VALUE",
191
+ * ],
192
+ * },
193
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
194
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
195
+ * },
196
+ * },
197
+ * TextTransformations: [ // required
198
+ * {
199
+ * Priority: Number("int"), // required
200
+ * 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
201
+ * },
202
+ * ],
203
+ * SensitivityLevel: "LOW" || "HIGH",
204
+ * },
205
+ * XssMatchStatement: {
206
+ * FieldToMatch: {
207
+ * SingleHeader: {
208
+ * Name: "STRING_VALUE", // required
209
+ * },
210
+ * SingleQueryArgument: {
211
+ * Name: "STRING_VALUE", // required
212
+ * },
213
+ * AllQueryArguments: {},
214
+ * UriPath: {},
215
+ * QueryString: {},
216
+ * Body: {
217
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
218
+ * },
219
+ * Method: {},
220
+ * JsonBody: {
221
+ * MatchPattern: {
222
+ * All: {},
223
+ * IncludedPaths: [
224
+ * "STRING_VALUE",
225
+ * ],
226
+ * },
227
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
228
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
229
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
230
+ * },
231
+ * Headers: {
232
+ * MatchPattern: {
233
+ * All: {},
234
+ * IncludedHeaders: [
235
+ * "STRING_VALUE",
236
+ * ],
237
+ * ExcludedHeaders: [
238
+ * "STRING_VALUE",
239
+ * ],
240
+ * },
241
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
242
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
243
+ * },
244
+ * Cookies: {
245
+ * MatchPattern: {
246
+ * All: {},
247
+ * IncludedCookies: [
248
+ * "STRING_VALUE",
249
+ * ],
250
+ * ExcludedCookies: [
251
+ * "STRING_VALUE",
252
+ * ],
253
+ * },
254
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
255
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
256
+ * },
257
+ * },
258
+ * TextTransformations: [ // required
259
+ * {
260
+ * Priority: Number("int"), // required
261
+ * 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
262
+ * },
263
+ * ],
264
+ * },
265
+ * SizeConstraintStatement: {
266
+ * FieldToMatch: {
267
+ * SingleHeader: {
268
+ * Name: "STRING_VALUE", // required
269
+ * },
270
+ * SingleQueryArgument: {
271
+ * Name: "STRING_VALUE", // required
272
+ * },
273
+ * AllQueryArguments: {},
274
+ * UriPath: {},
275
+ * QueryString: {},
276
+ * Body: {
277
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
278
+ * },
279
+ * Method: {},
280
+ * JsonBody: {
281
+ * MatchPattern: {
282
+ * All: {},
283
+ * IncludedPaths: [
284
+ * "STRING_VALUE",
285
+ * ],
286
+ * },
287
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
288
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
289
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
290
+ * },
291
+ * Headers: {
292
+ * MatchPattern: {
293
+ * All: {},
294
+ * IncludedHeaders: [
295
+ * "STRING_VALUE",
296
+ * ],
297
+ * ExcludedHeaders: [
298
+ * "STRING_VALUE",
299
+ * ],
300
+ * },
301
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
302
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
303
+ * },
304
+ * Cookies: {
305
+ * MatchPattern: {
306
+ * All: {},
307
+ * IncludedCookies: [
308
+ * "STRING_VALUE",
309
+ * ],
310
+ * ExcludedCookies: [
311
+ * "STRING_VALUE",
312
+ * ],
313
+ * },
314
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
315
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
316
+ * },
317
+ * },
318
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
319
+ * Size: Number("long"), // required
320
+ * TextTransformations: [ // required
321
+ * {
322
+ * Priority: Number("int"), // required
323
+ * 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
324
+ * },
325
+ * ],
326
+ * },
327
+ * GeoMatchStatement: {
328
+ * CountryCodes: [
329
+ * "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",
330
+ * ],
331
+ * ForwardedIPConfig: {
332
+ * HeaderName: "STRING_VALUE", // required
333
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
334
+ * },
335
+ * },
336
+ * RuleGroupReferenceStatement: {
337
+ * ARN: "STRING_VALUE", // required
338
+ * ExcludedRules: [
339
+ * {
340
+ * Name: "STRING_VALUE", // required
341
+ * },
342
+ * ],
343
+ * RuleActionOverrides: [
344
+ * {
345
+ * Name: "STRING_VALUE", // required
346
+ * ActionToUse: {
347
+ * Block: {
348
+ * CustomResponse: {
349
+ * ResponseCode: Number("int"), // required
350
+ * CustomResponseBodyKey: "STRING_VALUE",
351
+ * ResponseHeaders: [
352
+ * {
353
+ * Name: "STRING_VALUE", // required
354
+ * Value: "STRING_VALUE", // required
355
+ * },
356
+ * ],
357
+ * },
358
+ * },
359
+ * Allow: {
360
+ * CustomRequestHandling: {
361
+ * InsertHeaders: [ // required
362
+ * {
363
+ * Name: "STRING_VALUE", // required
364
+ * Value: "STRING_VALUE", // required
365
+ * },
366
+ * ],
367
+ * },
368
+ * },
369
+ * Count: {
370
+ * CustomRequestHandling: {
371
+ * InsertHeaders: [ // required
372
+ * {
373
+ * Name: "STRING_VALUE", // required
374
+ * Value: "STRING_VALUE", // required
375
+ * },
376
+ * ],
377
+ * },
378
+ * },
379
+ * Captcha: {
380
+ * CustomRequestHandling: {
381
+ * InsertHeaders: [ // required
382
+ * {
383
+ * Name: "STRING_VALUE", // required
384
+ * Value: "STRING_VALUE", // required
385
+ * },
386
+ * ],
387
+ * },
388
+ * },
389
+ * Challenge: {
390
+ * CustomRequestHandling: {
391
+ * InsertHeaders: [ // required
392
+ * {
393
+ * Name: "STRING_VALUE", // required
394
+ * Value: "STRING_VALUE", // required
395
+ * },
396
+ * ],
397
+ * },
398
+ * },
399
+ * },
400
+ * },
401
+ * ],
402
+ * },
403
+ * IPSetReferenceStatement: {
404
+ * ARN: "STRING_VALUE", // required
405
+ * IPSetForwardedIPConfig: {
406
+ * HeaderName: "STRING_VALUE", // required
407
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
408
+ * Position: "FIRST" || "LAST" || "ANY", // required
409
+ * },
410
+ * },
411
+ * RegexPatternSetReferenceStatement: {
412
+ * ARN: "STRING_VALUE", // required
413
+ * FieldToMatch: {
414
+ * SingleHeader: {
415
+ * Name: "STRING_VALUE", // required
416
+ * },
417
+ * SingleQueryArgument: {
418
+ * Name: "STRING_VALUE", // required
419
+ * },
420
+ * AllQueryArguments: {},
421
+ * UriPath: {},
422
+ * QueryString: {},
423
+ * Body: {
424
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
425
+ * },
426
+ * Method: {},
427
+ * JsonBody: {
428
+ * MatchPattern: {
429
+ * All: {},
430
+ * IncludedPaths: [
431
+ * "STRING_VALUE",
432
+ * ],
433
+ * },
434
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
435
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
436
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
437
+ * },
438
+ * Headers: {
439
+ * MatchPattern: {
440
+ * All: {},
441
+ * IncludedHeaders: [
442
+ * "STRING_VALUE",
443
+ * ],
444
+ * ExcludedHeaders: [
445
+ * "STRING_VALUE",
446
+ * ],
447
+ * },
448
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
449
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
450
+ * },
451
+ * Cookies: {
452
+ * MatchPattern: {
453
+ * All: {},
454
+ * IncludedCookies: [
455
+ * "STRING_VALUE",
456
+ * ],
457
+ * ExcludedCookies: [
458
+ * "STRING_VALUE",
459
+ * ],
460
+ * },
461
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
462
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
463
+ * },
464
+ * },
465
+ * TextTransformations: [ // required
466
+ * {
467
+ * Priority: Number("int"), // required
468
+ * 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
469
+ * },
470
+ * ],
471
+ * },
472
+ * RateBasedStatement: {
473
+ * Limit: Number("long"), // required
474
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
475
+ * ScopeDownStatement: {
476
+ * ByteMatchStatement: {
477
+ * SearchString: "BLOB_VALUE", // required
478
+ * FieldToMatch: {
479
+ * SingleHeader: {
480
+ * Name: "STRING_VALUE", // required
481
+ * },
482
+ * SingleQueryArgument: {
483
+ * Name: "STRING_VALUE", // required
484
+ * },
485
+ * AllQueryArguments: {},
486
+ * UriPath: {},
487
+ * QueryString: {},
488
+ * Body: {
489
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
490
+ * },
491
+ * Method: {},
492
+ * JsonBody: {
493
+ * MatchPattern: {
494
+ * All: {},
495
+ * IncludedPaths: [
496
+ * "STRING_VALUE",
497
+ * ],
498
+ * },
499
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
500
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
501
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
502
+ * },
503
+ * Headers: {
504
+ * MatchPattern: {
505
+ * All: {},
506
+ * IncludedHeaders: [
507
+ * "STRING_VALUE",
508
+ * ],
509
+ * ExcludedHeaders: [
510
+ * "STRING_VALUE",
511
+ * ],
512
+ * },
513
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
514
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
515
+ * },
516
+ * Cookies: {
517
+ * MatchPattern: {
518
+ * All: {},
519
+ * IncludedCookies: [
520
+ * "STRING_VALUE",
521
+ * ],
522
+ * ExcludedCookies: [
523
+ * "STRING_VALUE",
524
+ * ],
525
+ * },
526
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
527
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
528
+ * },
529
+ * },
530
+ * TextTransformations: [ // required
531
+ * {
532
+ * Priority: Number("int"), // required
533
+ * 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
534
+ * },
535
+ * ],
536
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
537
+ * },
538
+ * SqliMatchStatement: {
539
+ * FieldToMatch: {
540
+ * SingleHeader: {
541
+ * Name: "STRING_VALUE", // required
542
+ * },
543
+ * SingleQueryArgument: {
544
+ * Name: "STRING_VALUE", // required
545
+ * },
546
+ * AllQueryArguments: {},
547
+ * UriPath: {},
548
+ * QueryString: {},
549
+ * Body: {
550
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
551
+ * },
552
+ * Method: {},
553
+ * JsonBody: {
554
+ * MatchPattern: {
555
+ * All: {},
556
+ * IncludedPaths: [
557
+ * "STRING_VALUE",
558
+ * ],
559
+ * },
560
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
561
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
562
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
563
+ * },
564
+ * Headers: {
565
+ * MatchPattern: {
566
+ * All: {},
567
+ * IncludedHeaders: [
568
+ * "STRING_VALUE",
569
+ * ],
570
+ * ExcludedHeaders: [
571
+ * "STRING_VALUE",
572
+ * ],
573
+ * },
574
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
575
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
576
+ * },
577
+ * Cookies: {
578
+ * MatchPattern: {
579
+ * All: {},
580
+ * IncludedCookies: [
581
+ * "STRING_VALUE",
582
+ * ],
583
+ * ExcludedCookies: [
584
+ * "STRING_VALUE",
585
+ * ],
586
+ * },
587
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
588
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
589
+ * },
590
+ * },
591
+ * TextTransformations: [ // required
592
+ * {
593
+ * Priority: Number("int"), // required
594
+ * 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
595
+ * },
596
+ * ],
597
+ * SensitivityLevel: "LOW" || "HIGH",
598
+ * },
599
+ * XssMatchStatement: {
600
+ * FieldToMatch: {
601
+ * SingleHeader: {
602
+ * Name: "STRING_VALUE", // required
603
+ * },
604
+ * SingleQueryArgument: {
605
+ * Name: "STRING_VALUE", // required
606
+ * },
607
+ * AllQueryArguments: {},
608
+ * UriPath: {},
609
+ * QueryString: {},
610
+ * Body: {
611
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
612
+ * },
613
+ * Method: {},
614
+ * JsonBody: {
615
+ * MatchPattern: {
616
+ * All: {},
617
+ * IncludedPaths: [
618
+ * "STRING_VALUE",
619
+ * ],
620
+ * },
621
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
622
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
623
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
624
+ * },
625
+ * Headers: {
626
+ * MatchPattern: {
627
+ * All: {},
628
+ * IncludedHeaders: [
629
+ * "STRING_VALUE",
630
+ * ],
631
+ * ExcludedHeaders: [
632
+ * "STRING_VALUE",
633
+ * ],
634
+ * },
635
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
636
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
637
+ * },
638
+ * Cookies: {
639
+ * MatchPattern: {
640
+ * All: {},
641
+ * IncludedCookies: [
642
+ * "STRING_VALUE",
643
+ * ],
644
+ * ExcludedCookies: [
645
+ * "STRING_VALUE",
646
+ * ],
647
+ * },
648
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
649
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
650
+ * },
651
+ * },
652
+ * TextTransformations: [ // required
653
+ * {
654
+ * Priority: Number("int"), // required
655
+ * 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
656
+ * },
657
+ * ],
658
+ * },
659
+ * SizeConstraintStatement: {
660
+ * FieldToMatch: {
661
+ * SingleHeader: {
662
+ * Name: "STRING_VALUE", // required
663
+ * },
664
+ * SingleQueryArgument: {
665
+ * Name: "STRING_VALUE", // required
666
+ * },
667
+ * AllQueryArguments: {},
668
+ * UriPath: {},
669
+ * QueryString: {},
670
+ * Body: {
671
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
672
+ * },
673
+ * Method: {},
674
+ * JsonBody: {
675
+ * MatchPattern: {
676
+ * All: {},
677
+ * IncludedPaths: [
678
+ * "STRING_VALUE",
679
+ * ],
680
+ * },
681
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
682
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
683
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
684
+ * },
685
+ * Headers: {
686
+ * MatchPattern: {
687
+ * All: {},
688
+ * IncludedHeaders: [
689
+ * "STRING_VALUE",
690
+ * ],
691
+ * ExcludedHeaders: [
692
+ * "STRING_VALUE",
693
+ * ],
694
+ * },
695
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
696
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
697
+ * },
698
+ * Cookies: {
699
+ * MatchPattern: {
700
+ * All: {},
701
+ * IncludedCookies: [
702
+ * "STRING_VALUE",
703
+ * ],
704
+ * ExcludedCookies: [
705
+ * "STRING_VALUE",
706
+ * ],
707
+ * },
708
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
709
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
710
+ * },
711
+ * },
712
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
713
+ * Size: Number("long"), // required
714
+ * TextTransformations: [ // required
715
+ * {
716
+ * Priority: Number("int"), // required
717
+ * 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
718
+ * },
719
+ * ],
720
+ * },
721
+ * GeoMatchStatement: {
722
+ * CountryCodes: [
723
+ * "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",
724
+ * ],
725
+ * ForwardedIPConfig: {
726
+ * HeaderName: "STRING_VALUE", // required
727
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
728
+ * },
729
+ * },
730
+ * RuleGroupReferenceStatement: {
731
+ * ARN: "STRING_VALUE", // required
732
+ * ExcludedRules: [
733
+ * {
734
+ * Name: "STRING_VALUE", // required
735
+ * },
736
+ * ],
737
+ * RuleActionOverrides: [
738
+ * {
739
+ * Name: "STRING_VALUE", // required
740
+ * ActionToUse: {
741
+ * Block: {
742
+ * CustomResponse: "<BlockAction>",
743
+ * },
744
+ * Allow: {
745
+ * CustomRequestHandling: "<AllowAction>",
746
+ * },
747
+ * Count: {
748
+ * CustomRequestHandling: {
749
+ * InsertHeaders: "<CustomRequestHandling>",
750
+ * },
751
+ * },
752
+ * Captcha: {
753
+ * CustomRequestHandling: {
754
+ * InsertHeaders: "<CustomRequestHandling>",
755
+ * },
756
+ * },
757
+ * Challenge: {
758
+ * CustomRequestHandling: {
759
+ * InsertHeaders: "<CustomRequestHandling>",
760
+ * },
761
+ * },
762
+ * },
763
+ * },
764
+ * ],
765
+ * },
766
+ * IPSetReferenceStatement: {
767
+ * ARN: "STRING_VALUE", // required
768
+ * IPSetForwardedIPConfig: {
769
+ * HeaderName: "STRING_VALUE", // required
770
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
771
+ * Position: "FIRST" || "LAST" || "ANY", // required
772
+ * },
773
+ * },
774
+ * RegexPatternSetReferenceStatement: {
775
+ * ARN: "STRING_VALUE", // required
776
+ * FieldToMatch: {
777
+ * SingleHeader: {
778
+ * Name: "STRING_VALUE", // required
779
+ * },
780
+ * SingleQueryArgument: {
781
+ * Name: "STRING_VALUE", // required
782
+ * },
783
+ * AllQueryArguments: {},
784
+ * UriPath: {},
785
+ * QueryString: {},
786
+ * Body: {
787
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
788
+ * },
789
+ * Method: {},
790
+ * JsonBody: {
791
+ * MatchPattern: {
792
+ * All: {},
793
+ * IncludedPaths: [
794
+ * "STRING_VALUE",
795
+ * ],
796
+ * },
797
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
798
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
799
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
800
+ * },
801
+ * Headers: {
802
+ * MatchPattern: {
803
+ * All: {},
804
+ * IncludedHeaders: [
805
+ * "STRING_VALUE",
806
+ * ],
807
+ * ExcludedHeaders: [
808
+ * "STRING_VALUE",
809
+ * ],
810
+ * },
811
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
812
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
813
+ * },
814
+ * Cookies: {
815
+ * MatchPattern: {
816
+ * All: {},
817
+ * IncludedCookies: [
818
+ * "STRING_VALUE",
819
+ * ],
820
+ * ExcludedCookies: [
821
+ * "STRING_VALUE",
822
+ * ],
823
+ * },
824
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
825
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
826
+ * },
827
+ * },
828
+ * TextTransformations: [ // required
829
+ * {
830
+ * Priority: Number("int"), // required
831
+ * 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
832
+ * },
833
+ * ],
834
+ * },
835
+ * RateBasedStatement: {
836
+ * Limit: Number("long"), // required
837
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
838
+ * ScopeDownStatement: {
839
+ * ByteMatchStatement: "<Statement>",
840
+ * SqliMatchStatement: "<Statement>",
841
+ * XssMatchStatement: "<Statement>",
842
+ * SizeConstraintStatement: "<Statement>",
843
+ * GeoMatchStatement: "<Statement>",
844
+ * RuleGroupReferenceStatement: "<Statement>",
845
+ * IPSetReferenceStatement: "<Statement>",
846
+ * RegexPatternSetReferenceStatement: "<Statement>",
847
+ * RateBasedStatement: "<Statement>",
848
+ * AndStatement: {
849
+ * Statements: [ // required
850
+ * {
851
+ * ByteMatchStatement: "<Statement>",
852
+ * SqliMatchStatement: "<Statement>",
853
+ * XssMatchStatement: "<Statement>",
854
+ * SizeConstraintStatement: "<Statement>",
855
+ * GeoMatchStatement: "<Statement>",
856
+ * RuleGroupReferenceStatement: "<Statement>",
857
+ * IPSetReferenceStatement: "<Statement>",
858
+ * RegexPatternSetReferenceStatement: "<Statement>",
859
+ * RateBasedStatement: "<Statement>",
860
+ * AndStatement: {
861
+ * Statements: [ // required
862
+ * {
863
+ * ByteMatchStatement: "<Statement>",
864
+ * SqliMatchStatement: "<Statement>",
865
+ * XssMatchStatement: "<Statement>",
866
+ * SizeConstraintStatement: "<Statement>",
867
+ * GeoMatchStatement: "<Statement>",
868
+ * RuleGroupReferenceStatement: "<Statement>",
869
+ * IPSetReferenceStatement: "<Statement>",
870
+ * RegexPatternSetReferenceStatement: "<Statement>",
871
+ * RateBasedStatement: "<Statement>",
872
+ * AndStatement: "<Statement>",
873
+ * OrStatement: {
874
+ * Statements: [ // required
875
+ * "<Statements>",
876
+ * ],
877
+ * },
878
+ * NotStatement: {
879
+ * Statement: {
880
+ * ByteMatchStatement: "<Statement>",
881
+ * SqliMatchStatement: "<Statement>",
882
+ * XssMatchStatement: "<Statement>",
883
+ * SizeConstraintStatement: "<Statement>",
884
+ * GeoMatchStatement: "<Statement>",
885
+ * RuleGroupReferenceStatement: "<Statement>",
886
+ * IPSetReferenceStatement: "<Statement>",
887
+ * RegexPatternSetReferenceStatement: "<Statement>",
888
+ * RateBasedStatement: "<Statement>",
889
+ * AndStatement: "<Statement>",
890
+ * OrStatement: {
891
+ * Statements: [ // required
892
+ * "<Statements>",
893
+ * ],
894
+ * },
895
+ * NotStatement: {
896
+ * Statement: {
897
+ * ByteMatchStatement: "<Statement>",
898
+ * SqliMatchStatement: "<Statement>",
899
+ * XssMatchStatement: "<Statement>",
900
+ * SizeConstraintStatement: "<Statement>",
901
+ * GeoMatchStatement: "<Statement>",
902
+ * RuleGroupReferenceStatement: "<Statement>",
903
+ * IPSetReferenceStatement: "<Statement>",
904
+ * RegexPatternSetReferenceStatement: "<Statement>",
905
+ * RateBasedStatement: "<Statement>",
906
+ * AndStatement: "<Statement>",
907
+ * OrStatement: "<Statement>",
908
+ * NotStatement: "<Statement>",
909
+ * ManagedRuleGroupStatement: {
910
+ * VendorName: "STRING_VALUE", // required
911
+ * Name: "STRING_VALUE", // required
912
+ * Version: "STRING_VALUE",
913
+ * ExcludedRules: [
914
+ * "<ExcludedRules>",
915
+ * ],
916
+ * ScopeDownStatement: {
917
+ * ByteMatchStatement: "<Statement>",
918
+ * SqliMatchStatement: "<Statement>",
919
+ * XssMatchStatement: "<Statement>",
920
+ * SizeConstraintStatement: "<Statement>",
921
+ * GeoMatchStatement: "<Statement>",
922
+ * RuleGroupReferenceStatement: "<Statement>",
923
+ * IPSetReferenceStatement: "<Statement>",
924
+ * RegexPatternSetReferenceStatement: "<Statement>",
925
+ * RateBasedStatement: "<Statement>",
926
+ * AndStatement: "<Statement>",
927
+ * OrStatement: "<Statement>",
928
+ * NotStatement: "<Statement>",
929
+ * ManagedRuleGroupStatement: {
930
+ * VendorName: "STRING_VALUE", // required
931
+ * Name: "STRING_VALUE", // required
932
+ * Version: "STRING_VALUE",
933
+ * ExcludedRules: [
934
+ * "<ExcludedRules>",
935
+ * ],
936
+ * ScopeDownStatement: {
937
+ * ByteMatchStatement: "<Statement>",
938
+ * SqliMatchStatement: "<Statement>",
939
+ * XssMatchStatement: "<Statement>",
940
+ * SizeConstraintStatement: "<Statement>",
941
+ * GeoMatchStatement: "<Statement>",
942
+ * RuleGroupReferenceStatement: "<Statement>",
943
+ * IPSetReferenceStatement: "<Statement>",
944
+ * RegexPatternSetReferenceStatement: "<Statement>",
945
+ * RateBasedStatement: "<Statement>",
946
+ * AndStatement: "<Statement>",
947
+ * OrStatement: "<Statement>",
948
+ * NotStatement: "<Statement>",
949
+ * ManagedRuleGroupStatement: "<Statement>",
950
+ * LabelMatchStatement: {
951
+ * Scope: "LABEL" || "NAMESPACE", // required
952
+ * Key: "STRING_VALUE", // required
953
+ * },
954
+ * RegexMatchStatement: {
955
+ * RegexString: "STRING_VALUE", // required
956
+ * FieldToMatch: {
957
+ * SingleHeader: "<FieldToMatch>",
958
+ * SingleQueryArgument: "<FieldToMatch>",
959
+ * AllQueryArguments: "<FieldToMatch>",
960
+ * UriPath: "<FieldToMatch>",
961
+ * QueryString: "<FieldToMatch>",
962
+ * Body: "<FieldToMatch>",
963
+ * Method: "<FieldToMatch>",
964
+ * JsonBody: "<FieldToMatch>",
965
+ * Headers: "<FieldToMatch>",
966
+ * Cookies: "<FieldToMatch>",
967
+ * },
968
+ * TextTransformations: [ // required
969
+ * "<TextTransformations>",
970
+ * ],
971
+ * },
972
+ * },
973
+ * ManagedRuleGroupConfigs: [
974
+ * {
975
+ * LoginPath: "STRING_VALUE",
976
+ * PayloadType: "JSON" || "FORM_ENCODED",
977
+ * UsernameField: {
978
+ * Identifier: "STRING_VALUE", // required
979
+ * },
980
+ * PasswordField: {
981
+ * Identifier: "STRING_VALUE", // required
982
+ * },
983
+ * AWSManagedRulesBotControlRuleSet: {
984
+ * InspectionLevel: "COMMON" || "TARGETED", // required
985
+ * },
986
+ * AWSManagedRulesATPRuleSet: {
987
+ * LoginPath: "STRING_VALUE", // required
988
+ * RequestInspection: {
989
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
990
+ * UsernameField: {
991
+ * Identifier: "STRING_VALUE", // required
992
+ * },
993
+ * PasswordField: {
994
+ * Identifier: "STRING_VALUE", // required
995
+ * },
996
+ * },
997
+ * ResponseInspection: {
998
+ * StatusCode: {
999
+ * SuccessCodes: [ // required
1000
+ * Number("int"),
1001
+ * ],
1002
+ * FailureCodes: [ // required
1003
+ * Number("int"),
1004
+ * ],
1005
+ * },
1006
+ * Header: {
1007
+ * Name: "STRING_VALUE", // required
1008
+ * SuccessValues: [ // required
1009
+ * "STRING_VALUE",
1010
+ * ],
1011
+ * FailureValues: [ // required
1012
+ * "STRING_VALUE",
1013
+ * ],
1014
+ * },
1015
+ * BodyContains: {
1016
+ * SuccessStrings: [ // required
1017
+ * "STRING_VALUE",
1018
+ * ],
1019
+ * FailureStrings: [ // required
1020
+ * "STRING_VALUE",
1021
+ * ],
1022
+ * },
1023
+ * Json: {
1024
+ * Identifier: "STRING_VALUE", // required
1025
+ * SuccessValues: [ // required
1026
+ * "STRING_VALUE",
1027
+ * ],
1028
+ * FailureValues: [ // required
1029
+ * "STRING_VALUE",
1030
+ * ],
1031
+ * },
1032
+ * },
1033
+ * },
1034
+ * },
1035
+ * ],
1036
+ * RuleActionOverrides: [
1037
+ * "<RuleActionOverrides>",
1038
+ * ],
1039
+ * },
1040
+ * LabelMatchStatement: {
1041
+ * Scope: "LABEL" || "NAMESPACE", // required
1042
+ * Key: "STRING_VALUE", // required
1043
+ * },
1044
+ * RegexMatchStatement: {
1045
+ * RegexString: "STRING_VALUE", // required
1046
+ * FieldToMatch: {
1047
+ * SingleHeader: "<FieldToMatch>",
1048
+ * SingleQueryArgument: "<FieldToMatch>",
1049
+ * AllQueryArguments: "<FieldToMatch>",
1050
+ * UriPath: "<FieldToMatch>",
1051
+ * QueryString: "<FieldToMatch>",
1052
+ * Body: "<FieldToMatch>",
1053
+ * Method: "<FieldToMatch>",
1054
+ * JsonBody: "<FieldToMatch>",
1055
+ * Headers: "<FieldToMatch>",
1056
+ * Cookies: "<FieldToMatch>",
1057
+ * },
1058
+ * TextTransformations: [ // required
1059
+ * "<TextTransformations>",
1060
+ * ],
1061
+ * },
1062
+ * },
1063
+ * ManagedRuleGroupConfigs: [
1064
+ * {
1065
+ * LoginPath: "STRING_VALUE",
1066
+ * PayloadType: "JSON" || "FORM_ENCODED",
1067
+ * UsernameField: {
1068
+ * Identifier: "<UsernameField>",
1069
+ * },
1070
+ * PasswordField: {
1071
+ * Identifier: "<PasswordField>",
1072
+ * },
1073
+ * AWSManagedRulesBotControlRuleSet: {
1074
+ * InspectionLevel: "COMMON" || "TARGETED", // required
1075
+ * },
1076
+ * AWSManagedRulesATPRuleSet: {
1077
+ * LoginPath: "STRING_VALUE", // required
1078
+ * RequestInspection: {
1079
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
1080
+ * UsernameField: {
1081
+ * Identifier: "<UsernameField>",
1082
+ * },
1083
+ * PasswordField: {
1084
+ * Identifier: "<PasswordField>",
1085
+ * },
1086
+ * },
1087
+ * ResponseInspection: {
1088
+ * StatusCode: {
1089
+ * SuccessCodes: [ // required
1090
+ * Number("int"),
1091
+ * ],
1092
+ * FailureCodes: [ // required
1093
+ * Number("int"),
1094
+ * ],
1095
+ * },
1096
+ * Header: {
1097
+ * Name: "STRING_VALUE", // required
1098
+ * SuccessValues: [ // required
1099
+ * "STRING_VALUE",
1100
+ * ],
1101
+ * FailureValues: [ // required
1102
+ * "STRING_VALUE",
1103
+ * ],
1104
+ * },
1105
+ * BodyContains: {
1106
+ * SuccessStrings: [ // required
1107
+ * "STRING_VALUE",
1108
+ * ],
1109
+ * FailureStrings: [ // required
1110
+ * "STRING_VALUE",
1111
+ * ],
1112
+ * },
1113
+ * Json: {
1114
+ * Identifier: "STRING_VALUE", // required
1115
+ * SuccessValues: [ // required
1116
+ * "STRING_VALUE",
1117
+ * ],
1118
+ * FailureValues: [ // required
1119
+ * "STRING_VALUE",
1120
+ * ],
1121
+ * },
1122
+ * },
1123
+ * },
1124
+ * },
1125
+ * ],
1126
+ * RuleActionOverrides: [
1127
+ * "<RuleActionOverrides>",
1128
+ * ],
1129
+ * },
1130
+ * LabelMatchStatement: "<Statement>",
1131
+ * RegexMatchStatement: "<Statement>",
1132
+ * },
1133
+ * },
1134
+ * ManagedRuleGroupStatement: "<Statement>",
1135
+ * LabelMatchStatement: "<Statement>",
1136
+ * RegexMatchStatement: "<Statement>",
1137
+ * },
1138
+ * },
1139
+ * ManagedRuleGroupStatement: "<Statement>",
1140
+ * LabelMatchStatement: "<Statement>",
1141
+ * RegexMatchStatement: "<Statement>",
1142
+ * },
1143
+ * ],
1144
+ * },
1145
+ * OrStatement: "<Statement>",
1146
+ * NotStatement: "<Statement>",
1147
+ * ManagedRuleGroupStatement: "<Statement>",
1148
+ * LabelMatchStatement: "<Statement>",
1149
+ * RegexMatchStatement: "<Statement>",
1150
+ * },
1151
+ * ],
1152
+ * },
1153
+ * OrStatement: "<Statement>",
1154
+ * NotStatement: "<Statement>",
1155
+ * ManagedRuleGroupStatement: "<Statement>",
1156
+ * LabelMatchStatement: "<Statement>",
1157
+ * RegexMatchStatement: "<Statement>",
1158
+ * },
1159
+ * ForwardedIPConfig: {
1160
+ * HeaderName: "STRING_VALUE", // required
1161
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
1162
+ * },
1163
+ * },
1164
+ * AndStatement: "<Statement>",
1165
+ * OrStatement: "<Statement>",
1166
+ * NotStatement: "<Statement>",
1167
+ * ManagedRuleGroupStatement: "<Statement>",
1168
+ * LabelMatchStatement: "<Statement>",
1169
+ * RegexMatchStatement: "<Statement>",
1170
+ * },
1171
+ * ForwardedIPConfig: {
1172
+ * HeaderName: "STRING_VALUE", // required
1173
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
1174
+ * },
1175
+ * },
1176
+ * AndStatement: "<Statement>",
1177
+ * OrStatement: "<Statement>",
1178
+ * NotStatement: "<Statement>",
1179
+ * ManagedRuleGroupStatement: "<Statement>",
1180
+ * LabelMatchStatement: "<Statement>",
1181
+ * RegexMatchStatement: "<Statement>",
1182
+ * },
1183
+ * Action: {
1184
+ * Block: "<RuleAction>",
1185
+ * Allow: "<RuleAction>",
1186
+ * Count: "<RuleAction>",
1187
+ * Captcha: "<RuleAction>",
1188
+ * Challenge: "<RuleAction>",
1189
+ * },
1190
+ * OverrideAction: {
1191
+ * Count: {
1192
+ * CustomRequestHandling: "<CountAction>",
1193
+ * },
1194
+ * None: {},
1195
+ * },
1196
+ * RuleLabels: [
1197
+ * {
1198
+ * Name: "STRING_VALUE", // required
1199
+ * },
1200
+ * ],
1201
+ * VisibilityConfig: {
1202
+ * SampledRequestsEnabled: true || false, // required
1203
+ * CloudWatchMetricsEnabled: true || false, // required
1204
+ * MetricName: "STRING_VALUE", // required
1205
+ * },
1206
+ * CaptchaConfig: {
1207
+ * ImmunityTimeProperty: {
1208
+ * ImmunityTime: Number("long"), // required
1209
+ * },
1210
+ * },
1211
+ * ChallengeConfig: {
1212
+ * ImmunityTimeProperty: {
1213
+ * ImmunityTime: Number("long"), // required
1214
+ * },
1215
+ * },
1216
+ * },
1217
+ * ],
1218
+ * VisibilityConfig: {
1219
+ * SampledRequestsEnabled: true || false, // required
1220
+ * CloudWatchMetricsEnabled: true || false, // required
1221
+ * MetricName: "STRING_VALUE", // required
1222
+ * },
1223
+ * LockToken: "STRING_VALUE", // required
1224
+ * CustomResponseBodies: {
1225
+ * "<keys>": {
1226
+ * ContentType: "TEXT_PLAIN" || "TEXT_HTML" || "APPLICATION_JSON", // required
1227
+ * Content: "STRING_VALUE", // required
1228
+ * },
1229
+ * },
1230
+ * CaptchaConfig: {
1231
+ * ImmunityTimeProperty: {
1232
+ * ImmunityTime: Number("long"), // required
1233
+ * },
1234
+ * },
1235
+ * ChallengeConfig: {
1236
+ * ImmunityTimeProperty: {
1237
+ * ImmunityTime: Number("long"), // required
1238
+ * },
1239
+ * },
1240
+ * TokenDomains: [
1241
+ * "STRING_VALUE",
1242
+ * ],
1243
+ * };
48
1244
  * const command = new UpdateWebACLCommand(input);
49
1245
  * const response = await client.send(command);
50
1246
  * ```