blib/lib/Paws/WAFV2/UpdateWebACL.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::WAFV2::UpdateWebACL;
3 use Moose;
4 has CustomResponseBodies => (is => 'ro', isa => 'Paws::WAFV2::CustomResponseBodies');
5 has DefaultAction => (is => 'ro', isa => 'Paws::WAFV2::DefaultAction', required => 1);
6 has Description => (is => 'ro', isa => 'Str');
7 has Id => (is => 'ro', isa => 'Str', required => 1);
8 has LockToken => (is => 'ro', isa => 'Str', required => 1);
9 has Name => (is => 'ro', isa => 'Str', required => 1);
10 has Rules => (is => 'ro', isa => 'ArrayRef[Paws::WAFV2::Rule]');
11 has Scope => (is => 'ro', isa => 'Str', required => 1);
12 has VisibilityConfig => (is => 'ro', isa => 'Paws::WAFV2::VisibilityConfig', required => 1);
13  
14 use MooseX::ClassAttribute;
15  
16 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateWebACL');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WAFV2::UpdateWebACLResponse');
18 class_has _result_key => (isa => 'Str', is => 'ro');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::WAFV2::UpdateWebACL - Arguments for method UpdateWebACL on L<Paws::WAFV2>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method UpdateWebACL on the
30 L<AWS WAFV2|Paws::WAFV2> service. Use the attributes of this class
31 as arguments to method UpdateWebACL.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWebACL.
34  
35 =head1 SYNOPSIS
36  
37 my $wafv2 = Paws->service('WAFV2');
38 my $UpdateWebACLResponse = $wafv2->UpdateWebACL(
39 DefaultAction => {
40 Allow => {
41 CustomRequestHandling => {
42 InsertHeaders => [
43 {
44 Name => 'MyCustomHTTPHeaderName', # min: 1, max: 64
45 Value => 'MyCustomHTTPHeaderValue', # min: 1, max: 255
46  
47 },
48 ...
49 ], # min: 1
50  
51 }, # OPTIONAL
52 }, # OPTIONAL
53 Block => {
54 CustomResponse => {
55 ResponseCode => 1, # min: 200, max: 600
56 CustomResponseBodyKey =>
57 'MyEntityName', # min: 1, max: 128; OPTIONAL
58 ResponseHeaders => [
59 {
60 Name => 'MyCustomHTTPHeaderName', # min: 1, max: 64
61 Value => 'MyCustomHTTPHeaderValue', # min: 1, max: 255
62  
63 },
64 ...
65 ], # min: 1
66 }, # OPTIONAL
67 }, # OPTIONAL
68 },
69 Id => 'MyEntityId',
70 LockToken => 'MyLockToken',
71 Name => 'MyEntityName',
72 Scope => 'CLOUDFRONT',
73 VisibilityConfig => {
74 CloudWatchMetricsEnabled => 1,
75 MetricName => 'MyMetricName', # min: 1, max: 255
76 SampledRequestsEnabled => 1,
77  
78 },
79 CustomResponseBodies => {
80 'MyEntityName' => {
81 Content => 'MyResponseContent', # min: 1, max: 10240
82 ContentType =>
83 'TEXT_PLAIN', # values: TEXT_PLAIN, TEXT_HTML, APPLICATION_JSON
84  
85 }, # key: min: 1, max: 128; OPTIONAL
86 }, # OPTIONAL
87 Description => 'MyEntityDescription', # OPTIONAL
88 Rules => [
89 {
90 Name => 'MyEntityName', # min: 1, max: 128; OPTIONAL
91 Priority => 1,
92 Statement => {
93 AndStatement => {
94 Statements => [ <Statement>, ... ],
95  
96 }, # OPTIONAL
97 ByteMatchStatement => {
98 FieldToMatch => {
99 AllQueryArguments => {
100  
101 }, # OPTIONAL
102 Body => {
103  
104 }, # OPTIONAL
105 JsonBody => {
106 MatchPattern => {
107 All => {
108  
109 }, # OPTIONAL
110 IncludedPaths => [
111 'MyJsonPointerPath', ... # min: 1, max: 512
112 ], # min: 1; OPTIONAL
113 },
114 MatchScope => 'ALL', # values: ALL, KEY, VALUE
115 InvalidFallbackBehavior => 'MATCH'
116 , # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL
117 }, # OPTIONAL
118 Method => {
119  
120 }, # OPTIONAL
121 QueryString => {
122  
123 }, # OPTIONAL
124 SingleHeader => {
125 Name => 'MyFieldToMatchData', # min: 1, max: 64
126  
127 }, # OPTIONAL
128 SingleQueryArgument => {
129 Name => 'MyFieldToMatchData', # min: 1, max: 64
130  
131 }, # OPTIONAL
132 UriPath => {
133  
134 }, # OPTIONAL
135 },
136 PositionalConstraint => 'EXACTLY'
137 , # values: EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
138 SearchString => 'BlobSearchString',
139 TextTransformations => [
140 {
141 Priority => 1,
142 Type => 'NONE'
143 , # values: 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
144  
145 },
146 ...
147 ], # min: 1
148  
149 }, # OPTIONAL
150 GeoMatchStatement => {
151 CountryCodes => [
152 'AF',
153 ... # values: 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
154 ], # min: 1; OPTIONAL
155 ForwardedIPConfig => {
156 FallbackBehavior => 'MATCH', # values: MATCH, NO_MATCH
157 HeaderName => 'MyForwardedIPHeaderName', # min: 1, max: 255
158  
159 }, # OPTIONAL
160 }, # OPTIONAL
161 IPSetReferenceStatement => {
162 ARN => 'MyResourceArn', # min: 20, max: 2048
163 IPSetForwardedIPConfig => {
164 FallbackBehavior => 'MATCH', # values: MATCH, NO_MATCH
165 HeaderName => 'MyForwardedIPHeaderName', # min: 1, max: 255
166 Position => 'FIRST', # values: FIRST, LAST, ANY
167  
168 }, # OPTIONAL
169 }, # OPTIONAL
170 LabelMatchStatement => {
171 Key => 'MyLabelMatchKey', # min: 1, max: 1024
172 Scope => 'LABEL', # values: LABEL, NAMESPACE
173  
174 }, # OPTIONAL
175 ManagedRuleGroupStatement => {
176 Name => 'MyEntityName', # min: 1, max: 128; OPTIONAL
177 VendorName => 'MyVendorName', # min: 1, max: 128
178 ExcludedRules => [
179 {
180 Name => 'MyEntityName', # min: 1, max: 128; OPTIONAL
181  
182 },
183 ...
184 ], # OPTIONAL
185 ScopeDownStatement => <Statement>,
186 }, # OPTIONAL
187 NotStatement => {
188 Statement => <Statement>,
189  
190 }, # OPTIONAL
191 OrStatement => {
192 Statements => [ <Statement>, ... ],
193  
194 }, # OPTIONAL
195 RateBasedStatement => {
196 AggregateKeyType => 'IP', # values: IP, FORWARDED_IP
197 Limit => 1, # min: 100, max: 2000000000
198 ForwardedIPConfig => {
199 FallbackBehavior => 'MATCH', # values: MATCH, NO_MATCH
200 HeaderName => 'MyForwardedIPHeaderName', # min: 1, max: 255
201  
202 }, # OPTIONAL
203 ScopeDownStatement => <Statement>,
204 }, # OPTIONAL
205 RegexPatternSetReferenceStatement => {
206 ARN => 'MyResourceArn', # min: 20, max: 2048
207 FieldToMatch => {
208 AllQueryArguments => {
209  
210 }, # OPTIONAL
211 Body => {
212  
213 }, # OPTIONAL
214 JsonBody => {
215 MatchPattern => {
216 All => {
217  
218 }, # OPTIONAL
219 IncludedPaths => [
220 'MyJsonPointerPath', ... # min: 1, max: 512
221 ], # min: 1; OPTIONAL
222 },
223 MatchScope => 'ALL', # values: ALL, KEY, VALUE
224 InvalidFallbackBehavior => 'MATCH'
225 , # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL
226 }, # OPTIONAL
227 Method => {
228  
229 }, # OPTIONAL
230 QueryString => {
231  
232 }, # OPTIONAL
233 SingleHeader => {
234 Name => 'MyFieldToMatchData', # min: 1, max: 64
235  
236 }, # OPTIONAL
237 SingleQueryArgument => {
238 Name => 'MyFieldToMatchData', # min: 1, max: 64
239  
240 }, # OPTIONAL
241 UriPath => {
242  
243 }, # OPTIONAL
244 },
245 TextTransformations => [
246 {
247 Priority => 1,
248 Type => 'NONE'
249 , # values: 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
250  
251 },
252 ...
253 ], # min: 1
254  
255 }, # OPTIONAL
256 RuleGroupReferenceStatement => {
257 ARN => 'MyResourceArn', # min: 20, max: 2048
258 ExcludedRules => [
259 {
260 Name => 'MyEntityName', # min: 1, max: 128; OPTIONAL
261  
262 },
263 ...
264 ], # OPTIONAL
265 }, # OPTIONAL
266 SizeConstraintStatement => {
267 ComparisonOperator => 'EQ', # values: EQ, NE, LE, LT, GE, GT
268 FieldToMatch => {
269 AllQueryArguments => {
270  
271 }, # OPTIONAL
272 Body => {
273  
274 }, # OPTIONAL
275 JsonBody => {
276 MatchPattern => {
277 All => {
278  
279 }, # OPTIONAL
280 IncludedPaths => [
281 'MyJsonPointerPath', ... # min: 1, max: 512
282 ], # min: 1; OPTIONAL
283 },
284 MatchScope => 'ALL', # values: ALL, KEY, VALUE
285 InvalidFallbackBehavior => 'MATCH'
286 , # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL
287 }, # OPTIONAL
288 Method => {
289  
290 }, # OPTIONAL
291 QueryString => {
292  
293 }, # OPTIONAL
294 SingleHeader => {
295 Name => 'MyFieldToMatchData', # min: 1, max: 64
296  
297 }, # OPTIONAL
298 SingleQueryArgument => {
299 Name => 'MyFieldToMatchData', # min: 1, max: 64
300  
301 }, # OPTIONAL
302 UriPath => {
303  
304 }, # OPTIONAL
305 },
306 Size => 1, # max: 21474836480
307 TextTransformations => [
308 {
309 Priority => 1,
310 Type => 'NONE'
311 , # values: 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
312  
313 },
314 ...
315 ], # min: 1
316  
317 }, # OPTIONAL
318 SqliMatchStatement => {
319 FieldToMatch => {
320 AllQueryArguments => {
321  
322 }, # OPTIONAL
323 Body => {
324  
325 }, # OPTIONAL
326 JsonBody => {
327 MatchPattern => {
328 All => {
329  
330 }, # OPTIONAL
331 IncludedPaths => [
332 'MyJsonPointerPath', ... # min: 1, max: 512
333 ], # min: 1; OPTIONAL
334 },
335 MatchScope => 'ALL', # values: ALL, KEY, VALUE
336 InvalidFallbackBehavior => 'MATCH'
337 , # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL
338 }, # OPTIONAL
339 Method => {
340  
341 }, # OPTIONAL
342 QueryString => {
343  
344 }, # OPTIONAL
345 SingleHeader => {
346 Name => 'MyFieldToMatchData', # min: 1, max: 64
347  
348 }, # OPTIONAL
349 SingleQueryArgument => {
350 Name => 'MyFieldToMatchData', # min: 1, max: 64
351  
352 }, # OPTIONAL
353 UriPath => {
354  
355 }, # OPTIONAL
356 },
357 TextTransformations => [
358 {
359 Priority => 1,
360 Type => 'NONE'
361 , # values: 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
362  
363 },
364 ...
365 ], # min: 1
366  
367 }, # OPTIONAL
368 XssMatchStatement => {
369 FieldToMatch => {
370 AllQueryArguments => {
371  
372 }, # OPTIONAL
373 Body => {
374  
375 }, # OPTIONAL
376 JsonBody => {
377 MatchPattern => {
378 All => {
379  
380 }, # OPTIONAL
381 IncludedPaths => [
382 'MyJsonPointerPath', ... # min: 1, max: 512
383 ], # min: 1; OPTIONAL
384 },
385 MatchScope => 'ALL', # values: ALL, KEY, VALUE
386 InvalidFallbackBehavior => 'MATCH'
387 , # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL
388 }, # OPTIONAL
389 Method => {
390  
391 }, # OPTIONAL
392 QueryString => {
393  
394 }, # OPTIONAL
395 SingleHeader => {
396 Name => 'MyFieldToMatchData', # min: 1, max: 64
397  
398 }, # OPTIONAL
399 SingleQueryArgument => {
400 Name => 'MyFieldToMatchData', # min: 1, max: 64
401  
402 }, # OPTIONAL
403 UriPath => {
404  
405 }, # OPTIONAL
406 },
407 TextTransformations => [
408 {
409 Priority => 1,
410 Type => 'NONE'
411 , # values: 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
412  
413 },
414 ...
415 ], # min: 1
416  
417 }, # OPTIONAL
418 },
419 VisibilityConfig => {
420 CloudWatchMetricsEnabled => 1,
421 MetricName => 'MyMetricName', # min: 1, max: 255
422 SampledRequestsEnabled => 1,
423  
424 },
425 Action => {
426 Allow => {
427 CustomRequestHandling => {
428 InsertHeaders => [
429 {
430 Name => 'MyCustomHTTPHeaderName', # min: 1, max: 64
431 Value => 'MyCustomHTTPHeaderValue', # min: 1, max: 255
432  
433 },
434 ...
435 ], # min: 1
436  
437 }, # OPTIONAL
438 }, # OPTIONAL
439 Block => {
440 CustomResponse => {
441 ResponseCode => 1, # min: 200, max: 600
442 CustomResponseBodyKey =>
443 'MyEntityName', # min: 1, max: 128; OPTIONAL
444 ResponseHeaders => [
445 {
446 Name => 'MyCustomHTTPHeaderName', # min: 1, max: 64
447 Value => 'MyCustomHTTPHeaderValue', # min: 1, max: 255
448  
449 },
450 ...
451 ], # min: 1
452 }, # OPTIONAL
453 }, # OPTIONAL
454 Count => {
455 CustomRequestHandling => {
456 InsertHeaders => [
457 {
458 Name => 'MyCustomHTTPHeaderName', # min: 1, max: 64
459 Value => 'MyCustomHTTPHeaderValue', # min: 1, max: 255
460  
461 },
462 ...
463 ], # min: 1
464  
465 }, # OPTIONAL
466 }, # OPTIONAL
467 }, # OPTIONAL
468 OverrideAction => {
469 Count => {
470 CustomRequestHandling => {
471 InsertHeaders => [
472 {
473 Name => 'MyCustomHTTPHeaderName', # min: 1, max: 64
474 Value => 'MyCustomHTTPHeaderValue', # min: 1, max: 255
475  
476 },
477 ...
478 ], # min: 1
479  
480 }, # OPTIONAL
481 }, # OPTIONAL
482 None => {
483  
484 }, # OPTIONAL
485 }, # OPTIONAL
486 RuleLabels => [
487 {
488 Name => 'MyLabelName', # min: 1, max: 1024
489  
490 },
491 ...
492 ], # OPTIONAL
493 },
494 ...
495 ], # OPTIONAL
496 );
497  
498 # Results:
499 my $NextLockToken = $UpdateWebACLResponse->NextLockToken;
500  
501 # Returns a L<Paws::WAFV2::UpdateWebACLResponse> object.
502  
503 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
504 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/wafv2/UpdateWebACL>
505  
506 =head1 ATTRIBUTES
507  
508  
509 =head2 CustomResponseBodies => L<Paws::WAFV2::CustomResponseBodies>
510  
511 A map of custom response keys and content bodies. When you create a
512 rule with a block action, you can send a custom response to the web
513 request. You define these for the web ACL, and then use them in the
514 rules and default actions that you define in the web ACL.
515  
516 For information about customizing web requests and responses, see
517 Customizing web requests and responses in WAF
518 (https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html)
519 in the WAF Developer Guide
520 (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html).
521  
522 For information about the limits on count and size for custom request
523 and response settings, see WAF quotas
524 (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) in
525 the WAF Developer Guide
526 (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html).
527  
528  
529  
530 =head2 B<REQUIRED> DefaultAction => L<Paws::WAFV2::DefaultAction>
531  
532 The action to perform if none of the C<Rules> contained in the
533 C<WebACL> match.
534  
535  
536  
537 =head2 Description => Str
538  
539 A description of the web ACL that helps with identification.
540  
541  
542  
543 =head2 B<REQUIRED> Id => Str
544  
545 The unique identifier for the web ACL. This ID is returned in the
546 responses to create and list commands. You provide it to operations
547 like update and delete.
548  
549  
550  
551 =head2 B<REQUIRED> LockToken => Str
552  
553 A token used for optimistic locking. WAF returns a token to your get
554 and list requests, to mark the state of the entity at the time of the
555 request. To make changes to the entity associated with the token, you
556 provide the token to operations like update and delete. WAF uses the
557 token to ensure that no changes have been made to the entity since you
558 last retrieved it. If a change has been made, the update fails with a
559 C<WAFOptimisticLockException>. If this happens, perform another get,
560 and use the new token returned by that operation.
561  
562  
563  
564 =head2 B<REQUIRED> Name => Str
565  
566 The name of the web ACL. You cannot change the name of a web ACL after
567 you create it.
568  
569  
570  
571 =head2 Rules => ArrayRef[L<Paws::WAFV2::Rule>]
572  
573 The Rule statements used to identify the web requests that you want to
574 allow, block, or count. Each rule includes one top-level statement that
575 WAF uses to identify matching web requests, and parameters that govern
576 how WAF handles them.
577  
578  
579  
580 =head2 B<REQUIRED> Scope => Str
581  
582 Specifies whether this is for an Amazon CloudFront distribution or for
583 a regional application. A regional application can be an Application
584 Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
585 GraphQL API.
586  
587 To work with CloudFront, you must also specify the Region US East (N.
588 Virginia) as follows:
589  
590 =over
591  
592 =item *
593  
594 CLI - Specify the Region when you use the CloudFront scope:
595 C<--scope=CLOUDFRONT --region=us-east-1>.
596  
597 =item *
598  
599 API and SDKs - For all calls, use the Region endpoint us-east-1.
600  
601 =back
602  
603  
604 Valid values are: C<"CLOUDFRONT">, C<"REGIONAL">
605  
606 =head2 B<REQUIRED> VisibilityConfig => L<Paws::WAFV2::VisibilityConfig>
607  
608 Defines and enables Amazon CloudWatch metrics and web request sample
609 collection.
610  
611  
612  
613  
614 =head1 SEE ALSO
615  
616 This class forms part of L<Paws>, documenting arguments for method UpdateWebACL in L<Paws::WAFV2>
617  
618 =head1 BUGS and CONTRIBUTIONS
619  
620 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
621  
622 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
623  
624 =cut
625