File Coverage

blib/lib/Paws/EC2/NetworkInterface.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::NetworkInterface;
2 1     1   471 use Moose;
  1     1   2  
  1         6  
  1         781  
  1         3  
  1         11  
3             has Association => (is => 'ro', isa => 'Paws::EC2::NetworkInterfaceAssociation', request_name => 'association', traits => ['NameInRequest']);
4             has Attachment => (is => 'ro', isa => 'Paws::EC2::NetworkInterfaceAttachment', request_name => 'attachment', traits => ['NameInRequest']);
5             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
6             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
7             has Groups => (is => 'ro', isa => 'ArrayRef[Paws::EC2::GroupIdentifier]', request_name => 'groupSet', traits => ['NameInRequest']);
8             has InterfaceType => (is => 'ro', isa => 'Str', request_name => 'interfaceType', traits => ['NameInRequest']);
9             has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::NetworkInterfaceIpv6Address]', request_name => 'ipv6AddressesSet', traits => ['NameInRequest']);
10             has MacAddress => (is => 'ro', isa => 'Str', request_name => 'macAddress', traits => ['NameInRequest']);
11             has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
12             has OwnerId => (is => 'ro', isa => 'Str', request_name => 'ownerId', traits => ['NameInRequest']);
13             has PrivateDnsName => (is => 'ro', isa => 'Str', request_name => 'privateDnsName', traits => ['NameInRequest']);
14             has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
15             has PrivateIpAddresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::NetworkInterfacePrivateIpAddress]', request_name => 'privateIpAddressesSet', traits => ['NameInRequest']);
16             has RequesterId => (is => 'ro', isa => 'Str', request_name => 'requesterId', traits => ['NameInRequest']);
17             has RequesterManaged => (is => 'ro', isa => 'Bool', request_name => 'requesterManaged', traits => ['NameInRequest']);
18             has SourceDestCheck => (is => 'ro', isa => 'Bool', request_name => 'sourceDestCheck', traits => ['NameInRequest']);
19             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
20             has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
21             has TagSet => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
22             has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
23             1;
24              
25             ### main pod documentation begin ###
26              
27             =head1 NAME
28              
29             Paws::EC2::NetworkInterface
30              
31             =head1 USAGE
32              
33             This class represents one of two things:
34              
35             =head3 Arguments in a call to a service
36              
37             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
38             Each attribute should be used as a named argument in the calls that expect this type of object.
39              
40             As an example, if Att1 is expected to be a Paws::EC2::NetworkInterface object:
41              
42             $service_obj->Method(Att1 => { Association => $value, ..., VpcId => $value });
43              
44             =head3 Results returned from an API call
45              
46             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::NetworkInterface object:
47              
48             $result = $service_obj->Method(...);
49             $result->Att1->Association
50              
51             =head1 DESCRIPTION
52              
53             This class has no description
54              
55             =head1 ATTRIBUTES
56              
57              
58             =head2 Association => L<Paws::EC2::NetworkInterfaceAssociation>
59              
60             The association information for an Elastic IP address (IPv4) associated
61             with the network interface.
62              
63              
64             =head2 Attachment => L<Paws::EC2::NetworkInterfaceAttachment>
65              
66             The network interface attachment.
67              
68              
69             =head2 AvailabilityZone => Str
70              
71             The Availability Zone.
72              
73              
74             =head2 Description => Str
75              
76             A description.
77              
78              
79             =head2 Groups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
80              
81             Any security groups for the network interface.
82              
83              
84             =head2 InterfaceType => Str
85              
86             The type of interface.
87              
88              
89             =head2 Ipv6Addresses => ArrayRef[L<Paws::EC2::NetworkInterfaceIpv6Address>]
90              
91             The IPv6 addresses associated with the network interface.
92              
93              
94             =head2 MacAddress => Str
95              
96             The MAC address.
97              
98              
99             =head2 NetworkInterfaceId => Str
100              
101             The ID of the network interface.
102              
103              
104             =head2 OwnerId => Str
105              
106             The AWS account ID of the owner of the network interface.
107              
108              
109             =head2 PrivateDnsName => Str
110              
111             The private DNS name.
112              
113              
114             =head2 PrivateIpAddress => Str
115              
116             The IPv4 address of the network interface within the subnet.
117              
118              
119             =head2 PrivateIpAddresses => ArrayRef[L<Paws::EC2::NetworkInterfacePrivateIpAddress>]
120              
121             The private IPv4 addresses associated with the network interface.
122              
123              
124             =head2 RequesterId => Str
125              
126             The ID of the entity that launched the instance on your behalf (for
127             example, AWS Management Console or Auto Scaling).
128              
129              
130             =head2 RequesterManaged => Bool
131              
132             Indicates whether the network interface is being managed by AWS.
133              
134              
135             =head2 SourceDestCheck => Bool
136              
137             Indicates whether traffic to or from the instance is validated.
138              
139              
140             =head2 Status => Str
141              
142             The status of the network interface.
143              
144              
145             =head2 SubnetId => Str
146              
147             The ID of the subnet.
148              
149              
150             =head2 TagSet => ArrayRef[L<Paws::EC2::Tag>]
151              
152             Any tags assigned to the network interface.
153              
154              
155             =head2 VpcId => Str
156              
157             The ID of the VPC.
158              
159              
160              
161             =head1 SEE ALSO
162              
163             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
164              
165             =head1 BUGS and CONTRIBUTIONS
166              
167             The source code is located here: https://github.com/pplu/aws-sdk-perl
168              
169             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
170              
171             =cut