blib/lib/Paws/RedShift/ReservedNodeOffering.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RedShift/ReservedNode.pm ↑ Summary blib/lib/Paws/RedShift/ReservedNodeOfferingsMessage.pm »
1 # Generated by default/object.tt
2 package Paws::RedShift::ReservedNodeOffering;
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 NodeType => (is => 'ro', isa => 'Str');
8 1 has OfferingType => (is => 'ro', isa => 'Str');
9 1 has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
10 1 has ReservedNodeOfferingId => (is => 'ro', isa => 'Str');
11 1 has ReservedNodeOfferingType => (is => 'ro', isa => 'Str');
12 1 has UsagePrice => (is => 'ro', isa => 'Num');
13  
14 1 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RedShift::ReservedNodeOffering
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::RedShift::ReservedNodeOffering object:
32  
33 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., UsagePrice => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::ReservedNodeOffering object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->CurrencyCode
41  
42 =head1 DESCRIPTION
43  
44 Describes a reserved node offering.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 CurrencyCode => Str
50  
51 The currency code for the compute nodes offering.
52  
53  
54 =head2 Duration => Int
55  
56 The duration, in seconds, for which the offering will reserve the node.
57  
58  
59 =head2 FixedPrice => Num
60  
61 The upfront fixed charge you will pay to purchase the specific reserved
62 node offering.
63  
64  
65 =head2 NodeType => Str
66  
67 The node type offered by the reserved node offering.
68  
69  
70 =head2 OfferingType => Str
71  
72 The anticipated utilization of the reserved node, as defined in the
73 reserved node offering.
74  
75  
76 =head2 RecurringCharges => ArrayRef[L<Paws::RedShift::RecurringCharge>]
77  
78 The charge to your account regardless of whether you are creating any
79 clusters using the node offering. Recurring charges are only in effect
80 for heavy-utilization reserved nodes.
81  
82  
83 =head2 ReservedNodeOfferingId => Str
84  
85 The offering identifier.
86  
87  
88 =head2 ReservedNodeOfferingType => Str
89  
90  
91  
92  
93 =head2 UsagePrice => Num
94  
95 The rate you are charged for each hour the cluster that is using the
96 offering is running.
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111  
« blib/lib/Paws/RedShift/ReservedNode.pm ↑ Summary blib/lib/Paws/RedShift/ReservedNodeOfferingsMessage.pm »