blib/lib/Paws/WAFRegional/RuleGroupUpdate.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::WAFRegional::RuleGroupUpdate;
3 use Moose;
4 has Action => (is => 'ro', isa => 'Str', required => 1);
5 has ActivatedRule => (is => 'ro', isa => 'Paws::WAFRegional::ActivatedRule', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::WAFRegional::RuleGroupUpdate
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::WAFRegional::RuleGroupUpdate object:
25  
26 $service_obj->Method(Att1 => { Action => $value, ..., ActivatedRule => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::WAFRegional::RuleGroupUpdate object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Action
34  
35 =head1 DESCRIPTION
36  
37 This is B<AWS WAF Classic> documentation. For more information, see AWS
38 WAF Classic
39 (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html)
40 in the developer guide.
41  
42 B<For the latest version of AWS WAF>, use the AWS WAFV2 API and see the
43 AWS WAF Developer Guide
44 (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html).
45 With the latest version, AWS WAF has a single set of endpoints for
46 regional and global use.
47  
48 Specifies an C<ActivatedRule> and indicates whether you want to add it
49 to a C<RuleGroup> or delete it from a C<RuleGroup>.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> Action => Str
55  
56 Specify C<INSERT> to add an C<ActivatedRule> to a C<RuleGroup>. Use
57 C<DELETE> to remove an C<ActivatedRule> from a C<RuleGroup>.
58  
59  
60 =head2 B<REQUIRED> ActivatedRule => L<Paws::WAFRegional::ActivatedRule>
61  
62 The C<ActivatedRule> object specifies a C<Rule> that you want to insert
63 or delete, the priority of the C<Rule> in the C<WebACL>, and the action
64 that you want AWS WAF to take when a web request matches the C<Rule>
65 (C<ALLOW>, C<BLOCK>, or C<COUNT>).
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut
80