File Coverage

blib/lib/Paws/RDS/ReservedDBInstance.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::RDS::ReservedDBInstance;
2 1     1   550 use Moose;
  1     1   3  
  1         7  
  1         701  
  1         2  
  1         8  
3             has CurrencyCode => (is => 'ro', isa => 'Str');
4             has DBInstanceClass => (is => 'ro', isa => 'Str');
5             has DBInstanceCount => (is => 'ro', isa => 'Int');
6             has Duration => (is => 'ro', isa => 'Int');
7             has FixedPrice => (is => 'ro', isa => 'Num');
8             has MultiAZ => (is => 'ro', isa => 'Bool');
9             has OfferingType => (is => 'ro', isa => 'Str');
10             has ProductDescription => (is => 'ro', isa => 'Str');
11             has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::RDS::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
12             has ReservedDBInstanceArn => (is => 'ro', isa => 'Str');
13             has ReservedDBInstanceId => (is => 'ro', isa => 'Str');
14             has ReservedDBInstancesOfferingId => (is => 'ro', isa => 'Str');
15             has StartTime => (is => 'ro', isa => 'Str');
16             has State => (is => 'ro', isa => 'Str');
17             has UsagePrice => (is => 'ro', isa => 'Num');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::RDS::ReservedDBInstance
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::RDS::ReservedDBInstance 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::RDS::ReservedDBInstance object:
42              
43             $result = $service_obj->Method(...);
44             $result->Att1->CurrencyCode
45              
46             =head1 DESCRIPTION
47              
48             This data type is used as a response element in the
49             DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering
50             actions.
51              
52             =head1 ATTRIBUTES
53              
54              
55             =head2 CurrencyCode => Str
56              
57             The currency code for the reserved DB instance.
58              
59              
60             =head2 DBInstanceClass => Str
61              
62             The DB instance class for the reserved DB instance.
63              
64              
65             =head2 DBInstanceCount => Int
66              
67             The number of reserved DB instances.
68              
69              
70             =head2 Duration => Int
71              
72             The duration of the reservation in seconds.
73              
74              
75             =head2 FixedPrice => Num
76              
77             The fixed price charged for this reserved DB instance.
78              
79              
80             =head2 MultiAZ => Bool
81              
82             Indicates if the reservation applies to Multi-AZ deployments.
83              
84              
85             =head2 OfferingType => Str
86              
87             The offering type of this reserved DB instance.
88              
89              
90             =head2 ProductDescription => Str
91              
92             The description of the reserved DB instance.
93              
94              
95             =head2 RecurringCharges => ArrayRef[L<Paws::RDS::RecurringCharge>]
96              
97             The recurring price charged to run this reserved DB instance.
98              
99              
100             =head2 ReservedDBInstanceArn => Str
101              
102             The Amazon Resource Name (ARN) for the reserved DB instance.
103              
104              
105             =head2 ReservedDBInstanceId => Str
106              
107             The unique identifier for the reservation.
108              
109              
110             =head2 ReservedDBInstancesOfferingId => Str
111              
112             The offering identifier.
113              
114              
115             =head2 StartTime => Str
116              
117             The time the reservation started.
118              
119              
120             =head2 State => Str
121              
122             The state of the reserved DB instance.
123              
124              
125             =head2 UsagePrice => Num
126              
127             The hourly price charged for this reserved DB instance.
128              
129              
130              
131             =head1 SEE ALSO
132              
133             This class forms part of L<Paws>, describing an object used in L<Paws::RDS>
134              
135             =head1 BUGS and CONTRIBUTIONS
136              
137             The source code is located here: https://github.com/pplu/aws-sdk-perl
138              
139             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
140              
141             =cut
142