| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::RDS::CopyDBClusterSnapshot; |
|
3
|
1
|
|
|
1
|
|
542
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
|
|
has CopyTags => (is => 'ro', isa => 'Bool'); |
|
5
|
|
|
|
|
|
|
has KmsKeyId => (is => 'ro', isa => 'Str'); |
|
6
|
|
|
|
|
|
|
has PreSignedUrl => (is => 'ro', isa => 'Str'); |
|
7
|
|
|
|
|
|
|
has SourceDBClusterSnapshotIdentifier => (is => 'ro', isa => 'Str', required => 1); |
|
8
|
|
|
|
|
|
|
has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]'); |
|
9
|
|
|
|
|
|
|
has TargetDBClusterSnapshotIdentifier => (is => 'ro', isa => 'Str', required => 1); |
|
10
|
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
6471
|
use MooseX::ClassAttribute; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
8
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopyDBClusterSnapshot'); |
|
14
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::CopyDBClusterSnapshotResult'); |
|
15
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro', default => 'CopyDBClusterSnapshotResult'); |
|
16
|
|
|
|
|
|
|
1; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Paws::RDS::CopyDBClusterSnapshot - Arguments for method CopyDBClusterSnapshot on Paws::RDS |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CopyDBClusterSnapshot on the |
|
27
|
|
|
|
|
|
|
Amazon Relational Database Service service. Use the attributes of this class |
|
28
|
|
|
|
|
|
|
as arguments to method CopyDBClusterSnapshot. |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyDBClusterSnapshot. |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
As an example: |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$service_obj->CopyDBClusterSnapshot(Att1 => $value1, Att2 => $value2, ...); |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
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. |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 CopyTags => Bool |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
True to copy all tags from the source DB cluster snapshot to the target |
|
44
|
|
|
|
|
|
|
DB cluster snapshot; otherwise false. The default is false. |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 KmsKeyId => Str |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The AWS KMS key ID for an encrypted DB cluster snapshot. The KMS key ID |
|
51
|
|
|
|
|
|
|
is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key |
|
52
|
|
|
|
|
|
|
alias for the KMS encryption key. |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
If you copy an unencrypted DB cluster snapshot and specify a value for |
|
55
|
|
|
|
|
|
|
the C<KmsKeyId> parameter, Amazon RDS encrypts the target DB cluster |
|
56
|
|
|
|
|
|
|
snapshot using the specified KMS encryption key. |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
If you copy an encrypted DB cluster snapshot from your AWS account, you |
|
59
|
|
|
|
|
|
|
can specify a value for C<KmsKeyId> to encrypt the copy with a new KMS |
|
60
|
|
|
|
|
|
|
encryption key. If you don't specify a value for C<KmsKeyId>, then the |
|
61
|
|
|
|
|
|
|
copy of the DB cluster snapshot is encrypted with the same KMS key as |
|
62
|
|
|
|
|
|
|
the source DB cluster snapshot. |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
If you copy an encrypted DB cluster snapshot that is shared from |
|
65
|
|
|
|
|
|
|
another AWS account, then you must specify a value for C<KmsKeyId>. |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
To copy an encrypted DB cluster snapshot to another region, you must |
|
68
|
|
|
|
|
|
|
set C<KmsKeyId> to the KMS key ID you want to use to encrypt the copy |
|
69
|
|
|
|
|
|
|
of the DB cluster snapshot in the destination region. KMS encryption |
|
70
|
|
|
|
|
|
|
keys are specific to the region that they are created in, and you |
|
71
|
|
|
|
|
|
|
cannot use encryption keys from one region in another region. |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 PreSignedUrl => Str |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The URL that contains a Signature Version 4 signed request for the |
|
78
|
|
|
|
|
|
|
C<CopyDBClusterSnapshot> API action in the AWS region that contains the |
|
79
|
|
|
|
|
|
|
source DB cluster snapshot to copy. The C<PreSignedUrl> parameter must |
|
80
|
|
|
|
|
|
|
be used when copying an encrypted DB cluster snapshot from another AWS |
|
81
|
|
|
|
|
|
|
region. |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The pre-signed URL must be a valid request for the |
|
84
|
|
|
|
|
|
|
C<CopyDBSClusterSnapshot> API action that can be executed in the source |
|
85
|
|
|
|
|
|
|
region that contains the encrypted DB cluster snapshot to be copied. |
|
86
|
|
|
|
|
|
|
The pre-signed URL request must contain the following parameter values: |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=over |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item * |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
C<KmsKeyId> - The KMS key identifier for the key to use to encrypt the |
|
93
|
|
|
|
|
|
|
copy of the DB cluster snapshot in the destination region. This is the |
|
94
|
|
|
|
|
|
|
same identifier for both the C<CopyDBClusterSnapshot> action that is |
|
95
|
|
|
|
|
|
|
called in the destination region, and the action contained in the |
|
96
|
|
|
|
|
|
|
pre-signed URL. |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
C<DestinationRegion> - The name of the region that the DB cluster |
|
101
|
|
|
|
|
|
|
snapshot will be created in. |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=item * |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
C<SourceDBClusterSnapshotIdentifier> - The DB cluster snapshot |
|
106
|
|
|
|
|
|
|
identifier for the encrypted DB cluster snapshot to be copied. This |
|
107
|
|
|
|
|
|
|
identifier must be in the Amazon Resource Name (ARN) format for the |
|
108
|
|
|
|
|
|
|
source region. For example, if you are copying an encrypted DB cluster |
|
109
|
|
|
|
|
|
|
snapshot from the us-west-2 region, then your |
|
110
|
|
|
|
|
|
|
C<SourceDBClusterSnapshotIdentifier> looks like the following example: |
|
111
|
|
|
|
|
|
|
C<arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115>. |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=back |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
To learn how to generate a Signature Version 4 signed request, see |
|
116
|
|
|
|
|
|
|
Authenticating Requests: Using Query Parameters (AWS Signature Version |
|
117
|
|
|
|
|
|
|
4) and Signature Version 4 Signing Process. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 B<REQUIRED> SourceDBClusterSnapshotIdentifier => Str |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
The identifier of the DB cluster snapshot to copy. This parameter is |
|
124
|
|
|
|
|
|
|
not case-sensitive. |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
You cannot copy an encrypted, shared DB cluster snapshot from one AWS |
|
127
|
|
|
|
|
|
|
region to another. |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Constraints: |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=over |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=item * |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
Must contain from 1 to 63 alphanumeric characters or hyphens. |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=item * |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
First character must be a letter. |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=item * |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Cannot end with a hyphen or contain two consecutive hyphens. |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=item * |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
Must specify a valid system snapshot in the "available" state. |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=item * |
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
If the source snapshot is in the same region as the copy, specify a |
|
152
|
|
|
|
|
|
|
valid DB snapshot identifier. |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=item * |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
If the source snapshot is in a different region than the copy, specify |
|
157
|
|
|
|
|
|
|
a valid DB cluster snapshot ARN. For more information, go to Copying a |
|
158
|
|
|
|
|
|
|
DB Snapshot or DB Cluster Snapshot. |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=back |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
Example: C<my-cluster-snapshot1> |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=head2 Tags => ArrayRef[L<Paws::RDS::Tag>] |
|
167
|
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 B<REQUIRED> TargetDBClusterSnapshotIdentifier => Str |
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
The identifier of the new DB cluster snapshot to create from the source |
|
175
|
|
|
|
|
|
|
DB cluster snapshot. This parameter is not case-sensitive. |
|
176
|
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Constraints: |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=over |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=item * |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Must contain from 1 to 63 alphanumeric characters or hyphens. |
|
184
|
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=item * |
|
186
|
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
First character must be a letter. |
|
188
|
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=item * |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
Cannot end with a hyphen or contain two consecutive hyphens. |
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=back |
|
194
|
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
Example: C<my-cluster-snapshot2> |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
201
|
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CopyDBClusterSnapshot in L<Paws::RDS> |
|
203
|
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
207
|
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
209
|
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=cut |
|
211
|
|
|
|
|
|
|
|