| 1 | package Paws::EC2::IpPermission; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | has FromPort => (is => 'ro', isa => 'Int', request_name => 'fromPort', traits => ['NameInRequest']); | |
| 4 | 1 | has IpProtocol => (is => 'ro', isa => 'Str', request_name => 'ipProtocol', traits => ['NameInRequest']); | |
| 5 | 1 | has IpRanges => (is => 'ro', isa => 'ArrayRef[Paws::EC2::IpRange]', request_name => 'ipRanges', traits => ['NameInRequest']); | |
| 6 | 1 | has Ipv6Ranges => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Ipv6Range]', request_name => 'ipv6Ranges', traits => ['NameInRequest']); | |
| 7 | 1 | has PrefixListIds => (is => 'ro', isa => 'ArrayRef[Paws::EC2::PrefixListId]', request_name => 'prefixListIds', traits => ['NameInRequest']); | |
| 8 | 1 | has ToPort => (is => 'ro', isa => 'Int', request_name => 'toPort', traits => ['NameInRequest']); | |
| 9 | 1 | has UserIdGroupPairs => (is => 'ro', isa => 'ArrayRef[Paws::EC2::UserIdGroupPair]', request_name => 'groups', traits => ['NameInRequest']); | |
| 10 | 1 | 1; | |
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::EC2::IpPermission | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::EC2::IpPermission object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { FromPort => $value, ..., UserIdGroupPairs => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::IpPermission object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->FromPort | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | This class has no description | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 FromPort => Int | ||
| 46 | |||
| 47 | The start of port range for the TCP and UDP protocols, or an | ||
| 48 | ICMP/ICMPv6 type number. A value of C<-1> indicates all ICMP/ICMPv6 | ||
| 49 | types. If you specify all ICMP/ICMPv6 types, you must specify all | ||
| 50 | codes. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 IpProtocol => Str | ||
| 54 | |||
| 55 | The IP protocol name (C<tcp>, C<udp>, C<icmp>, C<icmpv6>) or number | ||
| 56 | (see Protocol Numbers | ||
| 57 | (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). | ||
| 58 | |||
| 59 | [VPC only] Use C<-1> to specify all protocols. When authorizing | ||
| 60 | security group rules, specifying C<-1> or a protocol number other than | ||
| 61 | C<tcp>, C<udp>, C<icmp>, or C<icmpv6> allows traffic on all ports, | ||
| 62 | regardless of any port range you specify. For C<tcp>, C<udp>, and | ||
| 63 | C<icmp>, you must specify a port range. For C<icmpv6>, the port range | ||
| 64 | is optional; if you omit the port range, traffic for all types and | ||
| 65 | codes is allowed. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 IpRanges => ArrayRef[L<Paws::EC2::IpRange>] | ||
| 69 | |||
| 70 | The IPv4 ranges. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 Ipv6Ranges => ArrayRef[L<Paws::EC2::Ipv6Range>] | ||
| 74 | |||
| 75 | [VPC only] The IPv6 ranges. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 PrefixListIds => ArrayRef[L<Paws::EC2::PrefixListId>] | ||
| 79 | |||
| 80 | [VPC only] The prefix list IDs. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 ToPort => Int | ||
| 84 | |||
| 85 | The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 | ||
| 86 | code. A value of C<-1> indicates all ICMP/ICMPv6 codes. If you specify | ||
| 87 | all ICMP/ICMPv6 types, you must specify all codes. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 UserIdGroupPairs => ArrayRef[L<Paws::EC2::UserIdGroupPair>] | ||
| 91 | |||
| 92 | The security group and AWS account ID pairs. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||