@aws-sdk/client-wafv2 3.299.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist-types/commands/AssociateWebACLCommand.d.ts +4 -0
  2. package/dist-types/commands/CheckCapacityCommand.d.ts +740 -0
  3. package/dist-types/commands/CreateIPSetCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateRuleGroupCommand.d.ts +760 -0
  6. package/dist-types/commands/CreateWebACLCommand.d.ts +760 -0
  7. package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
  9. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -0
  10. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
  12. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
  13. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
  14. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +6 -0
  15. package/dist-types/commands/DisassociateWebACLCommand.d.ts +3 -0
  16. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +4 -0
  17. package/dist-types/commands/GetIPSetCommand.d.ts +5 -0
  18. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -0
  19. package/dist-types/commands/GetManagedRuleSetCommand.d.ts +5 -0
  20. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +4 -0
  21. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -0
  22. package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +7 -0
  23. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +5 -0
  24. package/dist-types/commands/GetRuleGroupCommand.d.ts +6 -0
  25. package/dist-types/commands/GetSampledRequestsCommand.d.ts +10 -0
  26. package/dist-types/commands/GetWebACLCommand.d.ts +5 -0
  27. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +3 -0
  28. package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +7 -0
  29. package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +5 -0
  30. package/dist-types/commands/ListIPSetsCommand.d.ts +5 -0
  31. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +5 -0
  32. package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +5 -0
  33. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +5 -0
  34. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +5 -0
  35. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +4 -0
  36. package/dist-types/commands/ListRuleGroupsCommand.d.ts +5 -0
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
  38. package/dist-types/commands/ListWebACLsCommand.d.ts +5 -0
  39. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +82 -0
  40. package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +13 -0
  41. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  42. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  43. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  44. package/dist-types/commands/UpdateIPSetCommand.d.ts +10 -0
  45. package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +8 -0
  46. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +12 -0
  47. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +755 -0
  48. package/dist-types/commands/UpdateWebACLCommand.d.ts +756 -0
  49. package/package.json +8 -8
@@ -44,6 +44,761 @@ 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 = { // UpdateRuleGroupRequest
48
+ * Name: "STRING_VALUE", // required
49
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
50
+ * Id: "STRING_VALUE", // required
51
+ * Description: "STRING_VALUE",
52
+ * Rules: [ // Rules
53
+ * { // Rule
54
+ * Name: "STRING_VALUE", // required
55
+ * Priority: Number("int"), // required
56
+ * Statement: { // Statement
57
+ * ByteMatchStatement: { // ByteMatchStatement
58
+ * SearchString: "BLOB_VALUE", // required
59
+ * FieldToMatch: { // FieldToMatch
60
+ * SingleHeader: { // SingleHeader
61
+ * Name: "STRING_VALUE", // required
62
+ * },
63
+ * SingleQueryArgument: { // SingleQueryArgument
64
+ * Name: "STRING_VALUE", // required
65
+ * },
66
+ * AllQueryArguments: {},
67
+ * UriPath: {},
68
+ * QueryString: {},
69
+ * Body: { // Body
70
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
71
+ * },
72
+ * Method: {},
73
+ * JsonBody: { // JsonBody
74
+ * MatchPattern: { // JsonMatchPattern
75
+ * All: {},
76
+ * IncludedPaths: [ // JsonPointerPaths
77
+ * "STRING_VALUE",
78
+ * ],
79
+ * },
80
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
81
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
82
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
83
+ * },
84
+ * Headers: { // Headers
85
+ * MatchPattern: { // HeaderMatchPattern
86
+ * All: {},
87
+ * IncludedHeaders: [ // HeaderNames
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * ExcludedHeaders: [
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * },
94
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
95
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
96
+ * },
97
+ * Cookies: { // Cookies
98
+ * MatchPattern: { // CookieMatchPattern
99
+ * All: {},
100
+ * IncludedCookies: [ // CookieNames
101
+ * "STRING_VALUE",
102
+ * ],
103
+ * ExcludedCookies: [
104
+ * "STRING_VALUE",
105
+ * ],
106
+ * },
107
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
108
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
109
+ * },
110
+ * },
111
+ * TextTransformations: [ // TextTransformations // required
112
+ * { // TextTransformation
113
+ * Priority: Number("int"), // required
114
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
115
+ * },
116
+ * ],
117
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
118
+ * },
119
+ * SqliMatchStatement: { // SqliMatchStatement
120
+ * FieldToMatch: {
121
+ * SingleHeader: {
122
+ * Name: "STRING_VALUE", // required
123
+ * },
124
+ * SingleQueryArgument: {
125
+ * Name: "STRING_VALUE", // required
126
+ * },
127
+ * AllQueryArguments: {},
128
+ * UriPath: {},
129
+ * QueryString: {},
130
+ * Body: {
131
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
132
+ * },
133
+ * Method: {},
134
+ * JsonBody: {
135
+ * MatchPattern: {
136
+ * All: {},
137
+ * IncludedPaths: [
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * },
141
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
142
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
143
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
144
+ * },
145
+ * Headers: {
146
+ * MatchPattern: {
147
+ * All: {},
148
+ * IncludedHeaders: [
149
+ * "STRING_VALUE",
150
+ * ],
151
+ * ExcludedHeaders: [
152
+ * "STRING_VALUE",
153
+ * ],
154
+ * },
155
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
156
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
157
+ * },
158
+ * Cookies: {
159
+ * MatchPattern: {
160
+ * All: "<All>",
161
+ * IncludedCookies: [
162
+ * "STRING_VALUE",
163
+ * ],
164
+ * ExcludedCookies: [
165
+ * "STRING_VALUE",
166
+ * ],
167
+ * },
168
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
169
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
170
+ * },
171
+ * },
172
+ * TextTransformations: [ // required
173
+ * {
174
+ * Priority: Number("int"), // required
175
+ * Type: "NONE" || "COMPRESS_WHITE_SPACE" || "HTML_ENTITY_DECODE" || "LOWERCASE" || "CMD_LINE" || "URL_DECODE" || "BASE64_DECODE" || "HEX_DECODE" || "MD5" || "REPLACE_COMMENTS" || "ESCAPE_SEQ_DECODE" || "SQL_HEX_DECODE" || "CSS_DECODE" || "JS_DECODE" || "NORMALIZE_PATH" || "NORMALIZE_PATH_WIN" || "REMOVE_NULLS" || "REPLACE_NULLS" || "BASE64_DECODE_EXT" || "URL_DECODE_UNI" || "UTF8_TO_UNICODE", // required
176
+ * },
177
+ * ],
178
+ * SensitivityLevel: "LOW" || "HIGH",
179
+ * },
180
+ * XssMatchStatement: { // XssMatchStatement
181
+ * FieldToMatch: {
182
+ * SingleHeader: {
183
+ * Name: "STRING_VALUE", // required
184
+ * },
185
+ * SingleQueryArgument: {
186
+ * Name: "STRING_VALUE", // required
187
+ * },
188
+ * AllQueryArguments: {},
189
+ * UriPath: {},
190
+ * QueryString: {},
191
+ * Body: {
192
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
193
+ * },
194
+ * Method: {},
195
+ * JsonBody: {
196
+ * MatchPattern: {
197
+ * All: "<All>",
198
+ * IncludedPaths: [
199
+ * "STRING_VALUE",
200
+ * ],
201
+ * },
202
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
203
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
204
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
205
+ * },
206
+ * Headers: {
207
+ * MatchPattern: {
208
+ * All: "<All>",
209
+ * IncludedHeaders: [
210
+ * "STRING_VALUE",
211
+ * ],
212
+ * ExcludedHeaders: "<HeaderNames>",
213
+ * },
214
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
215
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
216
+ * },
217
+ * Cookies: {
218
+ * MatchPattern: {
219
+ * All: "<All>",
220
+ * IncludedCookies: [
221
+ * "STRING_VALUE",
222
+ * ],
223
+ * ExcludedCookies: "<CookieNames>",
224
+ * },
225
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
226
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
227
+ * },
228
+ * },
229
+ * TextTransformations: [ // required
230
+ * {
231
+ * Priority: Number("int"), // required
232
+ * 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
233
+ * },
234
+ * ],
235
+ * },
236
+ * SizeConstraintStatement: { // SizeConstraintStatement
237
+ * FieldToMatch: {
238
+ * SingleHeader: {
239
+ * Name: "STRING_VALUE", // required
240
+ * },
241
+ * SingleQueryArgument: {
242
+ * Name: "STRING_VALUE", // required
243
+ * },
244
+ * AllQueryArguments: {},
245
+ * UriPath: {},
246
+ * QueryString: {},
247
+ * Body: {
248
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
249
+ * },
250
+ * Method: {},
251
+ * JsonBody: {
252
+ * MatchPattern: {
253
+ * All: "<All>",
254
+ * IncludedPaths: [
255
+ * "STRING_VALUE",
256
+ * ],
257
+ * },
258
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
259
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
260
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
261
+ * },
262
+ * Headers: {
263
+ * MatchPattern: {
264
+ * All: "<All>",
265
+ * IncludedHeaders: "<HeaderNames>",
266
+ * ExcludedHeaders: "<HeaderNames>",
267
+ * },
268
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
269
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
270
+ * },
271
+ * Cookies: {
272
+ * MatchPattern: {
273
+ * All: "<All>",
274
+ * IncludedCookies: "<CookieNames>",
275
+ * ExcludedCookies: "<CookieNames>",
276
+ * },
277
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
278
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
279
+ * },
280
+ * },
281
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
282
+ * Size: Number("long"), // required
283
+ * TextTransformations: [ // required
284
+ * {
285
+ * Priority: Number("int"), // required
286
+ * 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
287
+ * },
288
+ * ],
289
+ * },
290
+ * GeoMatchStatement: { // GeoMatchStatement
291
+ * CountryCodes: [ // CountryCodes
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",
293
+ * ],
294
+ * ForwardedIPConfig: { // ForwardedIPConfig
295
+ * HeaderName: "STRING_VALUE", // required
296
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
297
+ * },
298
+ * },
299
+ * RuleGroupReferenceStatement: { // RuleGroupReferenceStatement
300
+ * ARN: "STRING_VALUE", // required
301
+ * ExcludedRules: [ // ExcludedRules
302
+ * { // ExcludedRule
303
+ * Name: "STRING_VALUE", // required
304
+ * },
305
+ * ],
306
+ * RuleActionOverrides: [ // RuleActionOverrides
307
+ * { // RuleActionOverride
308
+ * Name: "STRING_VALUE", // required
309
+ * ActionToUse: { // RuleAction
310
+ * Block: { // BlockAction
311
+ * CustomResponse: { // CustomResponse
312
+ * ResponseCode: Number("int"), // required
313
+ * CustomResponseBodyKey: "STRING_VALUE",
314
+ * ResponseHeaders: [ // CustomHTTPHeaders
315
+ * { // CustomHTTPHeader
316
+ * Name: "STRING_VALUE", // required
317
+ * Value: "STRING_VALUE", // required
318
+ * },
319
+ * ],
320
+ * },
321
+ * },
322
+ * Allow: { // AllowAction
323
+ * CustomRequestHandling: { // CustomRequestHandling
324
+ * InsertHeaders: [ // required
325
+ * {
326
+ * Name: "STRING_VALUE", // required
327
+ * Value: "STRING_VALUE", // required
328
+ * },
329
+ * ],
330
+ * },
331
+ * },
332
+ * Count: { // CountAction
333
+ * CustomRequestHandling: {
334
+ * InsertHeaders: [ // required
335
+ * {
336
+ * Name: "STRING_VALUE", // required
337
+ * Value: "STRING_VALUE", // required
338
+ * },
339
+ * ],
340
+ * },
341
+ * },
342
+ * Captcha: { // CaptchaAction
343
+ * CustomRequestHandling: {
344
+ * InsertHeaders: [ // required
345
+ * {
346
+ * Name: "STRING_VALUE", // required
347
+ * Value: "STRING_VALUE", // required
348
+ * },
349
+ * ],
350
+ * },
351
+ * },
352
+ * Challenge: { // ChallengeAction
353
+ * CustomRequestHandling: {
354
+ * InsertHeaders: [ // required
355
+ * {
356
+ * Name: "STRING_VALUE", // required
357
+ * Value: "STRING_VALUE", // required
358
+ * },
359
+ * ],
360
+ * },
361
+ * },
362
+ * },
363
+ * },
364
+ * ],
365
+ * },
366
+ * IPSetReferenceStatement: { // IPSetReferenceStatement
367
+ * ARN: "STRING_VALUE", // required
368
+ * IPSetForwardedIPConfig: { // IPSetForwardedIPConfig
369
+ * HeaderName: "STRING_VALUE", // required
370
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
371
+ * Position: "FIRST" || "LAST" || "ANY", // required
372
+ * },
373
+ * },
374
+ * RegexPatternSetReferenceStatement: { // RegexPatternSetReferenceStatement
375
+ * ARN: "STRING_VALUE", // required
376
+ * FieldToMatch: {
377
+ * SingleHeader: {
378
+ * Name: "STRING_VALUE", // required
379
+ * },
380
+ * SingleQueryArgument: {
381
+ * Name: "STRING_VALUE", // required
382
+ * },
383
+ * AllQueryArguments: {},
384
+ * UriPath: {},
385
+ * QueryString: {},
386
+ * Body: {
387
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
388
+ * },
389
+ * Method: {},
390
+ * JsonBody: {
391
+ * MatchPattern: {
392
+ * All: "<All>",
393
+ * IncludedPaths: [
394
+ * "STRING_VALUE",
395
+ * ],
396
+ * },
397
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
398
+ * InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
399
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
400
+ * },
401
+ * Headers: {
402
+ * MatchPattern: {
403
+ * All: "<All>",
404
+ * IncludedHeaders: "<HeaderNames>",
405
+ * ExcludedHeaders: "<HeaderNames>",
406
+ * },
407
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
408
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
409
+ * },
410
+ * Cookies: {
411
+ * MatchPattern: {
412
+ * All: "<All>",
413
+ * IncludedCookies: "<CookieNames>",
414
+ * ExcludedCookies: "<CookieNames>",
415
+ * },
416
+ * MatchScope: "ALL" || "KEY" || "VALUE", // required
417
+ * OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
418
+ * },
419
+ * },
420
+ * TextTransformations: [ // required
421
+ * {
422
+ * Priority: Number("int"), // required
423
+ * 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
424
+ * },
425
+ * ],
426
+ * },
427
+ * RateBasedStatement: { // RateBasedStatement
428
+ * Limit: Number("long"), // required
429
+ * AggregateKeyType: "IP" || "FORWARDED_IP", // required
430
+ * ScopeDownStatement: {
431
+ * ByteMatchStatement: {
432
+ * SearchString: "BLOB_VALUE", // required
433
+ * FieldToMatch: "<FieldToMatch>", // required
434
+ * TextTransformations: "<TextTransformations>", // required
435
+ * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
436
+ * },
437
+ * SqliMatchStatement: {
438
+ * FieldToMatch: "<FieldToMatch>", // required
439
+ * TextTransformations: "<TextTransformations>", // required
440
+ * SensitivityLevel: "LOW" || "HIGH",
441
+ * },
442
+ * XssMatchStatement: {
443
+ * FieldToMatch: "<FieldToMatch>", // required
444
+ * TextTransformations: "<TextTransformations>", // required
445
+ * },
446
+ * SizeConstraintStatement: {
447
+ * FieldToMatch: "<FieldToMatch>", // required
448
+ * ComparisonOperator: "EQ" || "NE" || "LE" || "LT" || "GE" || "GT", // required
449
+ * Size: Number("long"), // required
450
+ * TextTransformations: "<TextTransformations>", // required
451
+ * },
452
+ * GeoMatchStatement: {
453
+ * CountryCodes: [
454
+ * "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",
455
+ * ],
456
+ * ForwardedIPConfig: {
457
+ * HeaderName: "STRING_VALUE", // required
458
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
459
+ * },
460
+ * },
461
+ * RuleGroupReferenceStatement: {
462
+ * ARN: "STRING_VALUE", // required
463
+ * ExcludedRules: [
464
+ * {
465
+ * Name: "STRING_VALUE", // required
466
+ * },
467
+ * ],
468
+ * RuleActionOverrides: [
469
+ * {
470
+ * Name: "STRING_VALUE", // required
471
+ * ActionToUse: {
472
+ * Block: {
473
+ * CustomResponse: {
474
+ * ResponseCode: Number("int"), // required
475
+ * CustomResponseBodyKey: "STRING_VALUE",
476
+ * ResponseHeaders: "<CustomHTTPHeaders>",
477
+ * },
478
+ * },
479
+ * Allow: {
480
+ * CustomRequestHandling: {
481
+ * InsertHeaders: "<CustomHTTPHeaders>", // required
482
+ * },
483
+ * },
484
+ * Count: {
485
+ * CustomRequestHandling: "<CustomRequestHandling>",
486
+ * },
487
+ * Captcha: {
488
+ * CustomRequestHandling: "<CustomRequestHandling>",
489
+ * },
490
+ * Challenge: {
491
+ * CustomRequestHandling: "<CustomRequestHandling>",
492
+ * },
493
+ * },
494
+ * },
495
+ * ],
496
+ * },
497
+ * IPSetReferenceStatement: {
498
+ * ARN: "STRING_VALUE", // required
499
+ * IPSetForwardedIPConfig: {
500
+ * HeaderName: "STRING_VALUE", // required
501
+ * FallbackBehavior: "MATCH" || "NO_MATCH", // required
502
+ * Position: "FIRST" || "LAST" || "ANY", // required
503
+ * },
504
+ * },
505
+ * RegexPatternSetReferenceStatement: {
506
+ * ARN: "STRING_VALUE", // required
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
+ * {
538
+ * Name: "STRING_VALUE", // required
539
+ * },
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
+ * },
603
+ * },
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
+ * },
629
+ * },
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
701
+ * "STRING_VALUE",
702
+ * ],
703
+ * },
704
+ * BodyContains: {
705
+ * SuccessStrings: [ // required
706
+ * "STRING_VALUE",
707
+ * ],
708
+ * FailureStrings: [ // required
709
+ * "STRING_VALUE",
710
+ * ],
711
+ * },
712
+ * Json: {
713
+ * Identifier: "STRING_VALUE", // required
714
+ * SuccessValues: [ // required
715
+ * "STRING_VALUE",
716
+ * ],
717
+ * FailureValues: [ // required
718
+ * "STRING_VALUE",
719
+ * ],
720
+ * },
721
+ * },
722
+ * },
723
+ * },
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>",
747
+ * },
748
+ * },
749
+ * },
750
+ * ],
751
+ * },
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
760
+ * },
761
+ * },
762
+ * Action: "<RuleAction>",
763
+ * OverrideAction: { // OverrideAction
764
+ * Count: "<CountAction>",
765
+ * None: {},
766
+ * },
767
+ * RuleLabels: [ // Labels
768
+ * { // Label
769
+ * Name: "STRING_VALUE", // required
770
+ * },
771
+ * ],
772
+ * VisibilityConfig: { // VisibilityConfig
773
+ * SampledRequestsEnabled: true || false, // required
774
+ * CloudWatchMetricsEnabled: true || false, // required
775
+ * MetricName: "STRING_VALUE", // required
776
+ * },
777
+ * CaptchaConfig: { // CaptchaConfig
778
+ * ImmunityTimeProperty: { // ImmunityTimeProperty
779
+ * ImmunityTime: Number("long"), // required
780
+ * },
781
+ * },
782
+ * ChallengeConfig: { // ChallengeConfig
783
+ * ImmunityTimeProperty: {
784
+ * ImmunityTime: Number("long"), // required
785
+ * },
786
+ * },
787
+ * },
788
+ * ],
789
+ * VisibilityConfig: {
790
+ * SampledRequestsEnabled: true || false, // required
791
+ * CloudWatchMetricsEnabled: true || false, // required
792
+ * MetricName: "STRING_VALUE", // required
793
+ * },
794
+ * LockToken: "STRING_VALUE", // required
795
+ * CustomResponseBodies: { // CustomResponseBodies
796
+ * "<keys>": { // CustomResponseBody
797
+ * ContentType: "TEXT_PLAIN" || "TEXT_HTML" || "APPLICATION_JSON", // required
798
+ * Content: "STRING_VALUE", // required
799
+ * },
800
+ * },
801
+ * };
47
802
  * const command = new UpdateRuleGroupCommand(input);
48
803
  * const response = await client.send(command);
49
804
  * ```