File Coverage

blib/lib/Paws/ElastiCache/ReservedCacheNodesOffering.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ElastiCache::ReservedCacheNodesOffering;
2 1     1   464 use Moose;
  1         4  
  1         9  
3             has CacheNodeType => (is => 'ro', isa => 'Str');
4             has Duration => (is => 'ro', isa => 'Int');
5             has FixedPrice => (is => 'ro', isa => 'Num');
6             has OfferingType => (is => 'ro', isa => 'Str');
7             has ProductDescription => (is => 'ro', isa => 'Str');
8             has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
9             has ReservedCacheNodesOfferingId => (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::ElastiCache::ReservedCacheNodesOffering
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::ElastiCache::ReservedCacheNodesOffering object:
29              
30             $service_obj->Method(Att1 => { CacheNodeType => $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::ElastiCache::ReservedCacheNodesOffering object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->CacheNodeType
38              
39             =head1 DESCRIPTION
40              
41             Describes all of the attributes of a reserved cache node offering.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 CacheNodeType => Str
47              
48             The cache node type for the reserved cache node.
49              
50             Valid node types are as follows:
51              
52             =over
53              
54             =item *
55              
56             General purpose:
57              
58             =over
59              
60             =item *
61              
62             Current generation: C<cache.t2.micro>, C<cache.t2.small>,
63             C<cache.t2.medium>, C<cache.m3.medium>, C<cache.m3.large>,
64             C<cache.m3.xlarge>, C<cache.m3.2xlarge>, C<cache.m4.large>,
65             C<cache.m4.xlarge>, C<cache.m4.2xlarge>, C<cache.m4.4xlarge>,
66             C<cache.m4.10xlarge>
67              
68             =item *
69              
70             Previous generation: C<cache.t1.micro>, C<cache.m1.small>,
71             C<cache.m1.medium>, C<cache.m1.large>, C<cache.m1.xlarge>
72              
73             =back
74              
75             =item *
76              
77             Compute optimized: C<cache.c1.xlarge>
78              
79             =item *
80              
81             Memory optimized:
82              
83             =over
84              
85             =item *
86              
87             Current generation: C<cache.r3.large>, C<cache.r3.xlarge>,
88             C<cache.r3.2xlarge>, C<cache.r3.4xlarge>, C<cache.r3.8xlarge>
89              
90             =item *
91              
92             Previous generation: C<cache.m2.xlarge>, C<cache.m2.2xlarge>,
93             C<cache.m2.4xlarge>
94              
95             =back
96              
97             =back
98              
99             B<Notes:>
100              
101             =over
102              
103             =item *
104              
105             All T2 instances are created in an Amazon Virtual Private Cloud (Amazon
106             VPC).
107              
108             =item *
109              
110             Redis backup/restore is not supported for Redis (cluster mode disabled)
111             T1 and T2 instances. Backup/restore is supported on Redis (cluster mode
112             enabled) T2 instances.
113              
114             =item *
115              
116             Redis Append-only files (AOF) functionality is not supported for T1 or
117             T2 instances.
118              
119             =back
120              
121             For a complete listing of node types and specifications, see Amazon
122             ElastiCache Product Features and Details and either Cache Node
123             Type-Specific Parameters for Memcached or Cache Node Type-Specific
124             Parameters for Redis.
125              
126              
127             =head2 Duration => Int
128              
129             The duration of the offering. in seconds.
130              
131              
132             =head2 FixedPrice => Num
133              
134             The fixed price charged for this offering.
135              
136              
137             =head2 OfferingType => Str
138              
139             The offering type.
140              
141              
142             =head2 ProductDescription => Str
143              
144             The cache engine used by the offering.
145              
146              
147             =head2 RecurringCharges => ArrayRef[L<Paws::ElastiCache::RecurringCharge>]
148              
149             The recurring price charged to run this reserved cache node.
150              
151              
152             =head2 ReservedCacheNodesOfferingId => Str
153              
154             A unique identifier for the reserved cache node offering.
155              
156              
157             =head2 UsagePrice => Num
158              
159             The hourly price charged for this offering.
160              
161              
162              
163             =head1 SEE ALSO
164              
165             This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache>
166              
167             =head1 BUGS and CONTRIBUTIONS
168              
169             The source code is located here: https://github.com/pplu/aws-sdk-perl
170              
171             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
172              
173             =cut
174