blib/lib/Paws/WAFV2/OverrideAction.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::WAFV2::OverrideAction;
3 use Moose;
4 has Count => (is => 'ro', isa => 'Paws::WAFV2::CountAction');
5 has None => (is => 'ro', isa => 'Paws::WAFV2::NoneAction');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::WAFV2::OverrideAction
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::WAFV2::OverrideAction object:
25  
26 $service_obj->Method(Att1 => { Count => $value, ..., None => $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::WAFV2::OverrideAction object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Count
34  
35 =head1 DESCRIPTION
36  
37 The override action to apply to the rules in a rule group. Used only
38 for rule statements that reference a rule group, like
39 C<RuleGroupReferenceStatement> and C<ManagedRuleGroupStatement>.
40  
41 Set the override action to none to leave the rule actions in effect.
42 Set it to count to only count matches, regardless of the rule action
43 settings.
44  
45 In a Rule, you must specify either this C<OverrideAction> setting or
46 the rule C<Action> setting, but not both:
47  
48 =over
49  
50 =item *
51  
52 If the rule statement references a rule group, use this override action
53 setting and not the action setting.
54  
55 =item *
56  
57 If the rule statement does not reference a rule group, use the rule
58 action setting and not this rule override action setting.
59  
60 =back
61  
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 Count => L<Paws::WAFV2::CountAction>
67  
68 Override the rule action setting to count.
69  
70  
71 =head2 None => L<Paws::WAFV2::NoneAction>
72  
73 Don't override the rule action setting.
74  
75  
76  
77 =head1 SEE ALSO
78  
79 This class forms part of L<Paws>, describing an object used in L<Paws::WAFV2>
80  
81 =head1 BUGS and CONTRIBUTIONS
82  
83 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
84  
85 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
86  
87 =cut
88