File Coverage

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