blib/lib/Paws/WAF/RuleSummary.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::WAF::RuleSummary;
3 use Moose;
4 has Name => (is => 'ro', isa => 'Str', required => 1);
5 has RuleId => (is => 'ro', isa => 'Str', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::WAF::RuleSummary
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::WAF::RuleSummary object:
25  
26 $service_obj->Method(Att1 => { Name => $value, ..., RuleId => $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::WAF::RuleSummary object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Name
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 Contains the identifier and the friendly name or description of the
49 C<Rule>.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> Name => Str
55  
56 A friendly name or description of the Rule. You can't change the name
57 of a C<Rule> after you create it.
58  
59  
60 =head2 B<REQUIRED> RuleId => Str
61  
62 A unique identifier for a C<Rule>. You use C<RuleId> to get more
63 information about a C<Rule> (see GetRule), update a C<Rule> (see
64 UpdateRule), insert a C<Rule> into a C<WebACL> or delete one from a
65 C<WebACL> (see UpdateWebACL), or delete a C<Rule> from AWS WAF (see
66 DeleteRule).
67  
68 C<RuleId> is returned by CreateRule and by ListRules.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::WAF>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83