blib/lib/Paws/ElastiCache/ReservedCacheNode.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ElastiCache::ReservedCacheNode;
3 use Moose;
4 has CacheNodeCount => (is => 'ro', isa => 'Int');
5 has CacheNodeType => (is => 'ro', isa => 'Str');
6 has Duration => (is => 'ro', isa => 'Int');
7 has FixedPrice => (is => 'ro', isa => 'Num');
8 has OfferingType => (is => 'ro', isa => 'Str');
9 has ProductDescription => (is => 'ro', isa => 'Str');
10 has RecurringCharges => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::RecurringCharge]', request_name => 'RecurringCharge', traits => ['NameInRequest']);
11 has ReservationARN => (is => 'ro', isa => 'Str');
12 has ReservedCacheNodeId => (is => 'ro', isa => 'Str');
13 has ReservedCacheNodesOfferingId => (is => 'ro', isa => 'Str');
14 has StartTime => (is => 'ro', isa => 'Str');
15 has State => (is => 'ro', isa => 'Str');
16 has UsagePrice => (is => 'ro', isa => 'Num');
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::ElastiCache::ReservedCacheNode
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::ElastiCache::ReservedCacheNode object:
36  
37 $service_obj->Method(Att1 => { CacheNodeCount => $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::ElastiCache::ReservedCacheNode object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->CacheNodeCount
45  
46 =head1 DESCRIPTION
47  
48 Represents the output of a C<PurchaseReservedCacheNodesOffering>
49 operation.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 CacheNodeCount => Int
55  
56 The number of cache nodes that have been reserved.
57  
58  
59 =head2 CacheNodeType => Str
60  
61 The cache node type for the reserved cache nodes.
62  
63 The following node types are supported by ElastiCache. Generally
64 speaking, the current generation types provide more memory and
65 computational power at lower cost when compared to their equivalent
66 previous generation counterparts.
67  
68 =over
69  
70 =item *
71  
72 General purpose:
73  
74 =over
75  
76 =item *
77  
78 Current generation:
79  
80 B<M6g node types> (available only for Redis engine version 5.0.6 onward
81 and for Memcached engine version 1.5.16 onward).
82  
83 C<cache.m6g.large>, C<cache.m6g.xlarge>, C<cache.m6g.2xlarge>,
84 C<cache.m6g.4xlarge>, C<cache.m6g.8xlarge>, C<cache.m6g.12xlarge>,
85 C<cache.m6g.16xlarge>
86  
87 For region availability, see Supported Node Types
88 (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion)
89  
90 B<M5 node types:> C<cache.m5.large>, C<cache.m5.xlarge>,
91 C<cache.m5.2xlarge>, C<cache.m5.4xlarge>, C<cache.m5.12xlarge>,
92 C<cache.m5.24xlarge>
93  
94 B<M4 node types:> C<cache.m4.large>, C<cache.m4.xlarge>,
95 C<cache.m4.2xlarge>, C<cache.m4.4xlarge>, C<cache.m4.10xlarge>
96  
97 B<T3 node types:> C<cache.t3.micro>, C<cache.t3.small>,
98 C<cache.t3.medium>
99  
100 B<T2 node types:> C<cache.t2.micro>, C<cache.t2.small>,
101 C<cache.t2.medium>
102  
103 =item *
104  
105 Previous generation: (not recommended)
106  
107 B<T1 node types:> C<cache.t1.micro>
108  
109 B<M1 node types:> C<cache.m1.small>, C<cache.m1.medium>,
110 C<cache.m1.large>, C<cache.m1.xlarge>
111  
112 B<M3 node types:> C<cache.m3.medium>, C<cache.m3.large>,
113 C<cache.m3.xlarge>, C<cache.m3.2xlarge>
114  
115 =back
116  
117 =item *
118  
119 Compute optimized:
120  
121 =over
122  
123 =item *
124  
125 Previous generation: (not recommended)
126  
127 B<C1 node types:> C<cache.c1.xlarge>
128  
129 =back
130  
131 =item *
132  
133 Memory optimized:
134  
135 =over
136  
137 =item *
138  
139 Current generation:
140  
141 B<R6g node types> (available only for Redis engine version 5.0.6 onward
142 and for Memcached engine version 1.5.16 onward).
143  
144 C<cache.r6g.large>, C<cache.r6g.xlarge>, C<cache.r6g.2xlarge>,
145 C<cache.r6g.4xlarge>, C<cache.r6g.8xlarge>, C<cache.r6g.12xlarge>,
146 C<cache.r6g.16xlarge>
147  
148 For region availability, see Supported Node Types
149 (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion)
150  
151 B<R5 node types:> C<cache.r5.large>, C<cache.r5.xlarge>,
152 C<cache.r5.2xlarge>, C<cache.r5.4xlarge>, C<cache.r5.12xlarge>,
153 C<cache.r5.24xlarge>
154  
155 B<R4 node types:> C<cache.r4.large>, C<cache.r4.xlarge>,
156 C<cache.r4.2xlarge>, C<cache.r4.4xlarge>, C<cache.r4.8xlarge>,
157 C<cache.r4.16xlarge>
158  
159 =item *
160  
161 Previous generation: (not recommended)
162  
163 B<M2 node types:> C<cache.m2.xlarge>, C<cache.m2.2xlarge>,
164 C<cache.m2.4xlarge>
165  
166 B<R3 node types:> C<cache.r3.large>, C<cache.r3.xlarge>,
167 C<cache.r3.2xlarge>, C<cache.r3.4xlarge>, C<cache.r3.8xlarge>
168  
169 =back
170  
171 =back
172  
173 B<Additional node type info>
174  
175 =over
176  
177 =item *
178  
179 All current generation instance types are created in Amazon VPC by
180 default.
181  
182 =item *
183  
184 Redis append-only files (AOF) are not supported for T1 or T2 instances.
185  
186 =item *
187  
188 Redis Multi-AZ with automatic failover is not supported on T1
189 instances.
190  
191 =item *
192  
193 Redis configuration variables C<appendonly> and C<appendfsync> are not
194 supported on Redis version 2.8.22 and later.
195  
196 =back
197  
198  
199  
200 =head2 Duration => Int
201  
202 The duration of the reservation in seconds.
203  
204  
205 =head2 FixedPrice => Num
206  
207 The fixed price charged for this reserved cache node.
208  
209  
210 =head2 OfferingType => Str
211  
212 The offering type of this reserved cache node.
213  
214  
215 =head2 ProductDescription => Str
216  
217 The description of the reserved cache node.
218  
219  
220 =head2 RecurringCharges => ArrayRef[L<Paws::ElastiCache::RecurringCharge>]
221  
222 The recurring price charged to run this reserved cache node.
223  
224  
225 =head2 ReservationARN => Str
226  
227 The Amazon Resource Name (ARN) of the reserved cache node.
228  
229 Example:
230 C<arn:aws:elasticache:us-east-1:123456789012:reserved-instance:ri-2017-03-27-08-33-25-582>
231  
232  
233 =head2 ReservedCacheNodeId => Str
234  
235 The unique identifier for the reservation.
236  
237  
238 =head2 ReservedCacheNodesOfferingId => Str
239  
240 The offering identifier.
241  
242  
243 =head2 StartTime => Str
244  
245 The time the reservation started.
246  
247  
248 =head2 State => Str
249  
250 The state of the reserved cache node.
251  
252  
253 =head2 UsagePrice => Num
254  
255 The hourly price charged for this reserved cache node.
256  
257  
258  
259 =head1 SEE ALSO
260  
261 This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache>
262  
263 =head1 BUGS and CONTRIBUTIONS
264  
265 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
266  
267 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
268  
269 =cut
270