File Coverage

blib/lib/Paws/WAF/SizeConstraintSet.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::WAF::SizeConstraintSet;
2 1     1   404 use Moose;
  1         4  
  1         8  
3             has Name => (is => 'ro', isa => 'Str');
4             has SizeConstraints => (is => 'ro', isa => 'ArrayRef[Paws::WAF::SizeConstraint]', required => 1);
5             has SizeConstraintSetId => (is => 'ro', isa => 'Str', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::WAF::SizeConstraintSet
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::WAF::SizeConstraintSet object:
24              
25             $service_obj->Method(Att1 => { Name => $value, ..., SizeConstraintSetId => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::WAF::SizeConstraintSet object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Name
33              
34             =head1 DESCRIPTION
35              
36             A complex type that contains C<SizeConstraint> objects, which specify
37             the parts of web requests that you want AWS WAF to inspect the size of.
38             If a C<SizeConstraintSet> contains more than one C<SizeConstraint>
39             object, a request only needs to match one constraint to be considered a
40             match.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Name => Str
46              
47             The name, if any, of the C<SizeConstraintSet>.
48              
49              
50             =head2 B<REQUIRED> SizeConstraints => ArrayRef[L<Paws::WAF::SizeConstraint>]
51              
52             Specifies the parts of web requests that you want to inspect the size
53             of.
54              
55              
56             =head2 B<REQUIRED> SizeConstraintSetId => Str
57              
58             A unique identifier for a C<SizeConstraintSet>. You use
59             C<SizeConstraintSetId> to get information about a C<SizeConstraintSet>
60             (see GetSizeConstraintSet), update a C<SizeConstraintSet> (see
61             UpdateSizeConstraintSet), insert a C<SizeConstraintSet> into a C<Rule>
62             or delete one from a C<Rule> (see UpdateRule), and delete a
63             C<SizeConstraintSet> from AWS WAF (see DeleteSizeConstraintSet).
64              
65             C<SizeConstraintSetId> is returned by CreateSizeConstraintSet and by
66             ListSizeConstraintSets.
67              
68              
69              
70             =head1 SEE ALSO
71              
72             This class forms part of L<Paws>, describing an object used in L<Paws::WAF>
73              
74             =head1 BUGS and CONTRIBUTIONS
75              
76             The source code is located here: https://github.com/pplu/aws-sdk-perl
77              
78             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
79              
80             =cut
81