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