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