File Coverage

blib/lib/Paws/EC2/DescribeNetworkInterfaces.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeNetworkInterfaces;
3 1     1   315 use Moose;
  1     1   2  
  1         7  
  1         526  
  1         3  
  1         9  
4             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'filter' );
6             has NetworkInterfaceIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'NetworkInterfaceId' );
7              
8 1     1   5422 use MooseX::ClassAttribute;
  1     1   2  
  1         7  
  1         6274  
  1         5  
  1         9  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeNetworkInterfaces');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeNetworkInterfacesResult');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::EC2::DescribeNetworkInterfaces - Arguments for method DescribeNetworkInterfaces on Paws::EC2
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method DescribeNetworkInterfaces on the
24             Amazon Elastic Compute Cloud service. Use the attributes of this class
25             as arguments to method DescribeNetworkInterfaces.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeNetworkInterfaces.
28              
29             As an example:
30              
31             $service_obj->DescribeNetworkInterfaces(Att1 => $value1, Att2 => $value2, ...);
32              
33             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 DryRun => Bool
39              
40             Checks whether you have the required permissions for the action,
41             without actually making the request, and provides an error response. If
42             you have the required permissions, the error response is
43             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
44              
45              
46              
47             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
48              
49             One or more filters.
50              
51             =over
52              
53             =item *
54              
55             C<addresses.private-ip-address> - The private IPv4 addresses associated
56             with the network interface.
57              
58             =item *
59              
60             C<addresses.primary> - Whether the private IPv4 address is the primary
61             IP address associated with the network interface.
62              
63             =item *
64              
65             C<addresses.association.public-ip> - The association ID returned when
66             the network interface was associated with the Elastic IP address
67             (IPv4).
68              
69             =item *
70              
71             C<addresses.association.owner-id> - The owner ID of the addresses
72             associated with the network interface.
73              
74             =item *
75              
76             C<association.association-id> - The association ID returned when the
77             network interface was associated with an IPv4 address.
78              
79             =item *
80              
81             C<association.allocation-id> - The allocation ID returned when you
82             allocated the Elastic IP address (IPv4) for your network interface.
83              
84             =item *
85              
86             C<association.ip-owner-id> - The owner of the Elastic IP address (IPv4)
87             associated with the network interface.
88              
89             =item *
90              
91             C<association.public-ip> - The address of the Elastic IP address (IPv4)
92             bound to the network interface.
93              
94             =item *
95              
96             C<association.public-dns-name> - The public DNS name for the network
97             interface (IPv4).
98              
99             =item *
100              
101             C<attachment.attachment-id> - The ID of the interface attachment.
102              
103             =item *
104              
105             C<attachment.attach.time> - The time that the network interface was
106             attached to an instance.
107              
108             =item *
109              
110             C<attachment.delete-on-termination> - Indicates whether the attachment
111             is deleted when an instance is terminated.
112              
113             =item *
114              
115             C<attachment.device-index> - The device index to which the network
116             interface is attached.
117              
118             =item *
119              
120             C<attachment.instance-id> - The ID of the instance to which the network
121             interface is attached.
122              
123             =item *
124              
125             C<attachment.instance-owner-id> - The owner ID of the instance to which
126             the network interface is attached.
127              
128             =item *
129              
130             C<attachment.nat-gateway-id> - The ID of the NAT gateway to which the
131             network interface is attached.
132              
133             =item *
134              
135             C<attachment.status> - The status of the attachment (C<attaching> |
136             C<attached> | C<detaching> | C<detached>).
137              
138             =item *
139              
140             C<availability-zone> - The Availability Zone of the network interface.
141              
142             =item *
143              
144             C<description> - The description of the network interface.
145              
146             =item *
147              
148             C<group-id> - The ID of a security group associated with the network
149             interface.
150              
151             =item *
152              
153             C<group-name> - The name of a security group associated with the
154             network interface.
155              
156             =item *
157              
158             C<ipv6-addresses.ipv6-address> - An IPv6 address associated with the
159             network interface.
160              
161             =item *
162              
163             C<mac-address> - The MAC address of the network interface.
164              
165             =item *
166              
167             C<network-interface-id> - The ID of the network interface.
168              
169             =item *
170              
171             C<owner-id> - The AWS account ID of the network interface owner.
172              
173             =item *
174              
175             C<private-ip-address> - The private IPv4 address or addresses of the
176             network interface.
177              
178             =item *
179              
180             C<private-dns-name> - The private DNS name of the network interface
181             (IPv4).
182              
183             =item *
184              
185             C<requester-id> - The ID of the entity that launched the instance on
186             your behalf (for example, AWS Management Console, Auto Scaling, and so
187             on).
188              
189             =item *
190              
191             C<requester-managed> - Indicates whether the network interface is being
192             managed by an AWS service (for example, AWS Management Console, Auto
193             Scaling, and so on).
194              
195             =item *
196              
197             C<source-desk-check> - Indicates whether the network interface performs
198             source/destination checking. A value of C<true> means checking is
199             enabled, and C<false> means checking is disabled. The value must be
200             C<false> for the network interface to perform network address
201             translation (NAT) in your VPC.
202              
203             =item *
204              
205             C<status> - The status of the network interface. If the network
206             interface is not attached to an instance, the status is C<available>;
207             if a network interface is attached to an instance the status is
208             C<in-use>.
209              
210             =item *
211              
212             C<subnet-id> - The ID of the subnet for the network interface.
213              
214             =item *
215              
216             C<tag>:I<key>=I<value> - The key/value combination of a tag assigned to
217             the resource. Specify the key of the tag in the filter name and the
218             value of the tag in the filter value. For example, for the tag
219             Purpose=X, specify C<tag:Purpose> for the filter name and C<X> for the
220             filter value.
221              
222             =item *
223              
224             C<tag-key> - The key of a tag assigned to the resource. This filter is
225             independent of the C<tag-value> filter. For example, if you use both
226             the filter "tag-key=Purpose" and the filter "tag-value=X", you get any
227             resources assigned both the tag key Purpose (regardless of what the
228             tag's value is), and the tag value X (regardless of what the tag's key
229             is). If you want to list only resources where Purpose is X, see the
230             C<tag>:I<key>=I<value> filter.
231              
232             =item *
233              
234             C<tag-value> - The value of a tag assigned to the resource. This filter
235             is independent of the C<tag-key> filter.
236              
237             =item *
238              
239             C<vpc-id> - The ID of the VPC for the network interface.
240              
241             =back
242              
243              
244              
245              
246             =head2 NetworkInterfaceIds => ArrayRef[Str|Undef]
247              
248             One or more network interface IDs.
249              
250             Default: Describes all your network interfaces.
251              
252              
253              
254              
255             =head1 SEE ALSO
256              
257             This class forms part of L<Paws>, documenting arguments for method DescribeNetworkInterfaces in L<Paws::EC2>
258              
259             =head1 BUGS and CONTRIBUTIONS
260              
261             The source code is located here: https://github.com/pplu/aws-sdk-perl
262              
263             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
264              
265             =cut
266