blib/lib/Paws/EC2/DescribeAddresses.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/DescribeAccountAttributesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeAddressesResult.pm »
1  
2 package Paws::EC2::DescribeAddresses;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has AllocationIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'AllocationId' );
5 1 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6 1 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
7 1 has PublicIps => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'PublicIp' );
8  
9 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeAddresses');
12 1 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeAddressesResult');
13 1 class_has _result_key => (isa => 'Str', is => 'ro');
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::EC2::DescribeAddresses - Arguments for method DescribeAddresses on L<Paws::EC2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeAddresses on the
25 L<Amazon Elastic Compute Cloud|Paws::EC2> 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 =head1 SYNOPSIS
31  
32 my $ec2 = Paws->service('EC2');
33 # To describe your Elastic IP addresses
34 # This example describes your Elastic IP addresses.
35 my $DescribeAddressesResult = $ec2->DescribeAddresses();
36  
37 # Results:
38 my $Addresses = $DescribeAddressesResult->Addresses;
39  
40 # Returns a L<Paws::EC2::DescribeAddressesResult> object.
41 # To describe your Elastic IP addresses for EC2-VPC
42 # This example describes your Elastic IP addresses for use with instances in a
43 # VPC.
44 my $DescribeAddressesResult = $ec2->DescribeAddresses(
45 'Filters' => [
46  
47 {
48 'Name' => 'domain',
49 'Values' => ['vpc']
50 }
51 ]
52 );
53  
54 # Results:
55 my $Addresses = $DescribeAddressesResult->Addresses;
56  
57 # Returns a L<Paws::EC2::DescribeAddressesResult> object.
58 # To describe your Elastic IP addresses for EC2-Classic
59 # This example describes your Elastic IP addresses for use with instances in
60 # EC2-Classic.
61 my $DescribeAddressesResult = $ec2->DescribeAddresses(
62 'Filters' => [
63  
64 {
65 'Name' => 'domain',
66 'Values' => ['standard']
67 }
68 ]
69 );
70  
71 # Results:
72 my $Addresses = $DescribeAddressesResult->Addresses;
73  
74 # Returns a L<Paws::EC2::DescribeAddressesResult> object.
75  
76 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.
77 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeAddresses>
78  
79 =head1 ATTRIBUTES
80  
81  
82 =head2 AllocationIds => ArrayRef[Str|Undef]
83  
84 [EC2-VPC] Information about the allocation IDs.
85  
86  
87  
88 =head2 DryRun => Bool
89  
90 Checks whether you have the required permissions for the action,
91 without actually making the request, and provides an error response. If
92 you have the required permissions, the error response is
93 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
94  
95  
96  
97 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
98  
99 One or more filters. Filter names and values are case-sensitive.
100  
101 =over
102  
103 =item *
104  
105 C<allocation-id> - [EC2-VPC] The allocation ID for the address.
106  
107 =item *
108  
109 C<association-id> - [EC2-VPC] The association ID for the address.
110  
111 =item *
112  
113 C<domain> - Indicates whether the address is for use in EC2-Classic
114 (C<standard>) or in a VPC (C<vpc>).
115  
116 =item *
117  
118 C<instance-id> - The ID of the instance the address is associated with,
119 if any.
120  
121 =item *
122  
123 C<network-border-group> - A unique set of Availability Zones, Local
124 Zones, or Wavelength Zones from where Amazon Web Services advertises IP
125 addresses.
126  
127 =item *
128  
129 C<network-interface-id> - [EC2-VPC] The ID of the network interface
130 that the address is associated with, if any.
131  
132 =item *
133  
134 C<network-interface-owner-id> - The account ID of the owner.
135  
136 =item *
137  
138 C<private-ip-address> - [EC2-VPC] The private IP address associated
139 with the Elastic IP address.
140  
141 =item *
142  
143 C<public-ip> - The Elastic IP address, or the carrier IP address.
144  
145 =item *
146  
147 C<tag>:E<lt>keyE<gt> - The key/value combination of a tag assigned to
148 the resource. Use the tag key in the filter name and the tag value as
149 the filter value. For example, to find all resources that have a tag
150 with the key C<Owner> and the value C<TeamA>, specify C<tag:Owner> for
151 the filter name and C<TeamA> for the filter value.
152  
153 =item *
154  
155 C<tag-key> - The key of a tag assigned to the resource. Use this filter
156 to find all resources assigned a tag with a specific key, regardless of
157 the tag value.
158  
159 =back
160  
161  
162  
163  
164 =head2 PublicIps => ArrayRef[Str|Undef]
165  
166 One or more Elastic IP addresses.
167  
168 Default: Describes all your Elastic IP addresses.
169  
170  
171  
172  
173 =head1 SEE ALSO
174  
175 This class forms part of L<Paws>, documenting arguments for method DescribeAddresses in L<Paws::EC2>
176  
177 =head1 BUGS and CONTRIBUTIONS
178  
179 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
180  
181 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
182  
183 =cut
184  
« blib/lib/Paws/EC2/DescribeAccountAttributesResult.pm ↑ Summary blib/lib/Paws/EC2/DescribeAddressesResult.pm »