@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
@@ -44,36 +44,36 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
44
44
  * import { WAFV2Client, UpdateRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
45
45
  * // const { WAFV2Client, UpdateRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
46
46
  * const client = new WAFV2Client(config);
47
- * const input = {
47
+ * const input = { // UpdateRuleGroupRequest
48
48
  * Name: "STRING_VALUE", // required
49
49
  * Scope: "CLOUDFRONT" || "REGIONAL", // required
50
50
  * Id: "STRING_VALUE", // required
51
51
  * Description: "STRING_VALUE",
52
- * Rules: [
53
- * {
52
+ * Rules: [ // Rules
53
+ * { // Rule
54
54
  * Name: "STRING_VALUE", // required
55
55
  * Priority: Number("int"), // required
56
- * Statement: {
57
- * ByteMatchStatement: {
56
+ * Statement: { // Statement
57
+ * ByteMatchStatement: { // ByteMatchStatement
58
58
  * SearchString: "BLOB_VALUE", // required
59
- * FieldToMatch: {
60
- * SingleHeader: {
59
+ * FieldToMatch: { // FieldToMatch
60
+ * SingleHeader: { // SingleHeader
61
61
  * Name: "STRING_VALUE", // required
62
62
  * },
63
- * SingleQueryArgument: {
63
+ * SingleQueryArgument: { // SingleQueryArgument
64
64
  * Name: "STRING_VALUE", // required
65
65
  * },
66
66
  * AllQueryArguments: {},
67
67
  * UriPath: {},
68
68
  * QueryString: {},
69
- * Body: {
69
+ * Body: { // Body
70
70
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
71
71
  * },
72
72
  * Method: {},
73
- * JsonBody: {
74
- * MatchPattern: {
73
+ * JsonBody: { // JsonBody
74
+ * MatchPattern: { // JsonMatchPattern
75
75
  * All: {},
76
- * IncludedPaths: [
76
+ * IncludedPaths: [ // JsonPointerPaths
77
77
  * "STRING_VALUE",
78
78
  * ],
79
79
  * },
@@ -81,10 +81,10 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
81
81
  * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
82
82
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
83
83
  * },
84
- * Headers: {
85
- * MatchPattern: {
84
+ * Headers: { // Headers
85
+ * MatchPattern: { // HeaderMatchPattern
86
86
  * All: {},
87
- * IncludedHeaders: [
87
+ * IncludedHeaders: [ // HeaderNames
88
88
  * "STRING_VALUE",
89
89
  * ],
90
90
  * ExcludedHeaders: [
@@ -94,10 +94,10 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
94
94
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
95
95
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
96
96
  * },
97
- * Cookies: {
98
- * MatchPattern: {
97
+ * Cookies: { // Cookies
98
+ * MatchPattern: { // CookieMatchPattern
99
99
  * All: {},
100
- * IncludedCookies: [
100
+ * IncludedCookies: [ // CookieNames
101
101
  * "STRING_VALUE",
102
102
  * ],
103
103
  * ExcludedCookies: [
@@ -108,15 +108,15 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
108
108
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
109
109
  * },
110
110
  * },
111
- * TextTransformations: [ // required
112
- * {
111
+ * TextTransformations: [ // TextTransformations // required
112
+ * { // TextTransformation
113
113
  * Priority: Number("int"), // required
114
114
  * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
115
115
  * },
116
116
  * ],
117
117
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
118
118
  * },
119
- * SqliMatchStatement: {
119
+ * SqliMatchStatement: { // SqliMatchStatement
120
120
  * FieldToMatch: {
121
121
  * SingleHeader: {
122
122
  * Name: "STRING_VALUE", // required
@@ -157,7 +157,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
157
157
  * },
158
158
  * Cookies: {
159
159
  * MatchPattern: {
160
- * All: {},
160
+ * All: "<All>",
161
161
  * IncludedCookies: [
162
162
  * "STRING_VALUE",
163
163
  * ],
@@ -177,7 +177,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
177
177
  * ],
178
178
  * SensitivityLevel: "LOW" || "HIGH",
179
179
  * },
180
- * XssMatchStatement: {
180
+ * XssMatchStatement: { // XssMatchStatement
181
181
  * FieldToMatch: {
182
182
  * SingleHeader: {
183
183
  * Name: "STRING_VALUE", // required
@@ -194,7 +194,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
194
194
  * Method: {},
195
195
  * JsonBody: {
196
196
  * MatchPattern: {
197
- * All: {},
197
+ * All: "<All>",
198
198
  * IncludedPaths: [
199
199
  * "STRING_VALUE",
200
200
  * ],
@@ -205,26 +205,22 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
205
205
  * },
206
206
  * Headers: {
207
207
  * MatchPattern: {
208
- * All: {},
208
+ * All: "<All>",
209
209
  * IncludedHeaders: [
210
210
  * "STRING_VALUE",
211
211
  * ],
212
- * ExcludedHeaders: [
213
- * "STRING_VALUE",
214
- * ],
212
+ * ExcludedHeaders: "<HeaderNames>",
215
213
  * },
216
214
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
217
215
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
218
216
  * },
219
217
  * Cookies: {
220
218
  * MatchPattern: {
221
- * All: {},
219
+ * All: "<All>",
222
220
  * IncludedCookies: [
223
221
  * "STRING_VALUE",
224
222
  * ],
225
- * ExcludedCookies: [
226
- * "STRING_VALUE",
227
- * ],
223
+ * ExcludedCookies: "<CookieNames>",
228
224
  * },
229
225
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
230
226
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
@@ -237,7 +233,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
237
233
  * },
238
234
  * ],
239
235
  * },
240
- * SizeConstraintStatement: {
236
+ * SizeConstraintStatement: { // SizeConstraintStatement
241
237
  * FieldToMatch: {
242
238
  * SingleHeader: {
243
239
  * Name: "STRING_VALUE", // required
@@ -254,7 +250,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
254
250
  * Method: {},
255
251
  * JsonBody: {
256
252
  * MatchPattern: {
257
- * All: {},
253
+ * All: "<All>",
258
254
  * IncludedPaths: [
259
255
  * "STRING_VALUE",
260
256
  * ],
@@ -265,26 +261,18 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
265
261
  * },
266
262
  * Headers: {
267
263
  * MatchPattern: {
268
- * All: {},
269
- * IncludedHeaders: [
270
- * "STRING_VALUE",
271
- * ],
272
- * ExcludedHeaders: [
273
- * "STRING_VALUE",
274
- * ],
264
+ * All: "<All>",
265
+ * IncludedHeaders: "<HeaderNames>",
266
+ * ExcludedHeaders: "<HeaderNames>",
275
267
  * },
276
268
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
277
269
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
278
270
  * },
279
271
  * Cookies: {
280
272
  * MatchPattern: {
281
- * All: {},
282
- * IncludedCookies: [
283
- * "STRING_VALUE",
284
- * ],
285
- * ExcludedCookies: [
286
- * "STRING_VALUE",
287
- * ],
273
+ * All: "<All>",
274
+ * IncludedCookies: "<CookieNames>",
275
+ * ExcludedCookies: "<CookieNames>",
288
276
  * },
289
277
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
290
278
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
@@ -299,40 +287,40 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
299
287
  * },
300
288
  * ],
301
289
  * },
302
- * GeoMatchStatement: {
303
- * CountryCodes: [
290
+ * GeoMatchStatement: { // GeoMatchStatement
291
+ * CountryCodes: [ // CountryCodes
304
292
  * "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CD" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KP" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "US" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW" || "XK",
305
293
  * ],
306
- * ForwardedIPConfig: {
294
+ * ForwardedIPConfig: { // ForwardedIPConfig
307
295
  * HeaderName: "STRING_VALUE", // required
308
296
  * FallbackBehavior: "MATCH" || "NO_MATCH", // required
309
297
  * },
310
298
  * },
311
- * RuleGroupReferenceStatement: {
299
+ * RuleGroupReferenceStatement: { // RuleGroupReferenceStatement
312
300
  * ARN: "STRING_VALUE", // required
313
- * ExcludedRules: [
314
- * {
301
+ * ExcludedRules: [ // ExcludedRules
302
+ * { // ExcludedRule
315
303
  * Name: "STRING_VALUE", // required
316
304
  * },
317
305
  * ],
318
- * RuleActionOverrides: [
319
- * {
306
+ * RuleActionOverrides: [ // RuleActionOverrides
307
+ * { // RuleActionOverride
320
308
  * Name: "STRING_VALUE", // required
321
- * ActionToUse: {
322
- * Block: {
323
- * CustomResponse: {
309
+ * ActionToUse: { // RuleAction
310
+ * Block: { // BlockAction
311
+ * CustomResponse: { // CustomResponse
324
312
  * ResponseCode: Number("int"), // required
325
313
  * CustomResponseBodyKey: "STRING_VALUE",
326
- * ResponseHeaders: [
327
- * {
314
+ * ResponseHeaders: [ // CustomHTTPHeaders
315
+ * { // CustomHTTPHeader
328
316
  * Name: "STRING_VALUE", // required
329
317
  * Value: "STRING_VALUE", // required
330
318
  * },
331
319
  * ],
332
320
  * },
333
321
  * },
334
- * Allow: {
335
- * CustomRequestHandling: {
322
+ * Allow: { // AllowAction
323
+ * CustomRequestHandling: { // CustomRequestHandling
336
324
  * InsertHeaders: [ // required
337
325
  * {
338
326
  * Name: "STRING_VALUE", // required
@@ -341,7 +329,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
341
329
  * ],
342
330
  * },
343
331
  * },
344
- * Count: {
332
+ * Count: { // CountAction
345
333
  * CustomRequestHandling: {
346
334
  * InsertHeaders: [ // required
347
335
  * {
@@ -351,7 +339,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
351
339
  * ],
352
340
  * },
353
341
  * },
354
- * Captcha: {
342
+ * Captcha: { // CaptchaAction
355
343
  * CustomRequestHandling: {
356
344
  * InsertHeaders: [ // required
357
345
  * {
@@ -361,7 +349,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
361
349
  * ],
362
350
  * },
363
351
  * },
364
- * Challenge: {
352
+ * Challenge: { // ChallengeAction
365
353
  * CustomRequestHandling: {
366
354
  * InsertHeaders: [ // required
367
355
  * {
@@ -375,15 +363,15 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
375
363
  * },
376
364
  * ],
377
365
  * },
378
- * IPSetReferenceStatement: {
366
+ * IPSetReferenceStatement: { // IPSetReferenceStatement
379
367
  * ARN: "STRING_VALUE", // required
380
- * IPSetForwardedIPConfig: {
368
+ * IPSetForwardedIPConfig: { // IPSetForwardedIPConfig
381
369
  * HeaderName: "STRING_VALUE", // required
382
370
  * FallbackBehavior: "MATCH" || "NO_MATCH", // required
383
371
  * Position: "FIRST" || "LAST" || "ANY", // required
384
372
  * },
385
373
  * },
386
- * RegexPatternSetReferenceStatement: {
374
+ * RegexPatternSetReferenceStatement: { // RegexPatternSetReferenceStatement
387
375
  * ARN: "STRING_VALUE", // required
388
376
  * FieldToMatch: {
389
377
  * SingleHeader: {
@@ -401,7 +389,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
401
389
  * Method: {},
402
390
  * JsonBody: {
403
391
  * MatchPattern: {
404
- * All: {},
392
+ * All: "<All>",
405
393
  * IncludedPaths: [
406
394
  * "STRING_VALUE",
407
395
  * ],
@@ -412,26 +400,18 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
412
400
  * },
413
401
  * Headers: {
414
402
  * MatchPattern: {
415
- * All: {},
416
- * IncludedHeaders: [
417
- * "STRING_VALUE",
418
- * ],
419
- * ExcludedHeaders: [
420
- * "STRING_VALUE",
421
- * ],
403
+ * All: "<All>",
404
+ * IncludedHeaders: "<HeaderNames>",
405
+ * ExcludedHeaders: "<HeaderNames>",
422
406
  * },
423
407
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
424
408
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
425
409
  * },
426
410
  * Cookies: {
427
411
  * MatchPattern: {
428
- * All: {},
429
- * IncludedCookies: [
430
- * "STRING_VALUE",
431
- * ],
432
- * ExcludedCookies: [
433
- * "STRING_VALUE",
434
- * ],
412
+ * All: "<All>",
413
+ * IncludedCookies: "<CookieNames>",
414
+ * ExcludedCookies: "<CookieNames>",
435
415
  * },
436
416
  * MatchScope: "ALL" || "KEY" || "VALUE", // required
437
417
  * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
@@ -444,254 +424,30 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
444
424
  * },
445
425
  * ],
446
426
  * },
447
- * RateBasedStatement: {
427
+ * RateBasedStatement: { // RateBasedStatement
448
428
  * Limit: Number("long"), // required
449
429
  * AggregateKeyType: "IP" || "FORWARDED_IP", // required
450
430
  * ScopeDownStatement: {
451
431
  * ByteMatchStatement: {
452
432
  * SearchString: "BLOB_VALUE", // required
453
- * FieldToMatch: {
454
- * SingleHeader: {
455
- * Name: "STRING_VALUE", // required
456
- * },
457
- * SingleQueryArgument: {
458
- * Name: "STRING_VALUE", // required
459
- * },
460
- * AllQueryArguments: {},
461
- * UriPath: {},
462
- * QueryString: {},
463
- * Body: {
464
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
465
- * },
466
- * Method: {},
467
- * JsonBody: {
468
- * MatchPattern: {
469
- * All: {},
470
- * IncludedPaths: [
471
- * "STRING_VALUE",
472
- * ],
473
- * },
474
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
475
- * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
476
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
477
- * },
478
- * Headers: {
479
- * MatchPattern: {
480
- * All: {},
481
- * IncludedHeaders: [
482
- * "STRING_VALUE",
483
- * ],
484
- * ExcludedHeaders: [
485
- * "STRING_VALUE",
486
- * ],
487
- * },
488
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
489
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
490
- * },
491
- * Cookies: {
492
- * MatchPattern: {
493
- * All: {},
494
- * IncludedCookies: [
495
- * "STRING_VALUE",
496
- * ],
497
- * ExcludedCookies: [
498
- * "STRING_VALUE",
499
- * ],
500
- * },
501
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
502
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
503
- * },
504
- * },
505
- * TextTransformations: [ // required
506
- * {
507
- * Priority: Number("int"), // required
508
- * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
509
- * },
510
- * ],
433
+ * FieldToMatch: "<FieldToMatch>", // required
434
+ * TextTransformations: "<TextTransformations>", // required
511
435
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
512
436
  * },
513
437
  * SqliMatchStatement: {
514
- * FieldToMatch: {
515
- * SingleHeader: {
516
- * Name: "STRING_VALUE", // required
517
- * },
518
- * SingleQueryArgument: {
519
- * Name: "STRING_VALUE", // required
520
- * },
521
- * AllQueryArguments: {},
522
- * UriPath: {},
523
- * QueryString: {},
524
- * Body: {
525
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
526
- * },
527
- * Method: {},
528
- * JsonBody: {
529
- * MatchPattern: {
530
- * All: {},
531
- * IncludedPaths: [
532
- * "STRING_VALUE",
533
- * ],
534
- * },
535
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
536
- * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
537
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
538
- * },
539
- * Headers: {
540
- * MatchPattern: {
541
- * All: {},
542
- * IncludedHeaders: [
543
- * "STRING_VALUE",
544
- * ],
545
- * ExcludedHeaders: [
546
- * "STRING_VALUE",
547
- * ],
548
- * },
549
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
550
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
551
- * },
552
- * Cookies: {
553
- * MatchPattern: {
554
- * All: {},
555
- * IncludedCookies: [
556
- * "STRING_VALUE",
557
- * ],
558
- * ExcludedCookies: [
559
- * "STRING_VALUE",
560
- * ],
561
- * },
562
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
563
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
564
- * },
565
- * },
566
- * TextTransformations: [ // required
567
- * {
568
- * Priority: Number("int"), // required
569
- * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
570
- * },
571
- * ],
438
+ * FieldToMatch: "<FieldToMatch>", // required
439
+ * TextTransformations: "<TextTransformations>", // required
572
440
  * SensitivityLevel: "LOW" || "HIGH",
573
441
  * },
574
442
  * XssMatchStatement: {
575
- * FieldToMatch: {
576
- * SingleHeader: {
577
- * Name: "STRING_VALUE", // required
578
- * },
579
- * SingleQueryArgument: {
580
- * Name: "STRING_VALUE", // required
581
- * },
582
- * AllQueryArguments: {},
583
- * UriPath: {},
584
- * QueryString: {},
585
- * Body: {
586
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
587
- * },
588
- * Method: {},
589
- * JsonBody: {
590
- * MatchPattern: {
591
- * All: {},
592
- * IncludedPaths: [
593
- * "STRING_VALUE",
594
- * ],
595
- * },
596
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
597
- * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
598
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
599
- * },
600
- * Headers: {
601
- * MatchPattern: {
602
- * All: {},
603
- * IncludedHeaders: [
604
- * "STRING_VALUE",
605
- * ],
606
- * ExcludedHeaders: [
607
- * "STRING_VALUE",
608
- * ],
609
- * },
610
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
611
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
612
- * },
613
- * Cookies: {
614
- * MatchPattern: {
615
- * All: {},
616
- * IncludedCookies: [
617
- * "STRING_VALUE",
618
- * ],
619
- * ExcludedCookies: [
620
- * "STRING_VALUE",
621
- * ],
622
- * },
623
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
624
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
625
- * },
626
- * },
627
- * TextTransformations: [ // required
628
- * {
629
- * Priority: Number("int"), // required
630
- * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
631
- * },
632
- * ],
443
+ * FieldToMatch: "<FieldToMatch>", // required
444
+ * TextTransformations: "<TextTransformations>", // required
633
445
  * },
634
446
  * SizeConstraintStatement: {
635
- * FieldToMatch: {
636
- * SingleHeader: {
637
- * Name: "STRING_VALUE", // required
638
- * },
639
- * SingleQueryArgument: {
640
- * Name: "STRING_VALUE", // required
641
- * },
642
- * AllQueryArguments: {},
643
- * UriPath: {},
644
- * QueryString: {},
645
- * Body: {
646
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
647
- * },
648
- * Method: {},
649
- * JsonBody: {
650
- * MatchPattern: {
651
- * All: {},
652
- * IncludedPaths: [
653
- * "STRING_VALUE",
654
- * ],
655
- * },
656
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
657
- * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
658
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
659
- * },
660
- * Headers: {
661
- * MatchPattern: {
662
- * All: {},
663
- * IncludedHeaders: [
664
- * "STRING_VALUE",
665
- * ],
666
- * ExcludedHeaders: [
667
- * "STRING_VALUE",
668
- * ],
669
- * },
670
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
671
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
672
- * },
673
- * Cookies: {
674
- * MatchPattern: {
675
- * All: {},
676
- * IncludedCookies: [
677
- * "STRING_VALUE",
678
- * ],
679
- * ExcludedCookies: [
680
- * "STRING_VALUE",
681
- * ],
682
- * },
683
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
684
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
685
- * },
686
- * },
447
+ * FieldToMatch: "<FieldToMatch>", // required
687
448
  * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
688
449
  * Size: Number("long"), // required
689
- * TextTransformations: [ // required
690
- * {
691
- * Priority: Number("int"), // required
692
- * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
693
- * },
694
- * ],
450
+ * TextTransformations: "<TextTransformations>", // required
695
451
  * },
696
452
  * GeoMatchStatement: {
697
453
  * CountryCodes: [
@@ -717,53 +473,22 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
717
473
  * CustomResponse: {
718
474
  * ResponseCode: Number("int"), // required
719
475
  * CustomResponseBodyKey: "STRING_VALUE",
720
- * ResponseHeaders: [
721
- * {
722
- * Name: "STRING_VALUE", // required
723
- * Value: "STRING_VALUE", // required
724
- * },
725
- * ],
476
+ * ResponseHeaders: "<CustomHTTPHeaders>",
726
477
  * },
727
478
  * },
728
479
  * Allow: {
729
480
  * CustomRequestHandling: {
730
- * InsertHeaders: [ // required
731
- * {
732
- * Name: "STRING_VALUE", // required
733
- * Value: "STRING_VALUE", // required
734
- * },
735
- * ],
481
+ * InsertHeaders: "<CustomHTTPHeaders>", // required
736
482
  * },
737
483
  * },
738
484
  * Count: {
739
- * CustomRequestHandling: {
740
- * InsertHeaders: [ // required
741
- * {
742
- * Name: "STRING_VALUE", // required
743
- * Value: "STRING_VALUE", // required
744
- * },
745
- * ],
746
- * },
485
+ * CustomRequestHandling: "<CustomRequestHandling>",
747
486
  * },
748
487
  * Captcha: {
749
- * CustomRequestHandling: {
750
- * InsertHeaders: [ // required
751
- * {
752
- * Name: "STRING_VALUE", // required
753
- * Value: "STRING_VALUE", // required
754
- * },
755
- * ],
756
- * },
488
+ * CustomRequestHandling: "<CustomRequestHandling>",
757
489
  * },
758
490
  * Challenge: {
759
- * CustomRequestHandling: {
760
- * InsertHeaders: [ // required
761
- * {
762
- * Name: "STRING_VALUE", // required
763
- * Value: "STRING_VALUE", // required
764
- * },
765
- * ],
766
- * },
491
+ * CustomRequestHandling: "<CustomRequestHandling>",
767
492
  * },
768
493
  * },
769
494
  * },
@@ -779,442 +504,282 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
779
504
  * },
780
505
  * RegexPatternSetReferenceStatement: {
781
506
  * ARN: "STRING_VALUE", // required
782
- * FieldToMatch: {
783
- * SingleHeader: {
507
+ * FieldToMatch: "<FieldToMatch>", // required
508
+ * TextTransformations: "<TextTransformations>", // required
509
+ * },
510
+ * RateBasedStatement: {
511
+ * Limit: Number("long"), // required
512
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
513
+ * ScopeDownStatement: "<Statement>",
514
+ * ForwardedIPConfig: {
515
+ * HeaderName: "STRING_VALUE", // required
516
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
517
+ * },
518
+ * },
519
+ * AndStatement: { // AndStatement
520
+ * Statements: [ // Statements // required
521
+ * "<Statement>",
522
+ * ],
523
+ * },
524
+ * OrStatement: { // OrStatement
525
+ * Statements: [ // required
526
+ * "<Statement>",
527
+ * ],
528
+ * },
529
+ * NotStatement: { // NotStatement
530
+ * Statement: "<Statement>", // required
531
+ * },
532
+ * ManagedRuleGroupStatement: { // ManagedRuleGroupStatement
533
+ * VendorName: "STRING_VALUE", // required
534
+ * Name: "STRING_VALUE", // required
535
+ * Version: "STRING_VALUE",
536
+ * ExcludedRules: [
537
+ * {
784
538
  * Name: "STRING_VALUE", // required
785
539
  * },
786
- * SingleQueryArgument: {
787
- * Name: "STRING_VALUE", // required
540
+ * ],
541
+ * ScopeDownStatement: "<Statement>",
542
+ * ManagedRuleGroupConfigs: [ // ManagedRuleGroupConfigs
543
+ * { // ManagedRuleGroupConfig
544
+ * LoginPath: "STRING_VALUE",
545
+ * PayloadType: "JSON" || "FORM_ENCODED",
546
+ * UsernameField: { // UsernameField
547
+ * Identifier: "STRING_VALUE", // required
548
+ * },
549
+ * PasswordField: { // PasswordField
550
+ * Identifier: "STRING_VALUE", // required
551
+ * },
552
+ * AWSManagedRulesBotControlRuleSet: { // AWSManagedRulesBotControlRuleSet
553
+ * InspectionLevel: "COMMON" || "TARGETED", // required
554
+ * },
555
+ * AWSManagedRulesATPRuleSet: { // AWSManagedRulesATPRuleSet
556
+ * LoginPath: "STRING_VALUE", // required
557
+ * RequestInspection: { // RequestInspection
558
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
559
+ * UsernameField: {
560
+ * Identifier: "STRING_VALUE", // required
561
+ * },
562
+ * PasswordField: {
563
+ * Identifier: "STRING_VALUE", // required
564
+ * },
565
+ * },
566
+ * ResponseInspection: { // ResponseInspection
567
+ * StatusCode: { // ResponseInspectionStatusCode
568
+ * SuccessCodes: [ // ResponseInspectionStatusCodeSuccessCodes // required
569
+ * Number("int"),
570
+ * ],
571
+ * FailureCodes: [ // ResponseInspectionStatusCodeFailureCodes // required
572
+ * Number("int"),
573
+ * ],
574
+ * },
575
+ * Header: { // ResponseInspectionHeader
576
+ * Name: "STRING_VALUE", // required
577
+ * SuccessValues: [ // ResponseInspectionHeaderSuccessValues // required
578
+ * "STRING_VALUE",
579
+ * ],
580
+ * FailureValues: [ // ResponseInspectionHeaderFailureValues // required
581
+ * "STRING_VALUE",
582
+ * ],
583
+ * },
584
+ * BodyContains: { // ResponseInspectionBodyContains
585
+ * SuccessStrings: [ // ResponseInspectionBodyContainsSuccessStrings // required
586
+ * "STRING_VALUE",
587
+ * ],
588
+ * FailureStrings: [ // ResponseInspectionBodyContainsFailureStrings // required
589
+ * "STRING_VALUE",
590
+ * ],
591
+ * },
592
+ * Json: { // ResponseInspectionJson
593
+ * Identifier: "STRING_VALUE", // required
594
+ * SuccessValues: [ // ResponseInspectionJsonSuccessValues // required
595
+ * "STRING_VALUE",
596
+ * ],
597
+ * FailureValues: [ // ResponseInspectionJsonFailureValues // required
598
+ * "STRING_VALUE",
599
+ * ],
600
+ * },
601
+ * },
602
+ * },
788
603
  * },
789
- * AllQueryArguments: {},
790
- * UriPath: {},
791
- * QueryString: {},
792
- * Body: {
793
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
604
+ * ],
605
+ * RuleActionOverrides: [
606
+ * {
607
+ * Name: "STRING_VALUE", // required
608
+ * ActionToUse: {
609
+ * Block: {
610
+ * CustomResponse: {
611
+ * ResponseCode: Number("int"), // required
612
+ * CustomResponseBodyKey: "STRING_VALUE",
613
+ * ResponseHeaders: "<CustomHTTPHeaders>",
614
+ * },
615
+ * },
616
+ * Allow: {
617
+ * CustomRequestHandling: "<CustomRequestHandling>",
618
+ * },
619
+ * Count: {
620
+ * CustomRequestHandling: "<CustomRequestHandling>",
621
+ * },
622
+ * Captcha: {
623
+ * CustomRequestHandling: "<CustomRequestHandling>",
624
+ * },
625
+ * Challenge: {
626
+ * CustomRequestHandling: "<CustomRequestHandling>",
627
+ * },
628
+ * },
794
629
  * },
795
- * Method: {},
796
- * JsonBody: {
797
- * MatchPattern: {
798
- * All: {},
799
- * IncludedPaths: [
630
+ * ],
631
+ * },
632
+ * LabelMatchStatement: { // LabelMatchStatement
633
+ * Scope: "LABEL" || "NAMESPACE", // required
634
+ * Key: "STRING_VALUE", // required
635
+ * },
636
+ * RegexMatchStatement: { // RegexMatchStatement
637
+ * RegexString: "STRING_VALUE", // required
638
+ * FieldToMatch: "<FieldToMatch>", // required
639
+ * TextTransformations: "<TextTransformations>", // required
640
+ * },
641
+ * },
642
+ * ForwardedIPConfig: {
643
+ * HeaderName: "STRING_VALUE", // required
644
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
645
+ * },
646
+ * },
647
+ * AndStatement: {
648
+ * Statements: [ // required
649
+ * "<Statement>",
650
+ * ],
651
+ * },
652
+ * OrStatement: {
653
+ * Statements: [ // required
654
+ * "<Statement>",
655
+ * ],
656
+ * },
657
+ * NotStatement: {
658
+ * Statement: "<Statement>", // required
659
+ * },
660
+ * ManagedRuleGroupStatement: {
661
+ * VendorName: "STRING_VALUE", // required
662
+ * Name: "STRING_VALUE", // required
663
+ * Version: "STRING_VALUE",
664
+ * ExcludedRules: [
665
+ * {
666
+ * Name: "STRING_VALUE", // required
667
+ * },
668
+ * ],
669
+ * ScopeDownStatement: "<Statement>",
670
+ * ManagedRuleGroupConfigs: [
671
+ * {
672
+ * LoginPath: "STRING_VALUE",
673
+ * PayloadType: "JSON" || "FORM_ENCODED",
674
+ * UsernameField: "<UsernameField>",
675
+ * PasswordField: "<PasswordField>",
676
+ * AWSManagedRulesBotControlRuleSet: {
677
+ * InspectionLevel: "COMMON" || "TARGETED", // required
678
+ * },
679
+ * AWSManagedRulesATPRuleSet: {
680
+ * LoginPath: "STRING_VALUE", // required
681
+ * RequestInspection: {
682
+ * PayloadType: "JSON" || "FORM_ENCODED", // required
683
+ * UsernameField: "<UsernameField>", // required
684
+ * PasswordField: "<PasswordField>", // required
685
+ * },
686
+ * ResponseInspection: {
687
+ * StatusCode: {
688
+ * SuccessCodes: [ // required
689
+ * Number("int"),
690
+ * ],
691
+ * FailureCodes: [ // required
692
+ * Number("int"),
693
+ * ],
694
+ * },
695
+ * Header: {
696
+ * Name: "STRING_VALUE", // required
697
+ * SuccessValues: [ // required
698
+ * "STRING_VALUE",
699
+ * ],
700
+ * FailureValues: [ // required
800
701
  * "STRING_VALUE",
801
702
  * ],
802
703
  * },
803
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
804
- * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
805
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
806
- * },
807
- * Headers: {
808
- * MatchPattern: {
809
- * All: {},
810
- * IncludedHeaders: [
704
+ * BodyContains: {
705
+ * SuccessStrings: [ // required
811
706
  * "STRING_VALUE",
812
707
  * ],
813
- * ExcludedHeaders: [
708
+ * FailureStrings: [ // required
814
709
  * "STRING_VALUE",
815
710
  * ],
816
711
  * },
817
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
818
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
819
- * },
820
- * Cookies: {
821
- * MatchPattern: {
822
- * All: {},
823
- * IncludedCookies: [
712
+ * Json: {
713
+ * Identifier: "STRING_VALUE", // required
714
+ * SuccessValues: [ // required
824
715
  * "STRING_VALUE",
825
716
  * ],
826
- * ExcludedCookies: [
717
+ * FailureValues: [ // required
827
718
  * "STRING_VALUE",
828
719
  * ],
829
720
  * },
830
- * MatchScope: "ALL" || "KEY" || "VALUE", // required
831
- * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
832
721
  * },
833
722
  * },
834
- * TextTransformations: [ // required
835
- * {
836
- * Priority: Number("int"), // required
837
- * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
838
- * },
839
- * ],
840
723
  * },
841
- * RateBasedStatement: {
842
- * Limit: Number("long"), // required
843
- * AggregateKeyType: "IP" || "FORWARDED_IP", // required
844
- * ScopeDownStatement: {
845
- * ByteMatchStatement: "<Statement>",
846
- * SqliMatchStatement: "<Statement>",
847
- * XssMatchStatement: "<Statement>",
848
- * SizeConstraintStatement: "<Statement>",
849
- * GeoMatchStatement: "<Statement>",
850
- * RuleGroupReferenceStatement: "<Statement>",
851
- * IPSetReferenceStatement: "<Statement>",
852
- * RegexPatternSetReferenceStatement: "<Statement>",
853
- * RateBasedStatement: "<Statement>",
854
- * AndStatement: {
855
- * Statements: [ // required
856
- * {
857
- * ByteMatchStatement: "<Statement>",
858
- * SqliMatchStatement: "<Statement>",
859
- * XssMatchStatement: "<Statement>",
860
- * SizeConstraintStatement: "<Statement>",
861
- * GeoMatchStatement: "<Statement>",
862
- * RuleGroupReferenceStatement: "<Statement>",
863
- * IPSetReferenceStatement: "<Statement>",
864
- * RegexPatternSetReferenceStatement: "<Statement>",
865
- * RateBasedStatement: "<Statement>",
866
- * AndStatement: {
867
- * Statements: [ // required
868
- * {
869
- * ByteMatchStatement: "<Statement>",
870
- * SqliMatchStatement: "<Statement>",
871
- * XssMatchStatement: "<Statement>",
872
- * SizeConstraintStatement: "<Statement>",
873
- * GeoMatchStatement: "<Statement>",
874
- * RuleGroupReferenceStatement: "<Statement>",
875
- * IPSetReferenceStatement: "<Statement>",
876
- * RegexPatternSetReferenceStatement: "<Statement>",
877
- * RateBasedStatement: "<Statement>",
878
- * AndStatement: "<Statement>",
879
- * OrStatement: {
880
- * Statements: [ // required
881
- * "<Statements>",
882
- * ],
883
- * },
884
- * NotStatement: {
885
- * Statement: {
886
- * ByteMatchStatement: "<Statement>",
887
- * SqliMatchStatement: "<Statement>",
888
- * XssMatchStatement: "<Statement>",
889
- * SizeConstraintStatement: "<Statement>",
890
- * GeoMatchStatement: "<Statement>",
891
- * RuleGroupReferenceStatement: "<Statement>",
892
- * IPSetReferenceStatement: "<Statement>",
893
- * RegexPatternSetReferenceStatement: "<Statement>",
894
- * RateBasedStatement: "<Statement>",
895
- * AndStatement: "<Statement>",
896
- * OrStatement: {
897
- * Statements: [ // required
898
- * "<Statements>",
899
- * ],
900
- * },
901
- * NotStatement: {
902
- * Statement: {
903
- * ByteMatchStatement: "<Statement>",
904
- * SqliMatchStatement: "<Statement>",
905
- * XssMatchStatement: "<Statement>",
906
- * SizeConstraintStatement: "<Statement>",
907
- * GeoMatchStatement: "<Statement>",
908
- * RuleGroupReferenceStatement: "<Statement>",
909
- * IPSetReferenceStatement: "<Statement>",
910
- * RegexPatternSetReferenceStatement: "<Statement>",
911
- * RateBasedStatement: "<Statement>",
912
- * AndStatement: "<Statement>",
913
- * OrStatement: "<Statement>",
914
- * NotStatement: "<Statement>",
915
- * ManagedRuleGroupStatement: {
916
- * VendorName: "STRING_VALUE", // required
917
- * Name: "STRING_VALUE", // required
918
- * Version: "STRING_VALUE",
919
- * ExcludedRules: [
920
- * "<ExcludedRules>",
921
- * ],
922
- * ScopeDownStatement: {
923
- * ByteMatchStatement: "<Statement>",
924
- * SqliMatchStatement: "<Statement>",
925
- * XssMatchStatement: "<Statement>",
926
- * SizeConstraintStatement: "<Statement>",
927
- * GeoMatchStatement: "<Statement>",
928
- * RuleGroupReferenceStatement: "<Statement>",
929
- * IPSetReferenceStatement: "<Statement>",
930
- * RegexPatternSetReferenceStatement: "<Statement>",
931
- * RateBasedStatement: "<Statement>",
932
- * AndStatement: "<Statement>",
933
- * OrStatement: "<Statement>",
934
- * NotStatement: "<Statement>",
935
- * ManagedRuleGroupStatement: {
936
- * VendorName: "STRING_VALUE", // required
937
- * Name: "STRING_VALUE", // required
938
- * Version: "STRING_VALUE",
939
- * ExcludedRules: [
940
- * "<ExcludedRules>",
941
- * ],
942
- * ScopeDownStatement: {
943
- * ByteMatchStatement: "<Statement>",
944
- * SqliMatchStatement: "<Statement>",
945
- * XssMatchStatement: "<Statement>",
946
- * SizeConstraintStatement: "<Statement>",
947
- * GeoMatchStatement: "<Statement>",
948
- * RuleGroupReferenceStatement: "<Statement>",
949
- * IPSetReferenceStatement: "<Statement>",
950
- * RegexPatternSetReferenceStatement: "<Statement>",
951
- * RateBasedStatement: "<Statement>",
952
- * AndStatement: "<Statement>",
953
- * OrStatement: "<Statement>",
954
- * NotStatement: "<Statement>",
955
- * ManagedRuleGroupStatement: "<Statement>",
956
- * LabelMatchStatement: {
957
- * Scope: "LABEL" || "NAMESPACE", // required
958
- * Key: "STRING_VALUE", // required
959
- * },
960
- * RegexMatchStatement: {
961
- * RegexString: "STRING_VALUE", // required
962
- * FieldToMatch: {
963
- * SingleHeader: "<FieldToMatch>",
964
- * SingleQueryArgument: "<FieldToMatch>",
965
- * AllQueryArguments: "<FieldToMatch>",
966
- * UriPath: "<FieldToMatch>",
967
- * QueryString: "<FieldToMatch>",
968
- * Body: "<FieldToMatch>",
969
- * Method: "<FieldToMatch>",
970
- * JsonBody: "<FieldToMatch>",
971
- * Headers: "<FieldToMatch>",
972
- * Cookies: "<FieldToMatch>",
973
- * },
974
- * TextTransformations: [ // required
975
- * "<TextTransformations>",
976
- * ],
977
- * },
978
- * },
979
- * ManagedRuleGroupConfigs: [
980
- * {
981
- * LoginPath: "STRING_VALUE",
982
- * PayloadType: "JSON" || "FORM_ENCODED",
983
- * UsernameField: {
984
- * Identifier: "STRING_VALUE", // required
985
- * },
986
- * PasswordField: {
987
- * Identifier: "STRING_VALUE", // required
988
- * },
989
- * AWSManagedRulesBotControlRuleSet: {
990
- * InspectionLevel: "COMMON" || "TARGETED", // required
991
- * },
992
- * AWSManagedRulesATPRuleSet: {
993
- * LoginPath: "STRING_VALUE", // required
994
- * RequestInspection: {
995
- * PayloadType: "JSON" || "FORM_ENCODED", // required
996
- * UsernameField: {
997
- * Identifier: "STRING_VALUE", // required
998
- * },
999
- * PasswordField: {
1000
- * Identifier: "STRING_VALUE", // required
1001
- * },
1002
- * },
1003
- * ResponseInspection: {
1004
- * StatusCode: {
1005
- * SuccessCodes: [ // required
1006
- * Number("int"),
1007
- * ],
1008
- * FailureCodes: [ // required
1009
- * Number("int"),
1010
- * ],
1011
- * },
1012
- * Header: {
1013
- * Name: "STRING_VALUE", // required
1014
- * SuccessValues: [ // required
1015
- * "STRING_VALUE",
1016
- * ],
1017
- * FailureValues: [ // required
1018
- * "STRING_VALUE",
1019
- * ],
1020
- * },
1021
- * BodyContains: {
1022
- * SuccessStrings: [ // required
1023
- * "STRING_VALUE",
1024
- * ],
1025
- * FailureStrings: [ // required
1026
- * "STRING_VALUE",
1027
- * ],
1028
- * },
1029
- * Json: {
1030
- * Identifier: "STRING_VALUE", // required
1031
- * SuccessValues: [ // required
1032
- * "STRING_VALUE",
1033
- * ],
1034
- * FailureValues: [ // required
1035
- * "STRING_VALUE",
1036
- * ],
1037
- * },
1038
- * },
1039
- * },
1040
- * },
1041
- * ],
1042
- * RuleActionOverrides: [
1043
- * "<RuleActionOverrides>",
1044
- * ],
1045
- * },
1046
- * LabelMatchStatement: {
1047
- * Scope: "LABEL" || "NAMESPACE", // required
1048
- * Key: "STRING_VALUE", // required
1049
- * },
1050
- * RegexMatchStatement: {
1051
- * RegexString: "STRING_VALUE", // required
1052
- * FieldToMatch: {
1053
- * SingleHeader: "<FieldToMatch>",
1054
- * SingleQueryArgument: "<FieldToMatch>",
1055
- * AllQueryArguments: "<FieldToMatch>",
1056
- * UriPath: "<FieldToMatch>",
1057
- * QueryString: "<FieldToMatch>",
1058
- * Body: "<FieldToMatch>",
1059
- * Method: "<FieldToMatch>",
1060
- * JsonBody: "<FieldToMatch>",
1061
- * Headers: "<FieldToMatch>",
1062
- * Cookies: "<FieldToMatch>",
1063
- * },
1064
- * TextTransformations: [ // required
1065
- * "<TextTransformations>",
1066
- * ],
1067
- * },
1068
- * },
1069
- * ManagedRuleGroupConfigs: [
1070
- * {
1071
- * LoginPath: "STRING_VALUE",
1072
- * PayloadType: "JSON" || "FORM_ENCODED",
1073
- * UsernameField: {
1074
- * Identifier: "<UsernameField>",
1075
- * },
1076
- * PasswordField: {
1077
- * Identifier: "<PasswordField>",
1078
- * },
1079
- * AWSManagedRulesBotControlRuleSet: {
1080
- * InspectionLevel: "COMMON" || "TARGETED", // required
1081
- * },
1082
- * AWSManagedRulesATPRuleSet: {
1083
- * LoginPath: "STRING_VALUE", // required
1084
- * RequestInspection: {
1085
- * PayloadType: "JSON" || "FORM_ENCODED", // required
1086
- * UsernameField: {
1087
- * Identifier: "<UsernameField>",
1088
- * },
1089
- * PasswordField: {
1090
- * Identifier: "<PasswordField>",
1091
- * },
1092
- * },
1093
- * ResponseInspection: {
1094
- * StatusCode: {
1095
- * SuccessCodes: [ // required
1096
- * Number("int"),
1097
- * ],
1098
- * FailureCodes: [ // required
1099
- * Number("int"),
1100
- * ],
1101
- * },
1102
- * Header: {
1103
- * Name: "STRING_VALUE", // required
1104
- * SuccessValues: [ // required
1105
- * "STRING_VALUE",
1106
- * ],
1107
- * FailureValues: [ // required
1108
- * "STRING_VALUE",
1109
- * ],
1110
- * },
1111
- * BodyContains: {
1112
- * SuccessStrings: [ // required
1113
- * "STRING_VALUE",
1114
- * ],
1115
- * FailureStrings: [ // required
1116
- * "STRING_VALUE",
1117
- * ],
1118
- * },
1119
- * Json: {
1120
- * Identifier: "STRING_VALUE", // required
1121
- * SuccessValues: [ // required
1122
- * "STRING_VALUE",
1123
- * ],
1124
- * FailureValues: [ // required
1125
- * "STRING_VALUE",
1126
- * ],
1127
- * },
1128
- * },
1129
- * },
1130
- * },
1131
- * ],
1132
- * RuleActionOverrides: [
1133
- * "<RuleActionOverrides>",
1134
- * ],
1135
- * },
1136
- * LabelMatchStatement: "<Statement>",
1137
- * RegexMatchStatement: "<Statement>",
1138
- * },
1139
- * },
1140
- * ManagedRuleGroupStatement: "<Statement>",
1141
- * LabelMatchStatement: "<Statement>",
1142
- * RegexMatchStatement: "<Statement>",
1143
- * },
1144
- * },
1145
- * ManagedRuleGroupStatement: "<Statement>",
1146
- * LabelMatchStatement: "<Statement>",
1147
- * RegexMatchStatement: "<Statement>",
1148
- * },
1149
- * ],
1150
- * },
1151
- * OrStatement: "<Statement>",
1152
- * NotStatement: "<Statement>",
1153
- * ManagedRuleGroupStatement: "<Statement>",
1154
- * LabelMatchStatement: "<Statement>",
1155
- * RegexMatchStatement: "<Statement>",
1156
- * },
1157
- * ],
724
+ * ],
725
+ * RuleActionOverrides: [
726
+ * {
727
+ * Name: "STRING_VALUE", // required
728
+ * ActionToUse: {
729
+ * Block: {
730
+ * CustomResponse: {
731
+ * ResponseCode: Number("int"), // required
732
+ * CustomResponseBodyKey: "STRING_VALUE",
733
+ * ResponseHeaders: "<CustomHTTPHeaders>",
734
+ * },
735
+ * },
736
+ * Allow: {
737
+ * CustomRequestHandling: "<CustomRequestHandling>",
738
+ * },
739
+ * Count: {
740
+ * CustomRequestHandling: "<CustomRequestHandling>",
741
+ * },
742
+ * Captcha: {
743
+ * CustomRequestHandling: "<CustomRequestHandling>",
744
+ * },
745
+ * Challenge: {
746
+ * CustomRequestHandling: "<CustomRequestHandling>",
1158
747
  * },
1159
- * OrStatement: "<Statement>",
1160
- * NotStatement: "<Statement>",
1161
- * ManagedRuleGroupStatement: "<Statement>",
1162
- * LabelMatchStatement: "<Statement>",
1163
- * RegexMatchStatement: "<Statement>",
1164
- * },
1165
- * ForwardedIPConfig: {
1166
- * HeaderName: "STRING_VALUE", // required
1167
- * FallbackBehavior: "MATCH" || "NO_MATCH", // required
1168
748
  * },
1169
749
  * },
1170
- * AndStatement: "<Statement>",
1171
- * OrStatement: "<Statement>",
1172
- * NotStatement: "<Statement>",
1173
- * ManagedRuleGroupStatement: "<Statement>",
1174
- * LabelMatchStatement: "<Statement>",
1175
- * RegexMatchStatement: "<Statement>",
1176
- * },
1177
- * ForwardedIPConfig: {
1178
- * HeaderName: "STRING_VALUE", // required
1179
- * FallbackBehavior: "MATCH" || "NO_MATCH", // required
1180
- * },
750
+ * ],
1181
751
  * },
1182
- * AndStatement: "<Statement>",
1183
- * OrStatement: "<Statement>",
1184
- * NotStatement: "<Statement>",
1185
- * ManagedRuleGroupStatement: "<Statement>",
1186
- * LabelMatchStatement: "<Statement>",
1187
- * RegexMatchStatement: "<Statement>",
1188
- * },
1189
- * Action: {
1190
- * Block: "<RuleAction>",
1191
- * Allow: "<RuleAction>",
1192
- * Count: "<RuleAction>",
1193
- * Captcha: "<RuleAction>",
1194
- * Challenge: "<RuleAction>",
1195
- * },
1196
- * OverrideAction: {
1197
- * Count: {
1198
- * CustomRequestHandling: "<CountAction>",
752
+ * LabelMatchStatement: {
753
+ * Scope: "LABEL" || "NAMESPACE", // required
754
+ * Key: "STRING_VALUE", // required
755
+ * },
756
+ * RegexMatchStatement: {
757
+ * RegexString: "STRING_VALUE", // required
758
+ * FieldToMatch: "<FieldToMatch>", // required
759
+ * TextTransformations: "<TextTransformations>", // required
1199
760
  * },
761
+ * },
762
+ * Action: "<RuleAction>",
763
+ * OverrideAction: { // OverrideAction
764
+ * Count: "<CountAction>",
1200
765
  * None: {},
1201
766
  * },
1202
- * RuleLabels: [
1203
- * {
767
+ * RuleLabels: [ // Labels
768
+ * { // Label
1204
769
  * Name: "STRING_VALUE", // required
1205
770
  * },
1206
771
  * ],
1207
- * VisibilityConfig: {
772
+ * VisibilityConfig: { // VisibilityConfig
1208
773
  * SampledRequestsEnabled: true || false, // required
1209
774
  * CloudWatchMetricsEnabled: true || false, // required
1210
775
  * MetricName: "STRING_VALUE", // required
1211
776
  * },
1212
- * CaptchaConfig: {
1213
- * ImmunityTimeProperty: {
777
+ * CaptchaConfig: { // CaptchaConfig
778
+ * ImmunityTimeProperty: { // ImmunityTimeProperty
1214
779
  * ImmunityTime: Number("long"), // required
1215
780
  * },
1216
781
  * },
1217
- * ChallengeConfig: {
782
+ * ChallengeConfig: { // ChallengeConfig
1218
783
  * ImmunityTimeProperty: {
1219
784
  * ImmunityTime: Number("long"), // required
1220
785
  * },
@@ -1227,8 +792,8 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
1227
792
  * MetricName: "STRING_VALUE", // required
1228
793
  * },
1229
794
  * LockToken: "STRING_VALUE", // required
1230
- * CustomResponseBodies: {
1231
- * "<keys>": {
795
+ * CustomResponseBodies: { // CustomResponseBodies
796
+ * "<keys>": { // CustomResponseBody
1232
797
  * ContentType: "TEXT_PLAIN" || "TEXT_HTML" || "APPLICATION_JSON", // required
1233
798
  * Content: "STRING_VALUE", // required
1234
799
  * },