blib/lib/Paws/RDS/ReservedDBInstance.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RDS/RecurringCharge.pm ↑ Summary blib/lib/Paws/RDS/ReservedDBInstanceMessage.pm »
1 # Generated by default/object.tt
2 package Paws::RDS::ReservedDBInstance;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has CurrencyCode => (is => 'ro', isa => 'Str');
5 1 has DBInstanceClass => (is => 'ro', isa => 'Str');
6 1 has DBInstanceCount => (is => 'ro', isa => 'Int');
7 1 has Duration => (is => 'ro', isa => 'Int');
8 1 has FixedPrice => (is => 'ro', isa => 'Num');
9 1 has LeaseId => (is => 'ro', isa => 'Str');
10 1 has MultiAZ => (is => 'ro', isa => 'Bool');
11 1 has OfferingType => (is => 'ro', isa => 'Str');
12 1 has ProductDescription => (is => 'ro', isa => 'Str');
13 1 has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::RDS::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
14 1 has ReservedDBInstanceArn => (is => 'ro', isa => 'Str');
15 1 has ReservedDBInstanceId => (is => 'ro', isa => 'Str');
16 1 has ReservedDBInstancesOfferingId => (is => 'ro', isa => 'Str');
17 1 has StartTime => (is => 'ro', isa => 'Str');
18 1 has State => (is => 'ro', isa => 'Str');
19 1 has UsagePrice => (is => 'ro', isa => 'Num');
20  
21 1 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::RDS::ReservedDBInstance
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::RDS::ReservedDBInstance object:
39  
40 $service_obj->Method(Att1 => { CurrencyCode => $value, ..., UsagePrice => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::RDS::ReservedDBInstance object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->CurrencyCode
48  
49 =head1 DESCRIPTION
50  
51 This data type is used as a response element in the
52 C<DescribeReservedDBInstances> and
53 C<PurchaseReservedDBInstancesOffering> actions.
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 CurrencyCode => Str
59  
60 The currency code for the reserved DB instance.
61  
62  
63 =head2 DBInstanceClass => Str
64  
65 The DB instance class for the reserved DB instance.
66  
67  
68 =head2 DBInstanceCount => Int
69  
70 The number of reserved DB instances.
71  
72  
73 =head2 Duration => Int
74  
75 The duration of the reservation in seconds.
76  
77  
78 =head2 FixedPrice => Num
79  
80 The fixed price charged for this reserved DB instance.
81  
82  
83 =head2 LeaseId => Str
84  
85 The unique identifier for the lease associated with the reserved DB
86 instance.
87  
88 Amazon Web Services Support might request the lease ID for an issue
89 related to a reserved DB instance.
90  
91  
92 =head2 MultiAZ => Bool
93  
94 Indicates if the reservation applies to Multi-AZ deployments.
95  
96  
97 =head2 OfferingType => Str
98  
99 The offering type of this reserved DB instance.
100  
101  
102 =head2 ProductDescription => Str
103  
104 The description of the reserved DB instance.
105  
106  
107 =head2 RecurringCharges => ArrayRef[L<Paws::RDS::RecurringCharge>]
108  
109 The recurring price charged to run this reserved DB instance.
110  
111  
112 =head2 ReservedDBInstanceArn => Str
113  
114 The Amazon Resource Name (ARN) for the reserved DB instance.
115  
116  
117 =head2 ReservedDBInstanceId => Str
118  
119 The unique identifier for the reservation.
120  
121  
122 =head2 ReservedDBInstancesOfferingId => Str
123  
124 The offering identifier.
125  
126  
127 =head2 StartTime => Str
128  
129 The time the reservation started.
130  
131  
132 =head2 State => Str
133  
134 The state of the reserved DB instance.
135  
136  
137 =head2 UsagePrice => Num
138  
139 The hourly price charged for this reserved DB instance.
140  
141  
142  
143 =head1 SEE ALSO
144  
145 This class forms part of L<Paws>, describing an object used in L<Paws::RDS>
146  
147 =head1 BUGS and CONTRIBUTIONS
148  
149 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
150  
151 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
152  
153 =cut
154  
« blib/lib/Paws/RDS/RecurringCharge.pm ↑ Summary blib/lib/Paws/RDS/ReservedDBInstanceMessage.pm »