File Coverage

blib/lib/Paws/WAFRegional/UpdateWebACL.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::WAFRegional::UpdateWebACL;
3 1     1   298 use Moose;
  1         15  
  1         11  
4             has ChangeToken => (is => 'ro', isa => 'Str', required => 1);
5             has DefaultAction => (is => 'ro', isa => 'Paws::WAFRegional::WafAction');
6             has Updates => (is => 'ro', isa => 'ArrayRef[Paws::WAFRegional::WebACLUpdate]');
7             has WebACLId => (is => 'ro', isa => 'Str', required => 1);
8              
9 1     1   5637 use MooseX::ClassAttribute;
  1         3  
  1         10  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateWebACL');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WAFRegional::UpdateWebACLResponse');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::WAFRegional::UpdateWebACL - Arguments for method UpdateWebACL on Paws::WAFRegional
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method UpdateWebACL on the
25             AWS WAF Regional service. Use the attributes of this class
26             as arguments to method UpdateWebACL.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateWebACL.
29              
30             As an example:
31              
32             $service_obj->UpdateWebACL(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> ChangeToken => Str
40              
41             The value returned by the most recent call to GetChangeToken.
42              
43              
44              
45             =head2 DefaultAction => L<Paws::WAFRegional::WafAction>
46              
47             A default action for the web ACL, either ALLOW or BLOCK. AWS WAF
48             performs the default action if a request doesn't match the criteria in
49             any of the rules in a web ACL.
50              
51              
52              
53             =head2 Updates => ArrayRef[L<Paws::WAFRegional::WebACLUpdate>]
54              
55             An array of updates to make to the WebACL.
56              
57             An array of C<WebACLUpdate> objects that you want to insert into or
58             delete from a WebACL. For more information, see the applicable data
59             types:
60              
61             =over
62              
63             =item *
64              
65             WebACLUpdate: Contains C<Action> and C<ActivatedRule>
66              
67             =item *
68              
69             ActivatedRule: Contains C<Action>, C<Priority>, C<RuleId>, and C<Type>
70              
71             =item *
72              
73             WafAction: Contains C<Type>
74              
75             =back
76              
77              
78              
79              
80             =head2 B<REQUIRED> WebACLId => Str
81              
82             The C<WebACLId> of the WebACL that you want to update. C<WebACLId> is
83             returned by CreateWebACL and by ListWebACLs.
84              
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, documenting arguments for method UpdateWebACL in L<Paws::WAFRegional>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99