blib/lib/Paws/EC2/NetworkAclEntry.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/NetworkAclAssociation.pm ↑ Summary blib/lib/Paws/EC2/NetworkInterface.pm »
1 package Paws::EC2::NetworkAclEntry;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has CidrBlock => (is => 'ro', isa => 'Str', request_name => 'cidrBlock', traits => ['NameInRequest']);
4 1 has Egress => (is => 'ro', isa => 'Bool', request_name => 'egress', traits => ['NameInRequest']);
5 1 has IcmpTypeCode => (is => 'ro', isa => 'Paws::EC2::IcmpTypeCode', request_name => 'icmpTypeCode', traits => ['NameInRequest']);
6 1 has Ipv6CidrBlock => (is => 'ro', isa => 'Str', request_name => 'ipv6CidrBlock', traits => ['NameInRequest']);
7 1 has PortRange => (is => 'ro', isa => 'Paws::EC2::PortRange', request_name => 'portRange', traits => ['NameInRequest']);
8 1 has Protocol => (is => 'ro', isa => 'Str', request_name => 'protocol', traits => ['NameInRequest']);
9 1 has RuleAction => (is => 'ro', isa => 'Str', request_name => 'ruleAction', traits => ['NameInRequest']);
10 1 has RuleNumber => (is => 'ro', isa => 'Int', request_name => 'ruleNumber', traits => ['NameInRequest']);
11 1 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::EC2::NetworkAclEntry
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::EC2::NetworkAclEntry object:
29  
30 $service_obj->Method(Att1 => { CidrBlock => $value, ..., RuleNumber => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::NetworkAclEntry object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->CidrBlock
38  
39 =head1 DESCRIPTION
40  
41 This class has no description
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 CidrBlock => Str
47  
48 The IPv4 network range to allow or deny, in CIDR notation.
49  
50  
51 =head2 Egress => Bool
52  
53 Indicates whether the rule is an egress rule (applied to traffic
54 leaving the subnet).
55  
56  
57 =head2 IcmpTypeCode => L<Paws::EC2::IcmpTypeCode>
58  
59 ICMP protocol: The ICMP type and code.
60  
61  
62 =head2 Ipv6CidrBlock => Str
63  
64 The IPv6 network range to allow or deny, in CIDR notation.
65  
66  
67 =head2 PortRange => L<Paws::EC2::PortRange>
68  
69 TCP or UDP protocols: The range of ports the rule applies to.
70  
71  
72 =head2 Protocol => Str
73  
74 The protocol number. A value of "-1" means all protocols.
75  
76  
77 =head2 RuleAction => Str
78  
79 Indicates whether to allow or deny the traffic that matches the rule.
80  
81  
82 =head2 RuleNumber => Int
83  
84 The rule number for the entry. ACL entries are processed in ascending
85 order by rule number.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
« blib/lib/Paws/EC2/NetworkAclAssociation.pm ↑ Summary blib/lib/Paws/EC2/NetworkInterface.pm »