File Coverage

blib/lib/Paws/RDS/RestoreDBClusterFromS3.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RDS::RestoreDBClusterFromS3;
3 1     1   658 use Moose;
  1         3  
  1         11  
4             has AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has BackupRetentionPeriod => (is => 'ro', isa => 'Int');
6             has CharacterSetName => (is => 'ro', isa => 'Str');
7             has DatabaseName => (is => 'ro', isa => 'Str');
8             has DBClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
9             has DBClusterParameterGroupName => (is => 'ro', isa => 'Str');
10             has DBSubnetGroupName => (is => 'ro', isa => 'Str');
11             has EnableIAMDatabaseAuthentication => (is => 'ro', isa => 'Bool');
12             has Engine => (is => 'ro', isa => 'Str', required => 1);
13             has EngineVersion => (is => 'ro', isa => 'Str');
14             has KmsKeyId => (is => 'ro', isa => 'Str');
15             has MasterUsername => (is => 'ro', isa => 'Str', required => 1);
16             has MasterUserPassword => (is => 'ro', isa => 'Str', required => 1);
17             has OptionGroupName => (is => 'ro', isa => 'Str');
18             has Port => (is => 'ro', isa => 'Int');
19             has PreferredBackupWindow => (is => 'ro', isa => 'Str');
20             has PreferredMaintenanceWindow => (is => 'ro', isa => 'Str');
21             has S3BucketName => (is => 'ro', isa => 'Str', required => 1);
22             has S3IngestionRoleArn => (is => 'ro', isa => 'Str', required => 1);
23             has S3Prefix => (is => 'ro', isa => 'Str');
24             has SourceEngine => (is => 'ro', isa => 'Str', required => 1);
25             has SourceEngineVersion => (is => 'ro', isa => 'Str', required => 1);
26             has StorageEncrypted => (is => 'ro', isa => 'Bool');
27             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]');
28             has VpcSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
29              
30 1     1   8278 use MooseX::ClassAttribute;
  1         5  
  1         12  
31              
32             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RestoreDBClusterFromS3');
33             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::RestoreDBClusterFromS3Result');
34             class_has _result_key => (isa => 'Str', is => 'ro', default => 'RestoreDBClusterFromS3Result');
35             1;
36              
37             ### main pod documentation begin ###
38              
39             =head1 NAME
40              
41             Paws::RDS::RestoreDBClusterFromS3 - Arguments for method RestoreDBClusterFromS3 on Paws::RDS
42              
43             =head1 DESCRIPTION
44              
45             This class represents the parameters used for calling the method RestoreDBClusterFromS3 on the
46             Amazon Relational Database Service service. Use the attributes of this class
47             as arguments to method RestoreDBClusterFromS3.
48              
49             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RestoreDBClusterFromS3.
50              
51             As an example:
52              
53             $service_obj->RestoreDBClusterFromS3(Att1 => $value1, Att2 => $value2, ...);
54              
55             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.
56              
57             =head1 ATTRIBUTES
58              
59              
60             =head2 AvailabilityZones => ArrayRef[Str|Undef]
61              
62             A list of EC2 Availability Zones that instances in the restored DB
63             cluster can be created in.
64              
65              
66              
67             =head2 BackupRetentionPeriod => Int
68              
69             The number of days for which automated backups of the restored DB
70             cluster are retained. You must specify a minimum value of 1.
71              
72             Default: 1
73              
74             Constraints:
75              
76             =over
77              
78             =item *
79              
80             Must be a value from 1 to 35
81              
82             =back
83              
84              
85              
86              
87             =head2 CharacterSetName => Str
88              
89             A value that indicates that the restored DB cluster should be
90             associated with the specified CharacterSet.
91              
92              
93              
94             =head2 DatabaseName => Str
95              
96             The database name for the restored DB cluster.
97              
98              
99              
100             =head2 B<REQUIRED> DBClusterIdentifier => Str
101              
102             The name of the DB cluster to create from the source data in the S3
103             bucket. This parameter is isn't case-sensitive.
104              
105             Constraints:
106              
107             =over
108              
109             =item *
110              
111             Must contain from 1 to 63 alphanumeric characters or hyphens.
112              
113             =item *
114              
115             First character must be a letter.
116              
117             =item *
118              
119             Cannot end with a hyphen or contain two consecutive hyphens.
120              
121             =back
122              
123             Example: C<my-cluster1>
124              
125              
126              
127             =head2 DBClusterParameterGroupName => Str
128              
129             The name of the DB cluster parameter group to associate with the
130             restored DB cluster. If this argument is omitted, C<default.aurora5.6>
131             will be used.
132              
133             Constraints:
134              
135             =over
136              
137             =item *
138              
139             Must be 1 to 255 alphanumeric characters
140              
141             =item *
142              
143             First character must be a letter
144              
145             =item *
146              
147             Cannot end with a hyphen or contain two consecutive hyphens
148              
149             =back
150              
151              
152              
153              
154             =head2 DBSubnetGroupName => Str
155              
156             A DB subnet group to associate with the restored DB cluster.
157              
158             Constraints: Must contain no more than 255 alphanumeric characters,
159             periods, underscores, spaces, or hyphens. Must not be default.
160              
161             Example: C<mySubnetgroup>
162              
163              
164              
165             =head2 EnableIAMDatabaseAuthentication => Bool
166              
167             A Boolean value that is true to enable mapping of AWS Identity and
168             Access Management (IAM) accounts to database accounts, and otherwise
169             false.
170              
171             Default: C<false>
172              
173              
174              
175             =head2 B<REQUIRED> Engine => Str
176              
177             The name of the database engine to be used for the restored DB cluster.
178              
179             Valid Values: C<aurora>
180              
181              
182              
183             =head2 EngineVersion => Str
184              
185             The version number of the database engine to use.
186              
187             B<Aurora>
188              
189             Example: C<5.6.10a>
190              
191              
192              
193             =head2 KmsKeyId => Str
194              
195             The KMS key identifier for an encrypted DB cluster.
196              
197             The KMS key identifier is the Amazon Resource Name (ARN) for the KMS
198             encryption key. If you are creating a DB cluster with the same AWS
199             account that owns the KMS encryption key used to encrypt the new DB
200             cluster, then you can use the KMS key alias instead of the ARN for the
201             KM encryption key.
202              
203             If the C<StorageEncrypted> parameter is true, and you do not specify a
204             value for the C<KmsKeyId> parameter, then Amazon RDS will use your
205             default encryption key. AWS KMS creates the default encryption key for
206             your AWS account. Your AWS account has a different default encryption
207             key for each AWS region.
208              
209              
210              
211             =head2 B<REQUIRED> MasterUsername => Str
212              
213             The name of the master user for the restored DB cluster.
214              
215             Constraints:
216              
217             =over
218              
219             =item *
220              
221             Must be 1 to 16 alphanumeric characters.
222              
223             =item *
224              
225             First character must be a letter.
226              
227             =item *
228              
229             Cannot be a reserved word for the chosen database engine.
230              
231             =back
232              
233              
234              
235              
236             =head2 B<REQUIRED> MasterUserPassword => Str
237              
238             The password for the master database user. This password can contain
239             any printable ASCII character except "/", """, or "@".
240              
241             Constraints: Must contain from 8 to 41 characters.
242              
243              
244              
245             =head2 OptionGroupName => Str
246              
247             A value that indicates that the restored DB cluster should be
248             associated with the specified option group.
249              
250             Permanent options cannot be removed from an option group. An option
251             group cannot be removed from a DB cluster once it is associated with a
252             DB cluster.
253              
254              
255              
256             =head2 Port => Int
257              
258             The port number on which the instances in the restored DB cluster
259             accept connections.
260              
261             Default: C<3306>
262              
263              
264              
265             =head2 PreferredBackupWindow => Str
266              
267             The daily time range during which automated backups are created if
268             automated backups are enabled using the C<BackupRetentionPeriod>
269             parameter.
270              
271             Default: A 30-minute window selected at random from an 8-hour block of
272             time per region. To see the time blocks available, see Adjusting the
273             Preferred Maintenance Window in the I<Amazon RDS User Guide.>
274              
275             Constraints:
276              
277             =over
278              
279             =item *
280              
281             Must be in the format C<hh24:mi-hh24:mi>.
282              
283             =item *
284              
285             Times should be in Universal Coordinated Time (UTC).
286              
287             =item *
288              
289             Must not conflict with the preferred maintenance window.
290              
291             =item *
292              
293             Must be at least 30 minutes.
294              
295             =back
296              
297              
298              
299              
300             =head2 PreferredMaintenanceWindow => Str
301              
302             The weekly time range during which system maintenance can occur, in
303             Universal Coordinated Time (UTC).
304              
305             Format: C<ddd:hh24:mi-ddd:hh24:mi>
306              
307             Default: A 30-minute window selected at random from an 8-hour block of
308             time per region, occurring on a random day of the week. To see the time
309             blocks available, see Adjusting the Preferred Maintenance Window in the
310             I<Amazon RDS User Guide.>
311              
312             Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
313              
314             Constraints: Minimum 30-minute window.
315              
316              
317              
318             =head2 B<REQUIRED> S3BucketName => Str
319              
320             The name of the Amazon S3 bucket that contains the data used to create
321             the Amazon Aurora DB cluster.
322              
323              
324              
325             =head2 B<REQUIRED> S3IngestionRoleArn => Str
326              
327             The Amazon Resource Name (ARN) of the AWS Identity and Access
328             Management (IAM) role that authorizes Amazon RDS to access the Amazon
329             S3 bucket on your behalf.
330              
331              
332              
333             =head2 S3Prefix => Str
334              
335             The prefix for all of the file names that contain the data used to
336             create the Amazon Aurora DB cluster. If you do not specify a
337             B<SourceS3Prefix> value, then the Amazon Aurora DB cluster is created
338             by using all of the files in the Amazon S3 bucket.
339              
340              
341              
342             =head2 B<REQUIRED> SourceEngine => Str
343              
344             The identifier for the database engine that was backed up to create the
345             files stored in the Amazon S3 bucket.
346              
347             Valid values: C<mysql>
348              
349              
350              
351             =head2 B<REQUIRED> SourceEngineVersion => Str
352              
353             The version of the database that the backup files were created from.
354              
355             MySQL version 5.5 and 5.6 are supported.
356              
357             Example: C<5.6.22>
358              
359              
360              
361             =head2 StorageEncrypted => Bool
362              
363             Specifies whether the restored DB cluster is encrypted.
364              
365              
366              
367             =head2 Tags => ArrayRef[L<Paws::RDS::Tag>]
368              
369              
370              
371              
372              
373             =head2 VpcSecurityGroupIds => ArrayRef[Str|Undef]
374              
375             A list of EC2 VPC security groups to associate with the restored DB
376             cluster.
377              
378              
379              
380              
381             =head1 SEE ALSO
382              
383             This class forms part of L<Paws>, documenting arguments for method RestoreDBClusterFromS3 in L<Paws::RDS>
384              
385             =head1 BUGS and CONTRIBUTIONS
386              
387             The source code is located here: https://github.com/pplu/aws-sdk-perl
388              
389             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
390              
391             =cut
392