blib/lib/Paws/EC2/PriceSchedule.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/PrefixListId.pm ↑ Summary blib/lib/Paws/EC2/PriceScheduleSpecification.pm »
1 package Paws::EC2::PriceSchedule;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has Active => (is => 'ro', isa => 'Bool', request_name => 'active', traits => ['NameInRequest']);
4 1 has CurrencyCode => (is => 'ro', isa => 'Str', request_name => 'currencyCode', traits => ['NameInRequest']);
5 1 has Price => (is => 'ro', isa => 'Num', request_name => 'price', traits => ['NameInRequest']);
6 1 has Term => (is => 'ro', isa => 'Int', request_name => 'term', traits => ['NameInRequest']);
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::EC2::PriceSchedule
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::EC2::PriceSchedule object:
25  
26 $service_obj->Method(Att1 => { Active => $value, ..., Term => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::PriceSchedule object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Active
34  
35 =head1 DESCRIPTION
36  
37 This class has no description
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 Active => Bool
43  
44 The current price schedule, as determined by the term remaining for the
45 Reserved Instance in the listing.
46  
47 A specific price schedule is always in effect, but only one price
48 schedule can be active at any time. Take, for example, a Reserved
49 Instance listing that has five months remaining in its term. When you
50 specify price schedules for five months and two months, this means that
51 schedule 1, covering the first three months of the remaining term, will
52 be active during months 5, 4, and 3. Then schedule 2, covering the last
53 two months of the term, will be active for months 2 and 1.
54  
55  
56 =head2 CurrencyCode => Str
57  
58 The currency for transacting the Reserved Instance resale. At this
59 time, the only supported currency is C<USD>.
60  
61  
62 =head2 Price => Num
63  
64 The fixed price for the term.
65  
66  
67 =head2 Term => Int
68  
69 The number of months remaining in the reservation. For example, 2 is
70 the second to the last month before the capacity reservation expires.
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
« blib/lib/Paws/EC2/PrefixListId.pm ↑ Summary blib/lib/Paws/EC2/PriceScheduleSpecification.pm »