File Coverage

blib/lib/Paws/EC2/DescribeAddresses.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::DescribeAddresses;
3 1     1   461 use Moose;
  1     1   2  
  1         8  
  1         589  
  1         3  
  1         15  
4             has AllocationIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AllocationId' );
5             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
7             has PublicIps => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'PublicIp' );
8              
9 1     1   6392 use MooseX::ClassAttribute;
  1     1   3  
  1         10  
  1         6811  
  1         3  
  1         10  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeAddresses');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeAddressesResult');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::EC2::DescribeAddresses - Arguments for method DescribeAddresses on Paws::EC2
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method DescribeAddresses on the
25             Amazon Elastic Compute Cloud service. Use the attributes of this class
26             as arguments to method DescribeAddresses.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAddresses.
29              
30             As an example:
31              
32             $service_obj->DescribeAddresses(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 AllocationIds => ArrayRef[Str|Undef]
40              
41             [EC2-VPC] One or more allocation IDs.
42              
43             Default: Describes all your Elastic IP addresses.
44              
45              
46              
47             =head2 DryRun => Bool
48              
49             Checks whether you have the required permissions for the action,
50             without actually making the request, and provides an error response. If
51             you have the required permissions, the error response is
52             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
53              
54              
55              
56             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
57              
58             One or more filters. Filter names and values are case-sensitive.
59              
60             =over
61              
62             =item *
63              
64             C<allocation-id> - [EC2-VPC] The allocation ID for the address.
65              
66             =item *
67              
68             C<association-id> - [EC2-VPC] The association ID for the address.
69              
70             =item *
71              
72             C<domain> - Indicates whether the address is for use in EC2-Classic
73             (C<standard>) or in a VPC (C<vpc>).
74              
75             =item *
76              
77             C<instance-id> - The ID of the instance the address is associated with,
78             if any.
79              
80             =item *
81              
82             C<network-interface-id> - [EC2-VPC] The ID of the network interface
83             that the address is associated with, if any.
84              
85             =item *
86              
87             C<network-interface-owner-id> - The AWS account ID of the owner.
88              
89             =item *
90              
91             C<private-ip-address> - [EC2-VPC] The private IP address associated
92             with the Elastic IP address.
93              
94             =item *
95              
96             C<public-ip> - The Elastic IP address.
97              
98             =back
99              
100              
101              
102              
103             =head2 PublicIps => ArrayRef[Str|Undef]
104              
105             [EC2-Classic] One or more Elastic IP addresses.
106              
107             Default: Describes all your Elastic IP addresses.
108              
109              
110              
111              
112             =head1 SEE ALSO
113              
114             This class forms part of L<Paws>, documenting arguments for method DescribeAddresses in L<Paws::EC2>
115              
116             =head1 BUGS and CONTRIBUTIONS
117              
118             The source code is located here: https://github.com/pplu/aws-sdk-perl
119              
120             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
121              
122             =cut
123