blib/lib/Paws/RedShift/ResizeCluster.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedShift::ResizeCluster;
3 use Moose;
4 has Classic => (is => 'ro', isa => 'Bool');
5 has ClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
6 has ClusterType => (is => 'ro', isa => 'Str');
7 has NodeType => (is => 'ro', isa => 'Str');
8 has NumberOfNodes => (is => 'ro', isa => 'Int');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ResizeCluster');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::ResizeClusterResult');
14 class_has _result_key => (isa => 'Str', is => 'ro', default => 'ResizeClusterResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::RedShift::ResizeCluster - Arguments for method ResizeCluster on L<Paws::RedShift>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ResizeCluster on the
26 L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class
27 as arguments to method ResizeCluster.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ResizeCluster.
30  
31 =head1 SYNOPSIS
32  
33 my $redshift = Paws->service('RedShift');
34 my $ResizeClusterResult = $redshift->ResizeCluster(
35 ClusterIdentifier => 'MyString',
36 Classic => 1, # OPTIONAL
37 ClusterType => 'MyString', # OPTIONAL
38 NodeType => 'MyString', # OPTIONAL
39 NumberOfNodes => 1, # OPTIONAL
40 );
41  
42 # Results:
43 my $Cluster = $ResizeClusterResult->Cluster;
44  
45 # Returns a L<Paws::RedShift::ResizeClusterResult> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/ResizeCluster>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 Classic => Bool
54  
55 A boolean value indicating whether the resize operation is using the
56 classic resize process. If you don't provide this parameter or set the
57 value to C<false>, the resize type is elastic.
58  
59  
60  
61 =head2 B<REQUIRED> ClusterIdentifier => Str
62  
63 The unique identifier for the cluster to resize.
64  
65  
66  
67 =head2 ClusterType => Str
68  
69 The new cluster type for the specified cluster.
70  
71  
72  
73 =head2 NodeType => Str
74  
75 The new node type for the nodes you are adding. If not specified, the
76 cluster's current node type is used.
77  
78  
79  
80 =head2 NumberOfNodes => Int
81  
82 The new number of nodes for the cluster. If not specified, the
83 cluster's current number of nodes is used.
84  
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, documenting arguments for method ResizeCluster in L<Paws::RedShift>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99