@aws-sdk/client-wafv2 3.300.0 → 3.303.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 (53) hide show
  1. package/dist-cjs/models/models_0.js +453 -478
  2. package/dist-es/models/models_0.js +453 -478
  3. package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -1
  4. package/dist-types/commands/CheckCapacityCommand.d.ts +317 -752
  5. package/dist-types/commands/CreateIPSetCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +5 -5
  7. package/dist-types/commands/CreateRuleGroupCommand.d.ts +321 -756
  8. package/dist-types/commands/CreateWebACLCommand.d.ts +309 -749
  9. package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteIPSetCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
  12. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteWebACLCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +1 -1
  17. package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -1
  18. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +1 -1
  19. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  20. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/GetManagedRuleSetCommand.d.ts +1 -1
  22. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +1 -1
  23. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +1 -1
  25. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -1
  26. package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -1
  27. package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -2
  28. package/dist-types/commands/GetWebACLCommand.d.ts +1 -1
  29. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListIPSetsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -1
  38. package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  40. package/dist-types/commands/ListWebACLsCommand.d.ts +1 -1
  41. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +24 -24
  42. package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
  43. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
  44. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  45. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  46. package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
  49. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +319 -754
  50. package/dist-types/commands/UpdateWebACLCommand.d.ts +307 -747
  51. package/dist-types/models/models_0.d.ts +583 -458
  52. package/dist-types/ts3.4/models/models_0.d.ts +495 -453
  53. package/package.json +34 -34
@@ -37,33 +37,33 @@ 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 = {
40
+ * const input = { // CheckCapacityRequest
41
41
  * Scope: "CLOUDFRONT" || "REGIONAL", // required
42
- * Rules: [ // required
43
- * {
42
+ * Rules: [ // Rules // required
43
+ * { // Rule
44
44
  * Name: "STRING_VALUE", // required
45
45
  * Priority: Number("int"), // required
46
- * Statement: {
47
- * ByteMatchStatement: {
46
+ * Statement: { // Statement
47
+ * ByteMatchStatement: { // ByteMatchStatement
48
48
  * SearchString: "BLOB_VALUE", // required
49
- * FieldToMatch: {
50
- * SingleHeader: {
49
+ * FieldToMatch: { // FieldToMatch
50
+ * SingleHeader: { // SingleHeader
51
51
  * Name: "STRING_VALUE", // required
52
52
  * },
53
- * SingleQueryArgument: {
53
+ * SingleQueryArgument: { // SingleQueryArgument
54
54
  * Name: "STRING_VALUE", // required
55
55
  * },
56
56
  * AllQueryArguments: {},
57
57
  * UriPath: {},
58
58
  * QueryString: {},
59
- * Body: {
59
+ * Body: { // Body
60
60
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
61
61
  * },
62
62
  * Method: {},
63
- * JsonBody: {
64
- * MatchPattern: {
63
+ * JsonBody: { // JsonBody
64
+ * MatchPattern: { // JsonMatchPattern
65
65
  * All: {},
66
- * IncludedPaths: [
66
+ * IncludedPaths: [ // JsonPointerPaths
67
67
  * "STRING_VALUE",
68
68
  * ],
69
69
  * },
@@ -71,10 +71,10 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
71
71
  * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
72
72
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
73
73
  * },
74
- * Headers: {
75
- * MatchPattern: {
74
+ * Headers: { // Headers
75
+ * MatchPattern: { // HeaderMatchPattern
76
76
  * All: {},
77
- * IncludedHeaders: [
77
+ * IncludedHeaders: [ // HeaderNames
78
78
  * "STRING_VALUE",
79
79
  * ],
80
80
  * ExcludedHeaders: [
@@ -84,10 +84,10 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
84
84
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
85
85
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
86
86
  * },
87
- * Cookies: {
88
- * MatchPattern: {
87
+ * Cookies: { // Cookies
88
+ * MatchPattern: { // CookieMatchPattern
89
89
  * All: {},
90
- * IncludedCookies: [
90
+ * IncludedCookies: [ // CookieNames
91
91
  * "STRING_VALUE",
92
92
  * ],
93
93
  * ExcludedCookies: [
@@ -98,15 +98,15 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
98
98
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
99
99
  * },
100
100
  * },
101
- * TextTransformations: [ // required
102
- * {
101
+ * TextTransformations: [ // TextTransformations // required
102
+ * { // TextTransformation
103
103
  * Priority: Number("int"), // required
104
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
105
  * },
106
106
  * ],
107
107
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
108
108
  * },
109
- * SqliMatchStatement: {
109
+ * SqliMatchStatement: { // SqliMatchStatement
110
110
  * FieldToMatch: {
111
111
  * SingleHeader: {
112
112
  * Name: "STRING_VALUE", // required
@@ -147,7 +147,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
147
147
  * },
148
148
  * Cookies: {
149
149
  * MatchPattern: {
150
- * All: {},
150
+ * All: "<All>",
151
151
  * IncludedCookies: [
152
152
  * "STRING_VALUE",
153
153
  * ],
@@ -167,7 +167,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
167
167
  * ],
168
168
  * SensitivityLevel: "LOW" || "HIGH",
169
169
  * },
170
- * XssMatchStatement: {
170
+ * XssMatchStatement: { // XssMatchStatement
171
171
  * FieldToMatch: {
172
172
  * SingleHeader: {
173
173
  * Name: "STRING_VALUE", // required
@@ -184,7 +184,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
184
184
  * Method: {},
185
185
  * JsonBody: {
186
186
  * MatchPattern: {
187
- * All: {},
187
+ * All: "<All>",
188
188
  * IncludedPaths: [
189
189
  * "STRING_VALUE",
190
190
  * ],
@@ -195,26 +195,22 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
195
195
  * },
196
196
  * Headers: {
197
197
  * MatchPattern: {
198
- * All: {},
198
+ * All: "<All>",
199
199
  * IncludedHeaders: [
200
200
  * "STRING_VALUE",
201
201
  * ],
202
- * ExcludedHeaders: [
203
- * "STRING_VALUE",
204
- * ],
202
+ * ExcludedHeaders: "<HeaderNames>",
205
203
  * },
206
204
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
207
205
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
208
206
  * },
209
207
  * Cookies: {
210
208
  * MatchPattern: {
211
- * All: {},
209
+ * All: "<All>",
212
210
  * IncludedCookies: [
213
211
  * "STRING_VALUE",
214
212
  * ],
215
- * ExcludedCookies: [
216
- * "STRING_VALUE",
217
- * ],
213
+ * ExcludedCookies: "<CookieNames>",
218
214
  * },
219
215
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
220
216
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
@@ -227,7 +223,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
227
223
  * },
228
224
  * ],
229
225
  * },
230
- * SizeConstraintStatement: {
226
+ * SizeConstraintStatement: { // SizeConstraintStatement
231
227
  * FieldToMatch: {
232
228
  * SingleHeader: {
233
229
  * Name: "STRING_VALUE", // required
@@ -244,7 +240,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
244
240
  * Method: {},
245
241
  * JsonBody: {
246
242
  * MatchPattern: {
247
- * All: {},
243
+ * All: "<All>",
248
244
  * IncludedPaths: [
249
245
  * "STRING_VALUE",
250
246
  * ],
@@ -255,26 +251,18 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
255
251
  * },
256
252
  * Headers: {
257
253
  * MatchPattern: {
258
- * All: {},
259
- * IncludedHeaders: [
260
- * "STRING_VALUE",
261
- * ],
262
- * ExcludedHeaders: [
263
- * "STRING_VALUE",
264
- * ],
254
+ * All: "<All>",
255
+ * IncludedHeaders: "<HeaderNames>",
256
+ * ExcludedHeaders: "<HeaderNames>",
265
257
  * },
266
258
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
267
259
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
268
260
  * },
269
261
  * Cookies: {
270
262
  * MatchPattern: {
271
- * All: {},
272
- * IncludedCookies: [
273
- * "STRING_VALUE",
274
- * ],
275
- * ExcludedCookies: [
276
- * "STRING_VALUE",
277
- * ],
263
+ * All: "<All>",
264
+ * IncludedCookies: "<CookieNames>",
265
+ * ExcludedCookies: "<CookieNames>",
278
266
  * },
279
267
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
280
268
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
@@ -289,40 +277,40 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
289
277
  * },
290
278
  * ],
291
279
  * },
292
- * GeoMatchStatement: {
293
- * CountryCodes: [
280
+ * GeoMatchStatement: { // GeoMatchStatement
281
+ * CountryCodes: [ // CountryCodes
294
282
  * "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
283
  * ],
296
- * ForwardedIPConfig: {
284
+ * ForwardedIPConfig: { // ForwardedIPConfig
297
285
  * HeaderName: "STRING_VALUE", // required
298
286
  * FallbackBehavior: "MATCH" || "NO_MATCH", // required
299
287
  * },
300
288
  * },
301
- * RuleGroupReferenceStatement: {
289
+ * RuleGroupReferenceStatement: { // RuleGroupReferenceStatement
302
290
  * ARN: "STRING_VALUE", // required
303
- * ExcludedRules: [
304
- * {
291
+ * ExcludedRules: [ // ExcludedRules
292
+ * { // ExcludedRule
305
293
  * Name: "STRING_VALUE", // required
306
294
  * },
307
295
  * ],
308
- * RuleActionOverrides: [
309
- * {
296
+ * RuleActionOverrides: [ // RuleActionOverrides
297
+ * { // RuleActionOverride
310
298
  * Name: "STRING_VALUE", // required
311
- * ActionToUse: {
312
- * Block: {
313
- * CustomResponse: {
299
+ * ActionToUse: { // RuleAction
300
+ * Block: { // BlockAction
301
+ * CustomResponse: { // CustomResponse
314
302
  * ResponseCode: Number("int"), // required
315
303
  * CustomResponseBodyKey: "STRING_VALUE",
316
- * ResponseHeaders: [
317
- * {
304
+ * ResponseHeaders: [ // CustomHTTPHeaders
305
+ * { // CustomHTTPHeader
318
306
  * Name: "STRING_VALUE", // required
319
307
  * Value: "STRING_VALUE", // required
320
308
  * },
321
309
  * ],
322
310
  * },
323
311
  * },
324
- * Allow: {
325
- * CustomRequestHandling: {
312
+ * Allow: { // AllowAction
313
+ * CustomRequestHandling: { // CustomRequestHandling
326
314
  * InsertHeaders: [ // required
327
315
  * {
328
316
  * Name: "STRING_VALUE", // required
@@ -331,7 +319,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
331
319
  * ],
332
320
  * },
333
321
  * },
334
- * Count: {
322
+ * Count: { // CountAction
335
323
  * CustomRequestHandling: {
336
324
  * InsertHeaders: [ // required
337
325
  * {
@@ -341,7 +329,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
341
329
  * ],
342
330
  * },
343
331
  * },
344
- * Captcha: {
332
+ * Captcha: { // CaptchaAction
345
333
  * CustomRequestHandling: {
346
334
  * InsertHeaders: [ // required
347
335
  * {
@@ -351,7 +339,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
351
339
  * ],
352
340
  * },
353
341
  * },
354
- * Challenge: {
342
+ * Challenge: { // ChallengeAction
355
343
  * CustomRequestHandling: {
356
344
  * InsertHeaders: [ // required
357
345
  * {
@@ -365,15 +353,15 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
365
353
  * },
366
354
  * ],
367
355
  * },
368
- * IPSetReferenceStatement: {
356
+ * IPSetReferenceStatement: { // IPSetReferenceStatement
369
357
  * ARN: "STRING_VALUE", // required
370
- * IPSetForwardedIPConfig: {
358
+ * IPSetForwardedIPConfig: { // IPSetForwardedIPConfig
371
359
  * HeaderName: "STRING_VALUE", // required
372
360
  * FallbackBehavior: "MATCH" || "NO_MATCH", // required
373
361
  * Position: "FIRST" || "LAST" || "ANY", // required
374
362
  * },
375
363
  * },
376
- * RegexPatternSetReferenceStatement: {
364
+ * RegexPatternSetReferenceStatement: { // RegexPatternSetReferenceStatement
377
365
  * ARN: "STRING_VALUE", // required
378
366
  * FieldToMatch: {
379
367
  * SingleHeader: {
@@ -391,7 +379,7 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
391
379
  * Method: {},
392
380
  * JsonBody: {
393
381
  * MatchPattern: {
394
- * All: {},
382
+ * All: "<All>",
395
383
  * IncludedPaths: [
396
384
  * "STRING_VALUE",
397
385
  * ],
@@ -402,26 +390,18 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
402
390
  * },
403
391
  * Headers: {
404
392
  * MatchPattern: {
405
- * All: {},
406
- * IncludedHeaders: [
407
- * "STRING_VALUE",
408
- * ],
409
- * ExcludedHeaders: [
410
- * "STRING_VALUE",
411
- * ],
393
+ * All: "<All>",
394
+ * IncludedHeaders: "<HeaderNames>",
395
+ * ExcludedHeaders: "<HeaderNames>",
412
396
  * },
413
397
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
414
398
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
415
399
  * },
416
400
  * Cookies: {
417
401
  * MatchPattern: {
418
- * All: {},
419
- * IncludedCookies: [
420
- * "STRING_VALUE",
421
- * ],
422
- * ExcludedCookies: [
423
- * "STRING_VALUE",
424
- * ],
402
+ * All: "<All>",
403
+ * IncludedCookies: "<CookieNames>",
404
+ * ExcludedCookies: "<CookieNames>",
425
405
  * },
426
406
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
427
407
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
@@ -434,254 +414,30 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
434
414
  * },
435
415
  * ],
436
416
  * },
437
- * RateBasedStatement: {
417
+ * RateBasedStatement: { // RateBasedStatement
438
418
  * Limit: Number("long"), // required
439
419
  * AggregateKeyType: "IP" || "FORWARDED_IP", // required
440
420
  * ScopeDownStatement: {
441
421
  * ByteMatchStatement: {
442
422
  * 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
- * ],
423
+ * FieldToMatch: "<FieldToMatch>", // required
424
+ * TextTransformations: "<TextTransformations>", // required
501
425
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
502
426
  * },
503
427
  * 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
- * ],
428
+ * FieldToMatch: "<FieldToMatch>", // required
429
+ * TextTransformations: "<TextTransformations>", // required
562
430
  * SensitivityLevel: "LOW" || "HIGH",
563
431
  * },
564
432
  * 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
- * ],
433
+ * FieldToMatch: "<FieldToMatch>", // required
434
+ * TextTransformations: "<TextTransformations>", // required
623
435
  * },
624
436
  * 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
- * },
437
+ * FieldToMatch: "<FieldToMatch>", // required
677
438
  * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
678
439
  * 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
- * ],
440
+ * TextTransformations: "<TextTransformations>", // required
685
441
  * },
686
442
  * GeoMatchStatement: {
687
443
  * CountryCodes: [
@@ -707,53 +463,22 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
707
463
  * CustomResponse: {
708
464
  * ResponseCode: Number("int"), // required
709
465
  * CustomResponseBodyKey: "STRING_VALUE",
710
- * ResponseHeaders: [
711
- * {
712
- * Name: "STRING_VALUE", // required
713
- * Value: "STRING_VALUE", // required
714
- * },
715
- * ],
466
+ * ResponseHeaders: "<CustomHTTPHeaders>",
716
467
  * },
717
468
  * },
718
469
  * Allow: {
719
470
  * CustomRequestHandling: {
720
- * InsertHeaders: [ // required
721
- * {
722
- * Name: "STRING_VALUE", // required
723
- * Value: "STRING_VALUE", // required
724
- * },
725
- * ],
471
+ * InsertHeaders: "<CustomHTTPHeaders>", // required
726
472
  * },
727
473
  * },
728
474
  * Count: {
729
- * CustomRequestHandling: {
730
- * InsertHeaders: [ // required
731
- * {
732
- * Name: "STRING_VALUE", // required
733
- * Value: "STRING_VALUE", // required
734
- * },
735
- * ],
736
- * },
475
+ * CustomRequestHandling: "<CustomRequestHandling>",
737
476
  * },
738
477
  * Captcha: {
739
- * CustomRequestHandling: {
740
- * InsertHeaders: [ // required
741
- * {
742
- * Name: "STRING_VALUE", // required
743
- * Value: "STRING_VALUE", // required
744
- * },
745
- * ],
746
- * },
478
+ * CustomRequestHandling: "<CustomRequestHandling>",
747
479
  * },
748
480
  * Challenge: {
749
- * CustomRequestHandling: {
750
- * InsertHeaders: [ // required
751
- * {
752
- * Name: "STRING_VALUE", // required
753
- * Value: "STRING_VALUE", // required
754
- * },
755
- * ],
756
- * },
481
+ * CustomRequestHandling: "<CustomRequestHandling>",
757
482
  * },
758
483
  * },
759
484
  * },
@@ -769,442 +494,282 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
769
494
  * },
770
495
  * RegexPatternSetReferenceStatement: {
771
496
  * ARN: "STRING_VALUE", // required
772
- * FieldToMatch: {
773
- * SingleHeader: {
497
+ * FieldToMatch: "<FieldToMatch>", // required
498
+ * TextTransformations: "<TextTransformations>", // required
499
+ * },
500
+ * RateBasedStatement: {
501
+ * Limit: Number("long"), // required
502
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
503
+ * ScopeDownStatement: "<Statement>",
504
+ * ForwardedIPConfig: {
505
+ * HeaderName: "STRING_VALUE", // required
506
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
507
+ * },
508
+ * },
509
+ * AndStatement: { // AndStatement
510
+ * Statements: [ // Statements // required
511
+ * "<Statement>",
512
+ * ],
513
+ * },
514
+ * OrStatement: { // OrStatement
515
+ * Statements: [ // required
516
+ * "<Statement>",
517
+ * ],
518
+ * },
519
+ * NotStatement: { // NotStatement
520
+ * Statement: "<Statement>", // required
521
+ * },
522
+ * ManagedRuleGroupStatement: { // ManagedRuleGroupStatement
523
+ * VendorName: "STRING_VALUE", // required
524
+ * Name: "STRING_VALUE", // required
525
+ * Version: "STRING_VALUE",
526
+ * ExcludedRules: [
527
+ * {
774
528
  * Name: "STRING_VALUE", // required
775
529
  * },
776
- * SingleQueryArgument: {
777
- * Name: "STRING_VALUE", // required
530
+ * ],
531
+ * ScopeDownStatement: "<Statement>",
532
+ * ManagedRuleGroupConfigs: [ // ManagedRuleGroupConfigs
533
+ * { // ManagedRuleGroupConfig
534
+ * LoginPath: "STRING_VALUE",
535
+ * PayloadType: "JSON" || "FORM_ENCODED",
536
+ * UsernameField: { // UsernameField
537
+ * Identifier: "STRING_VALUE", // required
538
+ * },
539
+ * PasswordField: { // PasswordField
540
+ * Identifier: "STRING_VALUE", // required
541
+ * },
542
+ * AWSManagedRulesBotControlRuleSet: { // AWSManagedRulesBotControlRuleSet
543
+ * InspectionLevel: "COMMON" || "TARGETED", // required
544
+ * },
545
+ * AWSManagedRulesATPRuleSet: { // AWSManagedRulesATPRuleSet
546
+ * LoginPath: "STRING_VALUE", // required
547
+ * RequestInspection: { // RequestInspection
548
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
549
+ * UsernameField: {
550
+ * Identifier: "STRING_VALUE", // required
551
+ * },
552
+ * PasswordField: {
553
+ * Identifier: "STRING_VALUE", // required
554
+ * },
555
+ * },
556
+ * ResponseInspection: { // ResponseInspection
557
+ * StatusCode: { // ResponseInspectionStatusCode
558
+ * SuccessCodes: [ // ResponseInspectionStatusCodeSuccessCodes // required
559
+ * Number("int"),
560
+ * ],
561
+ * FailureCodes: [ // ResponseInspectionStatusCodeFailureCodes // required
562
+ * Number("int"),
563
+ * ],
564
+ * },
565
+ * Header: { // ResponseInspectionHeader
566
+ * Name: "STRING_VALUE", // required
567
+ * SuccessValues: [ // ResponseInspectionHeaderSuccessValues // required
568
+ * "STRING_VALUE",
569
+ * ],
570
+ * FailureValues: [ // ResponseInspectionHeaderFailureValues // required
571
+ * "STRING_VALUE",
572
+ * ],
573
+ * },
574
+ * BodyContains: { // ResponseInspectionBodyContains
575
+ * SuccessStrings: [ // ResponseInspectionBodyContainsSuccessStrings // required
576
+ * "STRING_VALUE",
577
+ * ],
578
+ * FailureStrings: [ // ResponseInspectionBodyContainsFailureStrings // required
579
+ * "STRING_VALUE",
580
+ * ],
581
+ * },
582
+ * Json: { // ResponseInspectionJson
583
+ * Identifier: "STRING_VALUE", // required
584
+ * SuccessValues: [ // ResponseInspectionJsonSuccessValues // required
585
+ * "STRING_VALUE",
586
+ * ],
587
+ * FailureValues: [ // ResponseInspectionJsonFailureValues // required
588
+ * "STRING_VALUE",
589
+ * ],
590
+ * },
591
+ * },
592
+ * },
778
593
  * },
779
- * AllQueryArguments: {},
780
- * UriPath: {},
781
- * QueryString: {},
782
- * Body: {
783
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
594
+ * ],
595
+ * RuleActionOverrides: [
596
+ * {
597
+ * Name: "STRING_VALUE", // required
598
+ * ActionToUse: {
599
+ * Block: {
600
+ * CustomResponse: {
601
+ * ResponseCode: Number("int"), // required
602
+ * CustomResponseBodyKey: "STRING_VALUE",
603
+ * ResponseHeaders: "<CustomHTTPHeaders>",
604
+ * },
605
+ * },
606
+ * Allow: {
607
+ * CustomRequestHandling: "<CustomRequestHandling>",
608
+ * },
609
+ * Count: {
610
+ * CustomRequestHandling: "<CustomRequestHandling>",
611
+ * },
612
+ * Captcha: {
613
+ * CustomRequestHandling: "<CustomRequestHandling>",
614
+ * },
615
+ * Challenge: {
616
+ * CustomRequestHandling: "<CustomRequestHandling>",
617
+ * },
618
+ * },
784
619
  * },
785
- * Method: {},
786
- * JsonBody: {
787
- * MatchPattern: {
788
- * All: {},
789
- * IncludedPaths: [
620
+ * ],
621
+ * },
622
+ * LabelMatchStatement: { // LabelMatchStatement
623
+ * Scope: "LABEL" || "NAMESPACE", // required
624
+ * Key: "STRING_VALUE", // required
625
+ * },
626
+ * RegexMatchStatement: { // RegexMatchStatement
627
+ * RegexString: "STRING_VALUE", // required
628
+ * FieldToMatch: "<FieldToMatch>", // required
629
+ * TextTransformations: "<TextTransformations>", // required
630
+ * },
631
+ * },
632
+ * ForwardedIPConfig: {
633
+ * HeaderName: "STRING_VALUE", // required
634
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
635
+ * },
636
+ * },
637
+ * AndStatement: {
638
+ * Statements: [ // required
639
+ * "<Statement>",
640
+ * ],
641
+ * },
642
+ * OrStatement: {
643
+ * Statements: [ // required
644
+ * "<Statement>",
645
+ * ],
646
+ * },
647
+ * NotStatement: {
648
+ * Statement: "<Statement>", // required
649
+ * },
650
+ * ManagedRuleGroupStatement: {
651
+ * VendorName: "STRING_VALUE", // required
652
+ * Name: "STRING_VALUE", // required
653
+ * Version: "STRING_VALUE",
654
+ * ExcludedRules: [
655
+ * {
656
+ * Name: "STRING_VALUE", // required
657
+ * },
658
+ * ],
659
+ * ScopeDownStatement: "<Statement>",
660
+ * ManagedRuleGroupConfigs: [
661
+ * {
662
+ * LoginPath: "STRING_VALUE",
663
+ * PayloadType: "JSON" || "FORM_ENCODED",
664
+ * UsernameField: "<UsernameField>",
665
+ * PasswordField: "<PasswordField>",
666
+ * AWSManagedRulesBotControlRuleSet: {
667
+ * InspectionLevel: "COMMON" || "TARGETED", // required
668
+ * },
669
+ * AWSManagedRulesATPRuleSet: {
670
+ * LoginPath: "STRING_VALUE", // required
671
+ * RequestInspection: {
672
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
673
+ * UsernameField: "<UsernameField>", // required
674
+ * PasswordField: "<PasswordField>", // required
675
+ * },
676
+ * ResponseInspection: {
677
+ * StatusCode: {
678
+ * SuccessCodes: [ // required
679
+ * Number("int"),
680
+ * ],
681
+ * FailureCodes: [ // required
682
+ * Number("int"),
683
+ * ],
684
+ * },
685
+ * Header: {
686
+ * Name: "STRING_VALUE", // required
687
+ * SuccessValues: [ // required
688
+ * "STRING_VALUE",
689
+ * ],
690
+ * FailureValues: [ // required
790
691
  * "STRING_VALUE",
791
692
  * ],
792
693
  * },
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: [
694
+ * BodyContains: {
695
+ * SuccessStrings: [ // required
801
696
  * "STRING_VALUE",
802
697
  * ],
803
- * ExcludedHeaders: [
698
+ * FailureStrings: [ // required
804
699
  * "STRING_VALUE",
805
700
  * ],
806
701
  * },
807
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
808
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
809
- * },
810
- * Cookies: {
811
- * MatchPattern: {
812
- * All: {},
813
- * IncludedCookies: [
702
+ * Json: {
703
+ * Identifier: "STRING_VALUE", // required
704
+ * SuccessValues: [ // required
814
705
  * "STRING_VALUE",
815
706
  * ],
816
- * ExcludedCookies: [
707
+ * FailureValues: [ // required
817
708
  * "STRING_VALUE",
818
709
  * ],
819
710
  * },
820
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
821
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
822
711
  * },
823
712
  * },
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
713
  * },
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
- * ],
714
+ * ],
715
+ * RuleActionOverrides: [
716
+ * {
717
+ * Name: "STRING_VALUE", // required
718
+ * ActionToUse: {
719
+ * Block: {
720
+ * CustomResponse: {
721
+ * ResponseCode: Number("int"), // required
722
+ * CustomResponseBodyKey: "STRING_VALUE",
723
+ * ResponseHeaders: "<CustomHTTPHeaders>",
724
+ * },
725
+ * },
726
+ * Allow: {
727
+ * CustomRequestHandling: "<CustomRequestHandling>",
728
+ * },
729
+ * Count: {
730
+ * CustomRequestHandling: "<CustomRequestHandling>",
731
+ * },
732
+ * Captcha: {
733
+ * CustomRequestHandling: "<CustomRequestHandling>",
734
+ * },
735
+ * Challenge: {
736
+ * CustomRequestHandling: "<CustomRequestHandling>",
1148
737
  * },
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
738
  * },
1159
739
  * },
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
- * },
740
+ * ],
1171
741
  * },
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>",
742
+ * LabelMatchStatement: {
743
+ * Scope: "LABEL" || "NAMESPACE", // required
744
+ * Key: "STRING_VALUE", // required
745
+ * },
746
+ * RegexMatchStatement: {
747
+ * RegexString: "STRING_VALUE", // required
748
+ * FieldToMatch: "<FieldToMatch>", // required
749
+ * TextTransformations: "<TextTransformations>", // required
1189
750
  * },
751
+ * },
752
+ * Action: "<RuleAction>",
753
+ * OverrideAction: { // OverrideAction
754
+ * Count: "<CountAction>",
1190
755
  * None: {},
1191
756
  * },
1192
- * RuleLabels: [
1193
- * {
757
+ * RuleLabels: [ // Labels
758
+ * { // Label
1194
759
  * Name: "STRING_VALUE", // required
1195
760
  * },
1196
761
  * ],
1197
- * VisibilityConfig: {
762
+ * VisibilityConfig: { // VisibilityConfig
1198
763
  * SampledRequestsEnabled: true || false, // required
1199
764
  * CloudWatchMetricsEnabled: true || false, // required
1200
765
  * MetricName: "STRING_VALUE", // required
1201
766
  * },
1202
- * CaptchaConfig: {
1203
- * ImmunityTimeProperty: {
767
+ * CaptchaConfig: { // CaptchaConfig
768
+ * ImmunityTimeProperty: { // ImmunityTimeProperty
1204
769
  * ImmunityTime: Number("long"), // required
1205
770
  * },
1206
771
  * },
1207
- * ChallengeConfig: {
772
+ * ChallengeConfig: { // ChallengeConfig
1208
773
  * ImmunityTimeProperty: {
1209
774
  * ImmunityTime: Number("long"), // required
1210
775
  * },