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