blib/lib/Paws/DAX/UpdateCluster.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DAX::UpdateCluster;
3 use Moose;
4 has ClusterName => (is => 'ro', isa => 'Str', required => 1);
5 has Description => (is => 'ro', isa => 'Str');
6 has NotificationTopicArn => (is => 'ro', isa => 'Str');
7 has NotificationTopicStatus => (is => 'ro', isa => 'Str');
8 has ParameterGroupName => (is => 'ro', isa => 'Str');
9 has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
10 has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateCluster');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DAX::UpdateClusterResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::DAX::UpdateCluster - Arguments for method UpdateCluster on L<Paws::DAX>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateCluster on the
28 L<Amazon DynamoDB Accelerator (DAX)|Paws::DAX> service. Use the attributes of this class
29 as arguments to method UpdateCluster.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateCluster.
32  
33 =head1 SYNOPSIS
34  
35 my $dax = Paws->service('DAX');
36 my $UpdateClusterResponse = $dax->UpdateCluster(
37 ClusterName => 'MyString',
38 Description => 'MyString', # OPTIONAL
39 NotificationTopicArn => 'MyString', # OPTIONAL
40 NotificationTopicStatus => 'MyString', # OPTIONAL
41 ParameterGroupName => 'MyString', # OPTIONAL
42 PreferredMaintenanceWindow => 'MyString', # OPTIONAL
43 SecurityGroupIds => [ 'MyString', ... ], # OPTIONAL
44 );
45  
46 # Results:
47 my $Cluster = $UpdateClusterResponse->Cluster;
48  
49 # Returns a L<Paws::DAX::UpdateClusterResponse> object.
50  
51 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/dax/UpdateCluster>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> ClusterName => Str
58  
59 The name of the DAX cluster to be modified.
60  
61  
62  
63 =head2 Description => Str
64  
65 A description of the changes being made to the cluster.
66  
67  
68  
69 =head2 NotificationTopicArn => Str
70  
71 The Amazon Resource Name (ARN) that identifies the topic.
72  
73  
74  
75 =head2 NotificationTopicStatus => Str
76  
77 The current state of the topic. A value of E<ldquo>activeE<rdquo> means
78 that notifications will be sent to the topic. A value of
79 E<ldquo>inactiveE<rdquo> means that notifications will not be sent to
80 the topic.
81  
82  
83  
84 =head2 ParameterGroupName => Str
85  
86 The name of a parameter group for this cluster.
87  
88  
89  
90 =head2 PreferredMaintenanceWindow => Str
91  
92 A range of time when maintenance of DAX cluster software will be
93 performed. For example: C<sun:01:00-sun:09:00>. Cluster maintenance
94 normally takes less than 30 minutes, and is performed automatically
95 within the maintenance window.
96  
97  
98  
99 =head2 SecurityGroupIds => ArrayRef[Str|Undef]
100  
101 A list of user-specified security group IDs to be assigned to each node
102 in the DAX cluster. If this parameter is not specified, DAX assigns the
103 default VPC security group to each node.
104  
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, documenting arguments for method UpdateCluster in L<Paws::DAX>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119