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

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 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::IPSet;
3 use Moose;
4 has IPSetDescriptors => (is => 'ro', isa => 'ArrayRef[Paws::WAFRegional::IPSetDescriptor]', required => 1);
5 has IPSetId => (is => 'ro', isa => 'Str', required => 1);
6 has Name => (is => 'ro', isa => 'Str');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::WAFRegional::IPSet
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::WAFRegional::IPSet object:
26  
27 $service_obj->Method(Att1 => { IPSetDescriptors => $value, ..., Name => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::WAFRegional::IPSet object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->IPSetDescriptors
35  
36 =head1 DESCRIPTION
37  
38 This is B<AWS WAF Classic> documentation. For more information, see AWS
39 WAF Classic
40 (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html)
41 in the developer guide.
42  
43 B<For the latest version of AWS WAF>, use the AWS WAFV2 API and see the
44 AWS WAF Developer Guide
45 (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html).
46 With the latest version, AWS WAF has a single set of endpoints for
47 regional and global use.
48  
49 Contains one or more IP addresses or blocks of IP addresses specified
50 in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports
51 IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF
52 supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128.
53  
54 To specify an individual IP address, you specify the four-part IP
55 address followed by a C</32>, for example, 192.0.2.0/32. To block a
56 range of IP addresses, you can specify /8 or any range between /16
57 through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6).
58 For more information about CIDR notation, see the Wikipedia entry
59 Classless Inter-Domain Routing
60 (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 B<REQUIRED> IPSetDescriptors => ArrayRef[L<Paws::WAFRegional::IPSetDescriptor>]
66  
67 The IP address type (C<IPV4> or C<IPV6>) and the IP address range (in
68 CIDR notation) that web requests originate from. If the C<WebACL> is
69 associated with a CloudFront distribution and the viewer did not use an
70 HTTP proxy or a load balancer to send the request, this is the value of
71 the c-ip field in the CloudFront access logs.
72  
73  
74 =head2 B<REQUIRED> IPSetId => Str
75  
76 The C<IPSetId> for an C<IPSet>. You use C<IPSetId> to get information
77 about an C<IPSet> (see GetIPSet), update an C<IPSet> (see UpdateIPSet),
78 insert an C<IPSet> into a C<Rule> or delete one from a C<Rule> (see
79 UpdateRule), and delete an C<IPSet> from AWS WAF (see DeleteIPSet).
80  
81 C<IPSetId> is returned by CreateIPSet and by ListIPSets.
82  
83  
84 =head2 Name => Str
85  
86 A friendly name or description of the IPSet. You can't change the name
87 of an C<IPSet> after you create it.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102