File Coverage

blib/lib/Paws/RDS/ReservedDBInstancesOffering.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::ReservedDBInstancesOffering;
2 1     1   294 use Moose;
  1     1   4  
  1         5  
  1         533  
  1         4  
  1         10  
3             has CurrencyCode => (is => 'ro', isa => 'Str');
4             has DBInstanceClass => (is => 'ro', isa => 'Str');
5             has Duration => (is => 'ro', isa => 'Int');
6             has FixedPrice => (is => 'ro', isa => 'Num');
7             has MultiAZ => (is => 'ro', isa => 'Bool');
8             has OfferingType => (is => 'ro', isa => 'Str');
9             has ProductDescription => (is => 'ro', isa => 'Str');
10             has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::RDS::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
11             has ReservedDBInstancesOfferingId => (is => 'ro', isa => 'Str');
12             has UsagePrice => (is => 'ro', isa => 'Num');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::RDS::ReservedDBInstancesOffering
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::RDS::ReservedDBInstancesOffering object:
31              
32             $service_obj->Method(Att1 => { CurrencyCode => $value, ..., UsagePrice => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::RDS::ReservedDBInstancesOffering object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->CurrencyCode
40              
41             =head1 DESCRIPTION
42              
43             This data type is used as a response element in the
44             DescribeReservedDBInstancesOfferings action.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 CurrencyCode => Str
50              
51             The currency code for the reserved DB instance offering.
52              
53              
54             =head2 DBInstanceClass => Str
55              
56             The DB instance class for the reserved DB instance.
57              
58              
59             =head2 Duration => Int
60              
61             The duration of the offering in seconds.
62              
63              
64             =head2 FixedPrice => Num
65              
66             The fixed price charged for this offering.
67              
68              
69             =head2 MultiAZ => Bool
70              
71             Indicates if the offering applies to Multi-AZ deployments.
72              
73              
74             =head2 OfferingType => Str
75              
76             The offering type.
77              
78              
79             =head2 ProductDescription => Str
80              
81             The database engine used by the offering.
82              
83              
84             =head2 RecurringCharges => ArrayRef[L<Paws::RDS::RecurringCharge>]
85              
86             The recurring price charged to run this reserved DB instance.
87              
88              
89             =head2 ReservedDBInstancesOfferingId => Str
90              
91             The offering identifier.
92              
93              
94             =head2 UsagePrice => Num
95              
96             The hourly price charged for this offering.
97              
98              
99              
100             =head1 SEE ALSO
101              
102             This class forms part of L<Paws>, describing an object used in L<Paws::RDS>
103              
104             =head1 BUGS and CONTRIBUTIONS
105              
106             The source code is located here: https://github.com/pplu/aws-sdk-perl
107              
108             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
109              
110             =cut
111