File Coverage

blib/lib/Paws/EC2/ReservedInstances.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::ReservedInstances;
2 1     1   358 use Moose;
  1     1   3  
  1         5  
  1         472  
  1         2  
  1         8  
3             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4             has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']);
5             has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']);
6             has End => (is => 'ro', isa => 'Str', request_name => 'end', traits => ['NameInRequest']);
7             has FixedPrice => (is => 'ro', isa => 'Num', request_name => 'fixedPrice', traits => ['NameInRequest']);
8             has InstanceCount => (is => 'ro', isa => 'Int', request_name => 'instanceCount', traits => ['NameInRequest']);
9             has InstanceTenancy => (is => 'ro', isa => 'Str', request_name => 'instanceTenancy', traits => ['NameInRequest']);
10             has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
11             has OfferingClass => (is => 'ro', isa => 'Str', request_name => 'offeringClass', traits => ['NameInRequest']);
12             has OfferingType => (is => 'ro', isa => 'Str', request_name => 'offeringType', traits => ['NameInRequest']);
13             has ProductDescription => (is => 'ro', isa => 'Str', request_name => 'productDescription', traits => ['NameInRequest']);
14             has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::EC2::RecurringCharge]', request_name => 'recurringCharges', traits => ['NameInRequest']);
15             has ReservedInstancesId => (is => 'ro', isa => 'Str', request_name => 'reservedInstancesId', traits => ['NameInRequest']);
16             has Scope => (is => 'ro', isa => 'Str', request_name => 'scope', traits => ['NameInRequest']);
17             has Start => (is => 'ro', isa => 'Str', request_name => 'start', traits => ['NameInRequest']);
18             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
19             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
20             has UsagePrice => (is => 'ro', isa => 'Num', request_name => 'usagePrice', traits => ['NameInRequest']);
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::EC2::ReservedInstances
28              
29             =head1 USAGE
30              
31             This class represents one of two things:
32              
33             =head3 Arguments in a call to a service
34              
35             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36             Each attribute should be used as a named argument in the calls that expect this type of object.
37              
38             As an example, if Att1 is expected to be a Paws::EC2::ReservedInstances object:
39              
40             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., UsagePrice => $value });
41              
42             =head3 Results returned from an API call
43              
44             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ReservedInstances object:
45              
46             $result = $service_obj->Method(...);
47             $result->Att1->AvailabilityZone
48              
49             =head1 DESCRIPTION
50              
51             This class has no description
52              
53             =head1 ATTRIBUTES
54              
55              
56             =head2 AvailabilityZone => Str
57              
58             The Availability Zone in which the Reserved Instance can be used.
59              
60              
61             =head2 CurrencyCode => Str
62              
63             The currency of the Reserved Instance. It's specified using ISO 4217
64             standard currency codes. At this time, the only supported currency is
65             C<USD>.
66              
67              
68             =head2 Duration => Int
69              
70             The duration of the Reserved Instance, in seconds.
71              
72              
73             =head2 End => Str
74              
75             The time when the Reserved Instance expires.
76              
77              
78             =head2 FixedPrice => Num
79              
80             The purchase price of the Reserved Instance.
81              
82              
83             =head2 InstanceCount => Int
84              
85             The number of reservations purchased.
86              
87              
88             =head2 InstanceTenancy => Str
89              
90             The tenancy of the instance.
91              
92              
93             =head2 InstanceType => Str
94              
95             The instance type on which the Reserved Instance can be used.
96              
97              
98             =head2 OfferingClass => Str
99              
100             The offering class of the Reserved Instance.
101              
102              
103             =head2 OfferingType => Str
104              
105             The Reserved Instance offering type.
106              
107              
108             =head2 ProductDescription => Str
109              
110             The Reserved Instance product platform description.
111              
112              
113             =head2 RecurringCharges => ArrayRef[L<Paws::EC2::RecurringCharge>]
114              
115             The recurring charge tag assigned to the resource.
116              
117              
118             =head2 ReservedInstancesId => Str
119              
120             The ID of the Reserved Instance.
121              
122              
123             =head2 Scope => Str
124              
125             The scope of the Reserved Instance.
126              
127              
128             =head2 Start => Str
129              
130             The date and time the Reserved Instance started.
131              
132              
133             =head2 State => Str
134              
135             The state of the Reserved Instance purchase.
136              
137              
138             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
139              
140             Any tags assigned to the resource.
141              
142              
143             =head2 UsagePrice => Num
144              
145             The usage price of the Reserved Instance, per hour.
146              
147              
148              
149             =head1 SEE ALSO
150              
151             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
152              
153             =head1 BUGS and CONTRIBUTIONS
154              
155             The source code is located here: https://github.com/pplu/aws-sdk-perl
156              
157             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
158              
159             =cut