blib/lib/Paws/RedShift/ReservedNode.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RedShift/RecurringCharge.pm ↑ Summary blib/lib/Paws/RedShift/ReservedNodeOffering.pm »
1 # Generated by default/object.tt
2 package Paws::RedShift::ReservedNode;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has CurrencyCode => (is => 'ro', isa => 'Str');
5 1 has Duration => (is => 'ro', isa => 'Int');
6 1 has FixedPrice => (is => 'ro', isa => 'Num');
7 1 has NodeCount => (is => 'ro', isa => 'Int');
8 1 has NodeType => (is => 'ro', isa => 'Str');
9 1 has OfferingType => (is => 'ro', isa => 'Str');
10 1 has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
11 1 has ReservedNodeId => (is => 'ro', isa => 'Str');
12 1 has ReservedNodeOfferingId => (is => 'ro', isa => 'Str');
13 1 has ReservedNodeOfferingType => (is => 'ro', isa => 'Str');
14 1 has StartTime => (is => 'ro', isa => 'Str');
15 1 has State => (is => 'ro', isa => 'Str');
16 1 has UsagePrice => (is => 'ro', isa => 'Num');
17  
18 1 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::RedShift::ReservedNode
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::RedShift::ReservedNode object:
36  
37 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., UsagePrice => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::ReservedNode object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->CurrencyCode
45  
46 =head1 DESCRIPTION
47  
48 Describes a reserved node. You can call the
49 DescribeReservedNodeOfferings API to obtain the available reserved node
50 offerings.
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 CurrencyCode => Str
56  
57 The currency code for the reserved cluster.
58  
59  
60 =head2 Duration => Int
61  
62 The duration of the node reservation in seconds.
63  
64  
65 =head2 FixedPrice => Num
66  
67 The fixed cost Amazon Redshift charges you for this reserved node.
68  
69  
70 =head2 NodeCount => Int
71  
72 The number of reserved compute nodes.
73  
74  
75 =head2 NodeType => Str
76  
77 The node type of the reserved node.
78  
79  
80 =head2 OfferingType => Str
81  
82 The anticipated utilization of the reserved node, as defined in the
83 reserved node offering.
84  
85  
86 =head2 RecurringCharges => ArrayRef[L<Paws::RedShift::RecurringCharge>]
87  
88 The recurring charges for the reserved node.
89  
90  
91 =head2 ReservedNodeId => Str
92  
93 The unique identifier for the reservation.
94  
95  
96 =head2 ReservedNodeOfferingId => Str
97  
98 The identifier for the reserved node offering.
99  
100  
101 =head2 ReservedNodeOfferingType => Str
102  
103  
104  
105  
106 =head2 StartTime => Str
107  
108 The time the reservation started. You purchase a reserved node offering
109 for a duration. This is the start time of that duration.
110  
111  
112 =head2 State => Str
113  
114 The state of the reserved compute node.
115  
116 Possible Values:
117  
118 =over
119  
120 =item *
121  
122 pending-payment-This reserved node has recently been purchased, and the
123 sale has been approved, but payment has not yet been confirmed.
124  
125 =item *
126  
127 active-This reserved node is owned by the caller and is available for
128 use.
129  
130 =item *
131  
132 payment-failed-Payment failed for the purchase attempt.
133  
134 =item *
135  
136 retired-The reserved node is no longer available.
137  
138 =item *
139  
140 exchanging-The owner is exchanging the reserved node for another
141 reserved node.
142  
143 =back
144  
145  
146  
147 =head2 UsagePrice => Num
148  
149 The hourly rate Amazon Redshift charges you for this reserved node.
150  
151  
152  
153 =head1 SEE ALSO
154  
155 This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
156  
157 =head1 BUGS and CONTRIBUTIONS
158  
159 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
160  
161 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
162  
163 =cut
164  
« blib/lib/Paws/RedShift/RecurringCharge.pm ↑ Summary blib/lib/Paws/RedShift/ReservedNodeOffering.pm »