File Coverage

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