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