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

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 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::ManagedRuleGroupStatement;
3 use Moose;
4 has ExcludedRules => (is => 'ro', isa => 'ArrayRef[Paws::WAFV2::ExcludedRule]');
5 has Name => (is => 'ro', isa => 'Str', required => 1);
6 has ScopeDownStatement => (is => 'ro', isa => 'Paws::WAFV2::Statement');
7 has VendorName => (is => 'ro', isa => 'Str', required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::WAFV2::ManagedRuleGroupStatement
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::WAFV2::ManagedRuleGroupStatement object:
27  
28 $service_obj->Method(Att1 => { ExcludedRules => $value, ..., VendorName => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::WAFV2::ManagedRuleGroupStatement object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->ExcludedRules
36  
37 =head1 DESCRIPTION
38  
39 A rule statement used to run the rules that are defined in a managed
40 rule group. To use this, provide the vendor name and the name of the
41 rule group in this statement. You can retrieve the required names by
42 calling ListAvailableManagedRuleGroups.
43  
44 You cannot nest a C<ManagedRuleGroupStatement>, for example for use
45 inside a C<NotStatement> or C<OrStatement>. It can only be referenced
46 as a top-level statement within a rule.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ExcludedRules => ArrayRef[L<Paws::WAFV2::ExcludedRule>]
52  
53 The rules whose actions are set to C<COUNT> by the web ACL, regardless
54 of the action that is set on the rule. This effectively excludes the
55 rule from acting on web requests.
56  
57  
58 =head2 B<REQUIRED> Name => Str
59  
60 The name of the managed rule group. You use this, along with the vendor
61 name, to identify the rule group.
62  
63  
64 =head2 ScopeDownStatement => L<Paws::WAFV2::Statement>
65  
66 An optional nested statement that narrows the scope of the web requests
67 that are evaluated by the managed rule group. Requests are only
68 evaluated by the rule group if they match the scope-down statement. You
69 can use any nestable Statement in the scope-down statement, and you can
70 nest statements at any level, the same as you can for a rule statement.
71  
72  
73 =head2 B<REQUIRED> VendorName => Str
74  
75 The name of the managed rule group vendor. You use this, along with the
76 rule group name, to identify the rule group.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::WAFV2>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91