File Coverage

blib/lib/Paws/DAX.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::DAX;
2 1     1   4406 use Moose;
  1         3  
  1         11  
3             sub service { 'dax' }
4             sub version { '2017-04-19' }
5             sub target_prefix { 'AmazonDAXV3' }
6             sub json_version { "1.1" }
7             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8             has retry => (is => 'ro', isa => 'HashRef', default => sub {
9             { base => 'rand', type => 'exponential', growth_factor => 2 }
10             });
11             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub CreateCluster {
18             my $self = shift;
19             my $call_object = $self->new_with_coercions('Paws::DAX::CreateCluster', @_);
20             return $self->caller->do_call($self, $call_object);
21             }
22             sub CreateParameterGroup {
23             my $self = shift;
24             my $call_object = $self->new_with_coercions('Paws::DAX::CreateParameterGroup', @_);
25             return $self->caller->do_call($self, $call_object);
26             }
27             sub CreateSubnetGroup {
28             my $self = shift;
29             my $call_object = $self->new_with_coercions('Paws::DAX::CreateSubnetGroup', @_);
30             return $self->caller->do_call($self, $call_object);
31             }
32             sub DecreaseReplicationFactor {
33             my $self = shift;
34             my $call_object = $self->new_with_coercions('Paws::DAX::DecreaseReplicationFactor', @_);
35             return $self->caller->do_call($self, $call_object);
36             }
37             sub DeleteCluster {
38             my $self = shift;
39             my $call_object = $self->new_with_coercions('Paws::DAX::DeleteCluster', @_);
40             return $self->caller->do_call($self, $call_object);
41             }
42             sub DeleteParameterGroup {
43             my $self = shift;
44             my $call_object = $self->new_with_coercions('Paws::DAX::DeleteParameterGroup', @_);
45             return $self->caller->do_call($self, $call_object);
46             }
47             sub DeleteSubnetGroup {
48             my $self = shift;
49             my $call_object = $self->new_with_coercions('Paws::DAX::DeleteSubnetGroup', @_);
50             return $self->caller->do_call($self, $call_object);
51             }
52             sub DescribeClusters {
53             my $self = shift;
54             my $call_object = $self->new_with_coercions('Paws::DAX::DescribeClusters', @_);
55             return $self->caller->do_call($self, $call_object);
56             }
57             sub DescribeDefaultParameters {
58             my $self = shift;
59             my $call_object = $self->new_with_coercions('Paws::DAX::DescribeDefaultParameters', @_);
60             return $self->caller->do_call($self, $call_object);
61             }
62             sub DescribeEvents {
63             my $self = shift;
64             my $call_object = $self->new_with_coercions('Paws::DAX::DescribeEvents', @_);
65             return $self->caller->do_call($self, $call_object);
66             }
67             sub DescribeParameterGroups {
68             my $self = shift;
69             my $call_object = $self->new_with_coercions('Paws::DAX::DescribeParameterGroups', @_);
70             return $self->caller->do_call($self, $call_object);
71             }
72             sub DescribeParameters {
73             my $self = shift;
74             my $call_object = $self->new_with_coercions('Paws::DAX::DescribeParameters', @_);
75             return $self->caller->do_call($self, $call_object);
76             }
77             sub DescribeSubnetGroups {
78             my $self = shift;
79             my $call_object = $self->new_with_coercions('Paws::DAX::DescribeSubnetGroups', @_);
80             return $self->caller->do_call($self, $call_object);
81             }
82             sub IncreaseReplicationFactor {
83             my $self = shift;
84             my $call_object = $self->new_with_coercions('Paws::DAX::IncreaseReplicationFactor', @_);
85             return $self->caller->do_call($self, $call_object);
86             }
87             sub ListTags {
88             my $self = shift;
89             my $call_object = $self->new_with_coercions('Paws::DAX::ListTags', @_);
90             return $self->caller->do_call($self, $call_object);
91             }
92             sub RebootNode {
93             my $self = shift;
94             my $call_object = $self->new_with_coercions('Paws::DAX::RebootNode', @_);
95             return $self->caller->do_call($self, $call_object);
96             }
97             sub TagResource {
98             my $self = shift;
99             my $call_object = $self->new_with_coercions('Paws::DAX::TagResource', @_);
100             return $self->caller->do_call($self, $call_object);
101             }
102             sub UntagResource {
103             my $self = shift;
104             my $call_object = $self->new_with_coercions('Paws::DAX::UntagResource', @_);
105             return $self->caller->do_call($self, $call_object);
106             }
107             sub UpdateCluster {
108             my $self = shift;
109             my $call_object = $self->new_with_coercions('Paws::DAX::UpdateCluster', @_);
110             return $self->caller->do_call($self, $call_object);
111             }
112             sub UpdateParameterGroup {
113             my $self = shift;
114             my $call_object = $self->new_with_coercions('Paws::DAX::UpdateParameterGroup', @_);
115             return $self->caller->do_call($self, $call_object);
116             }
117             sub UpdateSubnetGroup {
118             my $self = shift;
119             my $call_object = $self->new_with_coercions('Paws::DAX::UpdateSubnetGroup', @_);
120             return $self->caller->do_call($self, $call_object);
121             }
122            
123              
124              
125             sub operations { qw/CreateCluster CreateParameterGroup CreateSubnetGroup DecreaseReplicationFactor DeleteCluster DeleteParameterGroup DeleteSubnetGroup DescribeClusters DescribeDefaultParameters DescribeEvents DescribeParameterGroups DescribeParameters DescribeSubnetGroups IncreaseReplicationFactor ListTags RebootNode TagResource UntagResource UpdateCluster UpdateParameterGroup UpdateSubnetGroup / }
126              
127             1;
128              
129             ### main pod documentation begin ###
130              
131             =head1 NAME
132              
133             Paws::DAX - Perl Interface to AWS Amazon DynamoDB Accelerator (DAX)
134              
135             =head1 SYNOPSIS
136              
137             use Paws;
138              
139             my $obj = Paws->service('DAX');
140             my $res = $obj->Method(
141             Arg1 => $val1,
142             Arg2 => [ 'V1', 'V2' ],
143             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
144             # of the arguments type
145             Arg3 => { Att1 => 'Val1' },
146             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
147             # the constructor of the arguments type
148             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
149             );
150              
151             =head1 DESCRIPTION
152              
153             DAX is a managed caching service engineered for Amazon DynamoDB. DAX
154             dramatically speeds up database reads by caching frequently-accessed
155             data from DynamoDB, so applications can access that data with
156             sub-millisecond latency. You can create a DAX cluster easily, using the
157             AWS Management Console. With a few simple modifications to your code,
158             your application can begin taking advantage of the DAX cluster and
159             realize significant improvements in read performance.
160              
161             =head1 METHODS
162              
163             =head2 CreateCluster(ClusterName => Str, IamRoleArn => Str, NodeType => Str, ReplicationFactor => Int, [AvailabilityZones => ArrayRef[Str|Undef], Description => Str, NotificationTopicArn => Str, ParameterGroupName => Str, PreferredMaintenanceWindow => Str, SecurityGroupIds => ArrayRef[Str|Undef], SubnetGroupName => Str, Tags => ArrayRef[L<Paws::DAX::Tag>]])
164              
165             Each argument is described in detail in: L<Paws::DAX::CreateCluster>
166              
167             Returns: a L<Paws::DAX::CreateClusterResponse> instance
168              
169             Creates a DAX cluster. All nodes in the cluster run the same DAX
170             caching software.
171              
172              
173             =head2 CreateParameterGroup(ParameterGroupName => Str, [Description => Str])
174              
175             Each argument is described in detail in: L<Paws::DAX::CreateParameterGroup>
176              
177             Returns: a L<Paws::DAX::CreateParameterGroupResponse> instance
178              
179             Creates a new parameter group. A parameter group is a collection of
180             parameters that you apply to all of the nodes in a DAX cluster.
181              
182              
183             =head2 CreateSubnetGroup(SubnetGroupName => Str, SubnetIds => ArrayRef[Str|Undef], [Description => Str])
184              
185             Each argument is described in detail in: L<Paws::DAX::CreateSubnetGroup>
186              
187             Returns: a L<Paws::DAX::CreateSubnetGroupResponse> instance
188              
189             Creates a new subnet group.
190              
191              
192             =head2 DecreaseReplicationFactor(ClusterName => Str, NewReplicationFactor => Int, [AvailabilityZones => ArrayRef[Str|Undef], NodeIdsToRemove => ArrayRef[Str|Undef]])
193              
194             Each argument is described in detail in: L<Paws::DAX::DecreaseReplicationFactor>
195              
196             Returns: a L<Paws::DAX::DecreaseReplicationFactorResponse> instance
197              
198             Removes one or more nodes from a DAX cluster.
199              
200             You cannot use C<DecreaseReplicationFactor> to remove the last node in
201             a DAX cluster. If you need to do this, use C<DeleteCluster> instead.
202              
203              
204             =head2 DeleteCluster(ClusterName => Str)
205              
206             Each argument is described in detail in: L<Paws::DAX::DeleteCluster>
207              
208             Returns: a L<Paws::DAX::DeleteClusterResponse> instance
209              
210             Deletes a previously provisioned DAX cluster. I<DeleteCluster> deletes
211             all associated nodes, node endpoints and the DAX cluster itself. When
212             you receive a successful response from this action, DAX immediately
213             begins deleting the cluster; you cannot cancel or revert this action.
214              
215              
216             =head2 DeleteParameterGroup(ParameterGroupName => Str)
217              
218             Each argument is described in detail in: L<Paws::DAX::DeleteParameterGroup>
219              
220             Returns: a L<Paws::DAX::DeleteParameterGroupResponse> instance
221              
222             Deletes the specified parameter group. You cannot delete a parameter
223             group if it is associated with any DAX clusters.
224              
225              
226             =head2 DeleteSubnetGroup(SubnetGroupName => Str)
227              
228             Each argument is described in detail in: L<Paws::DAX::DeleteSubnetGroup>
229              
230             Returns: a L<Paws::DAX::DeleteSubnetGroupResponse> instance
231              
232             Deletes a subnet group.
233              
234             You cannot delete a subnet group if it is associated with any DAX
235             clusters.
236              
237              
238             =head2 DescribeClusters([ClusterNames => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
239              
240             Each argument is described in detail in: L<Paws::DAX::DescribeClusters>
241              
242             Returns: a L<Paws::DAX::DescribeClustersResponse> instance
243              
244             Returns information about all provisioned DAX clusters if no cluster
245             identifier is specified, or about a specific DAX cluster if a cluster
246             identifier is supplied.
247              
248             If the cluster is in the CREATING state, only cluster level information
249             will be displayed until all of the nodes are successfully provisioned.
250              
251             If the cluster is in the DELETING state, only cluster level information
252             will be displayed.
253              
254             If nodes are currently being added to the DAX cluster, node endpoint
255             information and creation time for the additional nodes will not be
256             displayed until they are completely provisioned. When the DAX cluster
257             state is I<available>, the cluster is ready for use.
258              
259             If nodes are currently being removed from the DAX cluster, no endpoint
260             information for the removed nodes is displayed.
261              
262              
263             =head2 DescribeDefaultParameters([MaxResults => Int, NextToken => Str])
264              
265             Each argument is described in detail in: L<Paws::DAX::DescribeDefaultParameters>
266              
267             Returns: a L<Paws::DAX::DescribeDefaultParametersResponse> instance
268              
269             Returns the default system parameter information for the DAX caching
270             software.
271              
272              
273             =head2 DescribeEvents([Duration => Int, EndTime => Str, MaxResults => Int, NextToken => Str, SourceName => Str, SourceType => Str, StartTime => Str])
274              
275             Each argument is described in detail in: L<Paws::DAX::DescribeEvents>
276              
277             Returns: a L<Paws::DAX::DescribeEventsResponse> instance
278              
279             Returns events related to DAX clusters and parameter groups. You can
280             obtain events specific to a particular DAX cluster or parameter group
281             by providing the name as a parameter.
282              
283             By default, only the events occurring within the last hour are
284             returned; however, you can retrieve up to 14 days' worth of events if
285             necessary.
286              
287              
288             =head2 DescribeParameterGroups([MaxResults => Int, NextToken => Str, ParameterGroupNames => ArrayRef[Str|Undef]])
289              
290             Each argument is described in detail in: L<Paws::DAX::DescribeParameterGroups>
291              
292             Returns: a L<Paws::DAX::DescribeParameterGroupsResponse> instance
293              
294             Returns a list of parameter group descriptions. If a parameter group
295             name is specified, the list will contain only the descriptions for that
296             group.
297              
298              
299             =head2 DescribeParameters(ParameterGroupName => Str, [MaxResults => Int, NextToken => Str, Source => Str])
300              
301             Each argument is described in detail in: L<Paws::DAX::DescribeParameters>
302              
303             Returns: a L<Paws::DAX::DescribeParametersResponse> instance
304              
305             Returns the detailed parameter list for a particular parameter group.
306              
307              
308             =head2 DescribeSubnetGroups([MaxResults => Int, NextToken => Str, SubnetGroupNames => ArrayRef[Str|Undef]])
309              
310             Each argument is described in detail in: L<Paws::DAX::DescribeSubnetGroups>
311              
312             Returns: a L<Paws::DAX::DescribeSubnetGroupsResponse> instance
313              
314             Returns a list of subnet group descriptions. If a subnet group name is
315             specified, the list will contain only the description of that group.
316              
317              
318             =head2 IncreaseReplicationFactor(ClusterName => Str, NewReplicationFactor => Int, [AvailabilityZones => ArrayRef[Str|Undef]])
319              
320             Each argument is described in detail in: L<Paws::DAX::IncreaseReplicationFactor>
321              
322             Returns: a L<Paws::DAX::IncreaseReplicationFactorResponse> instance
323              
324             Adds one or more nodes to a DAX cluster.
325              
326              
327             =head2 ListTags(ResourceName => Str, [NextToken => Str])
328              
329             Each argument is described in detail in: L<Paws::DAX::ListTags>
330              
331             Returns: a L<Paws::DAX::ListTagsResponse> instance
332              
333             List all of the tags for a DAX cluster. You can call C<ListTags> up to
334             10 times per second, per account.
335              
336              
337             =head2 RebootNode(ClusterName => Str, NodeId => Str)
338              
339             Each argument is described in detail in: L<Paws::DAX::RebootNode>
340              
341             Returns: a L<Paws::DAX::RebootNodeResponse> instance
342              
343             Reboots a single node of a DAX cluster. The reboot action takes place
344             as soon as possible. During the reboot, the node status is set to
345             REBOOTING.
346              
347              
348             =head2 TagResource(ResourceName => Str, Tags => ArrayRef[L<Paws::DAX::Tag>])
349              
350             Each argument is described in detail in: L<Paws::DAX::TagResource>
351              
352             Returns: a L<Paws::DAX::TagResourceResponse> instance
353              
354             Associates a set of tags with a DAX resource. You can call
355             C<TagResource> up to 5 times per second, per account.
356              
357              
358             =head2 UntagResource(ResourceName => Str, TagKeys => ArrayRef[Str|Undef])
359              
360             Each argument is described in detail in: L<Paws::DAX::UntagResource>
361              
362             Returns: a L<Paws::DAX::UntagResourceResponse> instance
363              
364             Removes the association of tags from a DAX resource. You can call
365             C<UntagResource> up to 5 times per second, per account.
366              
367              
368             =head2 UpdateCluster(ClusterName => Str, [Description => Str, NotificationTopicArn => Str, NotificationTopicStatus => Str, ParameterGroupName => Str, PreferredMaintenanceWindow => Str, SecurityGroupIds => ArrayRef[Str|Undef]])
369              
370             Each argument is described in detail in: L<Paws::DAX::UpdateCluster>
371              
372             Returns: a L<Paws::DAX::UpdateClusterResponse> instance
373              
374             Modifies the settings for a DAX cluster. You can use this action to
375             change one or more cluster configuration parameters by specifying the
376             parameters and the new values.
377              
378              
379             =head2 UpdateParameterGroup(ParameterGroupName => Str, ParameterNameValues => ArrayRef[L<Paws::DAX::ParameterNameValue>])
380              
381             Each argument is described in detail in: L<Paws::DAX::UpdateParameterGroup>
382              
383             Returns: a L<Paws::DAX::UpdateParameterGroupResponse> instance
384              
385             Modifies the parameters of a parameter group. You can modify up to 20
386             parameters in a single request by submitting a list parameter name and
387             value pairs.
388              
389              
390             =head2 UpdateSubnetGroup(SubnetGroupName => Str, [Description => Str, SubnetIds => ArrayRef[Str|Undef]])
391              
392             Each argument is described in detail in: L<Paws::DAX::UpdateSubnetGroup>
393              
394             Returns: a L<Paws::DAX::UpdateSubnetGroupResponse> instance
395              
396             Modifies an existing subnet group.
397              
398              
399              
400              
401             =head1 PAGINATORS
402              
403             Paginator methods are helpers that repetively call methods that return partial results
404              
405              
406              
407              
408             =head1 SEE ALSO
409              
410             This service class forms part of L<Paws>
411              
412             =head1 BUGS and CONTRIBUTIONS
413              
414             The source code is located here: https://github.com/pplu/aws-sdk-perl
415              
416             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
417              
418             =cut
419