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