File Coverage

blib/lib/Paws/ElastiCache/Snapshot.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::Snapshot;
2 1     1   889 use Moose;
  1         4  
  1         13  
3             has AutomaticFailover => (is => 'ro', isa => 'Str');
4             has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool');
5             has CacheClusterCreateTime => (is => 'ro', isa => 'Str');
6             has CacheClusterId => (is => 'ro', isa => 'Str');
7             has CacheNodeType => (is => 'ro', isa => 'Str');
8             has CacheParameterGroupName => (is => 'ro', isa => 'Str');
9             has CacheSubnetGroupName => (is => 'ro', isa => 'Str');
10             has Engine => (is => 'ro', isa => 'Str');
11             has EngineVersion => (is => 'ro', isa => 'Str');
12             has NodeSnapshots => (is => 'ro', isa => 'ArrayRef[Paws::ElastiCache::NodeSnapshot]', request_name => 'NodeSnapshot', traits => ['NameInRequest']);
13             has NumCacheNodes => (is => 'ro', isa => 'Int');
14             has NumNodeGroups => (is => 'ro', isa => 'Int');
15             has Port => (is => 'ro', isa => 'Int');
16             has PreferredAvailabilityZone => (is => 'ro', isa => 'Str');
17             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
18             has ReplicationGroupDescription => (is => 'ro', isa => 'Str');
19             has ReplicationGroupId => (is => 'ro', isa => 'Str');
20             has SnapshotName => (is => 'ro', isa => 'Str');
21             has SnapshotRetentionLimit => (is => 'ro', isa => 'Int');
22             has SnapshotSource => (is => 'ro', isa => 'Str');
23             has SnapshotStatus => (is => 'ro', isa => 'Str');
24             has SnapshotWindow => (is => 'ro', isa => 'Str');
25             has TopicArn => (is => 'ro', isa => 'Str');
26             has VpcId => (is => 'ro', isa => 'Str');
27             1;
28              
29             ### main pod documentation begin ###
30              
31             =head1 NAME
32              
33             Paws::ElastiCache::Snapshot
34              
35             =head1 USAGE
36              
37             This class represents one of two things:
38              
39             =head3 Arguments in a call to a service
40              
41             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
42             Each attribute should be used as a named argument in the calls that expect this type of object.
43              
44             As an example, if Att1 is expected to be a Paws::ElastiCache::Snapshot object:
45              
46             $service_obj->Method(Att1 => { AutomaticFailover => $value, ..., VpcId => $value });
47              
48             =head3 Results returned from an API call
49              
50             Use accessors for each attribute. If Att1 is expected to be an Paws::ElastiCache::Snapshot object:
51              
52             $result = $service_obj->Method(...);
53             $result->Att1->AutomaticFailover
54              
55             =head1 DESCRIPTION
56              
57             Represents a copy of an entire Redis cache cluster as of the time when
58             the snapshot was taken.
59              
60             =head1 ATTRIBUTES
61              
62              
63             =head2 AutomaticFailover => Str
64              
65             Indicates the status of Multi-AZ for the source replication group.
66              
67             ElastiCache Multi-AZ replication groups are not supported on:
68              
69             =over
70              
71             =item *
72              
73             Redis versions earlier than 2.8.6.
74              
75             =item *
76              
77             Redis (cluster mode disabled):T1 and T2 cache node types.
78              
79             Redis (cluster mode enabled): T1 node types.
80              
81             =back
82              
83              
84              
85             =head2 AutoMinorVersionUpgrade => Bool
86              
87             This parameter is currently disabled.
88              
89              
90             =head2 CacheClusterCreateTime => Str
91              
92             The date and time when the source cache cluster was created.
93              
94              
95             =head2 CacheClusterId => Str
96              
97             The user-supplied identifier of the source cache cluster.
98              
99              
100             =head2 CacheNodeType => Str
101              
102             The name of the compute and memory capacity node type for the source
103             cache cluster.
104              
105             Valid node types are as follows:
106              
107             =over
108              
109             =item *
110              
111             General purpose:
112              
113             =over
114              
115             =item *
116              
117             Current generation: C<cache.t2.micro>, C<cache.t2.small>,
118             C<cache.t2.medium>, C<cache.m3.medium>, C<cache.m3.large>,
119             C<cache.m3.xlarge>, C<cache.m3.2xlarge>, C<cache.m4.large>,
120             C<cache.m4.xlarge>, C<cache.m4.2xlarge>, C<cache.m4.4xlarge>,
121             C<cache.m4.10xlarge>
122              
123             =item *
124              
125             Previous generation: C<cache.t1.micro>, C<cache.m1.small>,
126             C<cache.m1.medium>, C<cache.m1.large>, C<cache.m1.xlarge>
127              
128             =back
129              
130             =item *
131              
132             Compute optimized: C<cache.c1.xlarge>
133              
134             =item *
135              
136             Memory optimized:
137              
138             =over
139              
140             =item *
141              
142             Current generation: C<cache.r3.large>, C<cache.r3.xlarge>,
143             C<cache.r3.2xlarge>, C<cache.r3.4xlarge>, C<cache.r3.8xlarge>
144              
145             =item *
146              
147             Previous generation: C<cache.m2.xlarge>, C<cache.m2.2xlarge>,
148             C<cache.m2.4xlarge>
149              
150             =back
151              
152             =back
153              
154             B<Notes:>
155              
156             =over
157              
158             =item *
159              
160             All T2 instances are created in an Amazon Virtual Private Cloud (Amazon
161             VPC).
162              
163             =item *
164              
165             Redis backup/restore is not supported for Redis (cluster mode disabled)
166             T1 and T2 instances. Backup/restore is supported on Redis (cluster mode
167             enabled) T2 instances.
168              
169             =item *
170              
171             Redis Append-only files (AOF) functionality is not supported for T1 or
172             T2 instances.
173              
174             =back
175              
176             For a complete listing of node types and specifications, see Amazon
177             ElastiCache Product Features and Details and either Cache Node
178             Type-Specific Parameters for Memcached or Cache Node Type-Specific
179             Parameters for Redis.
180              
181              
182             =head2 CacheParameterGroupName => Str
183              
184             The cache parameter group that is associated with the source cache
185             cluster.
186              
187              
188             =head2 CacheSubnetGroupName => Str
189              
190             The name of the cache subnet group associated with the source cache
191             cluster.
192              
193              
194             =head2 Engine => Str
195              
196             The name of the cache engine (C<memcached> or C<redis>) used by the
197             source cache cluster.
198              
199              
200             =head2 EngineVersion => Str
201              
202             The version of the cache engine version that is used by the source
203             cache cluster.
204              
205              
206             =head2 NodeSnapshots => ArrayRef[L<Paws::ElastiCache::NodeSnapshot>]
207              
208             A list of the cache nodes in the source cache cluster.
209              
210              
211             =head2 NumCacheNodes => Int
212              
213             The number of cache nodes in the source cache cluster.
214              
215             For clusters running Redis, this value must be 1. For clusters running
216             Memcached, this value must be between 1 and 20.
217              
218              
219             =head2 NumNodeGroups => Int
220              
221             The number of node groups (shards) in this snapshot. When restoring
222             from a snapshot, the number of node groups (shards) in the snapshot and
223             in the restored replication group must be the same.
224              
225              
226             =head2 Port => Int
227              
228             The port number used by each cache nodes in the source cache cluster.
229              
230              
231             =head2 PreferredAvailabilityZone => Str
232              
233             The name of the Availability Zone in which the source cache cluster is
234             located.
235              
236              
237             =head2 PreferredMaintenanceWindow => Str
238              
239             Specifies the weekly time range during which maintenance on the cluster
240             is performed. It is specified as a range in the format
241             ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window
242             is a 60 minute period.
243              
244             Valid values for C<ddd> are:
245              
246             =over
247              
248             =item *
249              
250             C<sun>
251              
252             =item *
253              
254             C<mon>
255              
256             =item *
257              
258             C<tue>
259              
260             =item *
261              
262             C<wed>
263              
264             =item *
265              
266             C<thu>
267              
268             =item *
269              
270             C<fri>
271              
272             =item *
273              
274             C<sat>
275              
276             =back
277              
278             Example: C<sun:23:00-mon:01:30>
279              
280              
281             =head2 ReplicationGroupDescription => Str
282              
283             A description of the source replication group.
284              
285              
286             =head2 ReplicationGroupId => Str
287              
288             The unique identifier of the source replication group.
289              
290              
291             =head2 SnapshotName => Str
292              
293             The name of a snapshot. For an automatic snapshot, the name is
294             system-generated. For a manual snapshot, this is the user-provided
295             name.
296              
297              
298             =head2 SnapshotRetentionLimit => Int
299              
300             For an automatic snapshot, the number of days for which ElastiCache
301             retains the snapshot before deleting it.
302              
303             For manual snapshots, this field reflects the C<SnapshotRetentionLimit>
304             for the source cache cluster when the snapshot was created. This field
305             is otherwise ignored: Manual snapshots do not expire, and can only be
306             deleted using the C<DeleteSnapshot> operation.
307              
308             B<Important> If the value of SnapshotRetentionLimit is set to zero (0),
309             backups are turned off.
310              
311              
312             =head2 SnapshotSource => Str
313              
314             Indicates whether the snapshot is from an automatic backup
315             (C<automated>) or was created manually (C<manual>).
316              
317              
318             =head2 SnapshotStatus => Str
319              
320             The status of the snapshot. Valid values: C<creating> | C<available> |
321             C<restoring> | C<copying> | C<deleting>.
322              
323              
324             =head2 SnapshotWindow => Str
325              
326             The daily time range during which ElastiCache takes daily snapshots of
327             the source cache cluster.
328              
329              
330             =head2 TopicArn => Str
331              
332             The Amazon Resource Name (ARN) for the topic used by the source cache
333             cluster for publishing notifications.
334              
335              
336             =head2 VpcId => Str
337              
338             The Amazon Virtual Private Cloud identifier (VPC ID) of the cache
339             subnet group for the source cache cluster.
340              
341              
342              
343             =head1 SEE ALSO
344              
345             This class forms part of L<Paws>, describing an object used in L<Paws::ElastiCache>
346              
347             =head1 BUGS and CONTRIBUTIONS
348              
349             The source code is located here: https://github.com/pplu/aws-sdk-perl
350              
351             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
352              
353             =cut
354