blib/lib/Paws/WAFRegional/IPSetDescriptor.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::WAFRegional::IPSetDescriptor;
3 use Moose;
4 has Type => (is => 'ro', isa => 'Str', required => 1);
5 has Value => (is => 'ro', isa => 'Str', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::WAFRegional::IPSetDescriptor
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::WAFRegional::IPSetDescriptor object:
25  
26 $service_obj->Method(Att1 => { Type => $value, ..., Value => $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::WAFRegional::IPSetDescriptor object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Type
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 Specifies the IP address type (C<IPV4> or C<IPV6>) and the IP address
49 range (in CIDR format) that web requests originate from.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> Type => Str
55  
56 Specify C<IPV4> or C<IPV6>.
57  
58  
59 =head2 B<REQUIRED> Value => Str
60  
61 Specify an IPv4 address by using CIDR notation. For example:
62  
63 =over
64  
65 =item *
66  
67 To configure AWS WAF to allow, block, or count requests that originated
68 from the IP address 192.0.2.44, specify C<192.0.2.44/32>.
69  
70 =item *
71  
72 To configure AWS WAF to allow, block, or count requests that originated
73 from IP addresses from 192.0.2.0 to 192.0.2.255, specify
74 C<192.0.2.0/24>.
75  
76 =back
77  
78 For more information about CIDR notation, see the Wikipedia entry
79 Classless Inter-Domain Routing
80 (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
81  
82 Specify an IPv6 address by using CIDR notation. For example:
83  
84 =over
85  
86 =item *
87  
88 To configure AWS WAF to allow, block, or count requests that originated
89 from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify
90 C<1111:0000:0000:0000:0000:0000:0000:0111/128>.
91  
92 =item *
93  
94 To configure AWS WAF to allow, block, or count requests that originated
95 from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to
96 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify
97 C<1111:0000:0000:0000:0000:0000:0000:0000/64>.
98  
99 =back
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115