File Coverage

blib/lib/Paws/RedShift/CopyClusterSnapshot.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RedShift::CopyClusterSnapshot;
3 1     1   577 use Moose;
  1     1   4  
  1         15  
  1         451  
  1         3  
  1         8  
4             has SourceSnapshotClusterIdentifier => (is => 'ro', isa => 'Str');
5             has SourceSnapshotIdentifier => (is => 'ro', isa => 'Str', required => 1);
6             has TargetSnapshotIdentifier => (is => 'ro', isa => 'Str', required => 1);
7              
8 1     1   9720 use MooseX::ClassAttribute;
  1     1   4  
  1         10  
  1         6652  
  1         3  
  1         7  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopyClusterSnapshot');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::CopyClusterSnapshotResult');
12             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CopyClusterSnapshotResult');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::RedShift::CopyClusterSnapshot - Arguments for method CopyClusterSnapshot on Paws::RedShift
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method CopyClusterSnapshot on the
24             Amazon Redshift service. Use the attributes of this class
25             as arguments to method CopyClusterSnapshot.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyClusterSnapshot.
28              
29             As an example:
30              
31             $service_obj->CopyClusterSnapshot(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 SourceSnapshotClusterIdentifier => Str
39              
40             The identifier of the cluster the source snapshot was created from.
41             This parameter is required if your IAM user has a policy containing a
42             snapshot resource element that specifies anything other than * for the
43             cluster name.
44              
45             Constraints:
46              
47             =over
48              
49             =item *
50              
51             Must be the identifier for a valid cluster.
52              
53             =back
54              
55              
56              
57              
58             =head2 B<REQUIRED> SourceSnapshotIdentifier => Str
59              
60             The identifier for the source snapshot.
61              
62             Constraints:
63              
64             =over
65              
66             =item *
67              
68             Must be the identifier for a valid automated snapshot whose state is
69             C<available>.
70              
71             =back
72              
73              
74              
75              
76             =head2 B<REQUIRED> TargetSnapshotIdentifier => Str
77              
78             The identifier given to the new manual snapshot.
79              
80             Constraints:
81              
82             =over
83              
84             =item *
85              
86             Cannot be null, empty, or blank.
87              
88             =item *
89              
90             Must contain from 1 to 255 alphanumeric characters or hyphens.
91              
92             =item *
93              
94             First character must be a letter.
95              
96             =item *
97              
98             Cannot end with a hyphen or contain two consecutive hyphens.
99              
100             =item *
101              
102             Must be unique for the AWS account that is making the request.
103              
104             =back
105              
106              
107              
108              
109              
110             =head1 SEE ALSO
111              
112             This class forms part of L<Paws>, documenting arguments for method CopyClusterSnapshot in L<Paws::RedShift>
113              
114             =head1 BUGS and CONTRIBUTIONS
115              
116             The source code is located here: https://github.com/pplu/aws-sdk-perl
117              
118             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
119              
120             =cut
121