File Coverage

blib/lib/Paws/EC2/StaleIpPermission.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::EC2::StaleIpPermission;
2 1     1   590 use Moose;
  1         3  
  1         8  
3             has FromPort => (is => 'ro', isa => 'Int', request_name => 'fromPort', traits => ['NameInRequest']);
4             has IpProtocol => (is => 'ro', isa => 'Str', request_name => 'ipProtocol', traits => ['NameInRequest']);
5             has IpRanges => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ipRanges', traits => ['NameInRequest']);
6             has PrefixListIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'prefixListIds', traits => ['NameInRequest']);
7             has ToPort => (is => 'ro', isa => 'Int', request_name => 'toPort', traits => ['NameInRequest']);
8             has UserIdGroupPairs => (is => 'ro', isa => 'ArrayRef[Paws::EC2::UserIdGroupPair]', request_name => 'groups', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::StaleIpPermission
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::EC2::StaleIpPermission object:
27              
28             $service_obj->Method(Att1 => { FromPort => $value, ..., UserIdGroupPairs => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::StaleIpPermission object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->FromPort
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 FromPort => Int
45              
46             The start of the port range for the TCP and UDP protocols, or an ICMP
47             type number. A value of C<-1> indicates all ICMP types.
48              
49              
50             =head2 IpProtocol => Str
51              
52             The IP protocol name (for C<tcp>, C<udp>, and C<icmp>) or number (see
53             Protocol Numbers).
54              
55              
56             =head2 IpRanges => ArrayRef[Str|Undef]
57              
58             One or more IP ranges. Not applicable for stale security group rules.
59              
60              
61             =head2 PrefixListIds => ArrayRef[Str|Undef]
62              
63             One or more prefix list IDs for an AWS service. Not applicable for
64             stale security group rules.
65              
66              
67             =head2 ToPort => Int
68              
69             The end of the port range for the TCP and UDP protocols, or an ICMP
70             type number. A value of C<-1> indicates all ICMP types.
71              
72              
73             =head2 UserIdGroupPairs => ArrayRef[L<Paws::EC2::UserIdGroupPair>]
74              
75             One or more security group pairs. Returns the ID of the referenced
76             security group and VPC, and the ID and status of the VPC peering
77             connection.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut