line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::EC2::DescribeReservedInstances; |
3
|
1
|
|
|
1
|
|
714
|
use Moose; |
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
11
|
|
|
1
|
|
|
|
|
454
|
|
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
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 OfferingClass => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has OfferingType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'offeringType' ); |
8
|
|
|
|
|
|
|
has ReservedInstancesIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ReservedInstancesId' ); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
11144
|
use MooseX::ClassAttribute; |
|
1
|
|
|
1
|
|
8
|
|
|
1
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
6054
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeReservedInstances'); |
13
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeReservedInstancesResult'); |
14
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
### main pod documentation begin ### |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Paws::EC2::DescribeReservedInstances - Arguments for method DescribeReservedInstances on Paws::EC2 |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This class represents the parameters used for calling the method DescribeReservedInstances on the |
26
|
|
|
|
|
|
|
Amazon Elastic Compute Cloud service. Use the attributes of this class |
27
|
|
|
|
|
|
|
as arguments to method DescribeReservedInstances. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeReservedInstances. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
As an example: |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
$service_obj->DescribeReservedInstances(Att1 => $value1, Att2 => $value2, ...); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
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. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 DryRun => Bool |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Checks whether you have the required permissions for the action, |
43
|
|
|
|
|
|
|
without actually making the request, and provides an error response. If |
44
|
|
|
|
|
|
|
you have the required permissions, the error response is |
45
|
|
|
|
|
|
|
C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 Filters => ArrayRef[L<Paws::EC2::Filter>] |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
One or more filters. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=over |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
C<availability-zone> - The Availability Zone where the Reserved |
58
|
|
|
|
|
|
|
Instance can be used. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
C<duration> - The duration of the Reserved Instance (one year or three |
63
|
|
|
|
|
|
|
years), in seconds (C<31536000> | C<94608000>). |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
C<end> - The time when the Reserved Instance expires (for example, |
68
|
|
|
|
|
|
|
2015-08-07T11:54:42.000Z). |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=item * |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
C<fixed-price> - The purchase price of the Reserved Instance (for |
73
|
|
|
|
|
|
|
example, 9800.0). |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
C<instance-type> - The instance type that is covered by the |
78
|
|
|
|
|
|
|
reservation. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=item * |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
C<scope> - The scope of the Reserved Instance (C<Region> or |
83
|
|
|
|
|
|
|
C<Availability Zone>). |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item * |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
C<product-description> - The Reserved Instance product platform |
88
|
|
|
|
|
|
|
description. Instances that include C<(Amazon VPC)> in the product |
89
|
|
|
|
|
|
|
platform description will only be displayed to EC2-Classic account |
90
|
|
|
|
|
|
|
holders and are for use with Amazon VPC (C<Linux/UNIX> | C<Linux/UNIX |
91
|
|
|
|
|
|
|
(Amazon VPC)> | C<SUSE Linux> | C<SUSE Linux (Amazon VPC)> | C<Red Hat |
92
|
|
|
|
|
|
|
Enterprise Linux> | C<Red Hat Enterprise Linux (Amazon VPC)> | |
93
|
|
|
|
|
|
|
C<Windows> | C<Windows (Amazon VPC)> | C<Windows with SQL Server |
94
|
|
|
|
|
|
|
Standard> | C<Windows with SQL Server Standard (Amazon VPC)> | |
95
|
|
|
|
|
|
|
C<Windows with SQL Server Web> | C<Windows with SQL Server Web (Amazon |
96
|
|
|
|
|
|
|
VPC)> | C<Windows with SQL Server Enterprise> | C<Windows with SQL |
97
|
|
|
|
|
|
|
Server Enterprise (Amazon VPC)>). |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=item * |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
C<reserved-instances-id> - The ID of the Reserved Instance. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=item * |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
C<start> - The time at which the Reserved Instance purchase request was |
106
|
|
|
|
|
|
|
placed (for example, 2014-08-07T11:54:42.000Z). |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=item * |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
C<state> - The state of the Reserved Instance (C<payment-pending> | |
111
|
|
|
|
|
|
|
C<active> | C<payment-failed> | C<retired>). |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=item * |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
C<tag>:I<key>=I<value> - The key/value combination of a tag assigned to |
116
|
|
|
|
|
|
|
the resource. Specify the key of the tag in the filter name and the |
117
|
|
|
|
|
|
|
value of the tag in the filter value. For example, for the tag |
118
|
|
|
|
|
|
|
Purpose=X, specify C<tag:Purpose> for the filter name and C<X> for the |
119
|
|
|
|
|
|
|
filter value. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item * |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
C<tag-key> - The key of a tag assigned to the resource. This filter is |
124
|
|
|
|
|
|
|
independent of the C<tag-value> filter. For example, if you use both |
125
|
|
|
|
|
|
|
the filter "tag-key=Purpose" and the filter "tag-value=X", you get any |
126
|
|
|
|
|
|
|
resources assigned both the tag key Purpose (regardless of what the |
127
|
|
|
|
|
|
|
tag's value is), and the tag value X (regardless of what the tag's key |
128
|
|
|
|
|
|
|
is). If you want to list only resources where Purpose is X, see the |
129
|
|
|
|
|
|
|
C<tag>:I<key>=I<value> filter. |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=item * |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
C<tag-value> - The value of a tag assigned to the resource. This filter |
134
|
|
|
|
|
|
|
is independent of the C<tag-key> filter. |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=item * |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
C<usage-price> - The usage price of the Reserved Instance, per hour |
139
|
|
|
|
|
|
|
(for example, 0.84). |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=back |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 OfferingClass => Str |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Describes whether the Reserved Instance is Standard or Convertible. |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Valid values are: C<"standard">, C<"convertible"> |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 OfferingType => Str |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
The Reserved Instance offering type. If you are using tools that |
155
|
|
|
|
|
|
|
predate the 2011-11-01 API version, you only have access to the |
156
|
|
|
|
|
|
|
C<Medium Utilization> Reserved Instance offering type. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Valid values are: C<"Heavy Utilization">, C<"Medium Utilization">, C<"Light Utilization">, C<"No Upfront">, C<"Partial Upfront">, C<"All Upfront"> |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=head2 ReservedInstancesIds => ArrayRef[Str|Undef] |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
One or more Reserved Instance IDs. |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Default: Describes all your Reserved Instances, or only those otherwise |
165
|
|
|
|
|
|
|
specified. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head1 SEE ALSO |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method DescribeReservedInstances in L<Paws::EC2> |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=cut |
181
|
|
|
|
|
|
|
|