blib/lib/Paws/RDS/StartDBInstanceAutomatedBackupsReplication.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RDS::StartDBInstanceAutomatedBackupsReplication;
3 use Moose;
4 has BackupRetentionPeriod => (is => 'ro', isa => 'Int');
5 has KmsKeyId => (is => 'ro', isa => 'Str');
6 has PreSignedUrl => (is => 'ro', isa => 'Str');
7 has SourceDBInstanceArn => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartDBInstanceAutomatedBackupsReplication');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::StartDBInstanceAutomatedBackupsReplicationResult');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'StartDBInstanceAutomatedBackupsReplicationResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RDS::StartDBInstanceAutomatedBackupsReplication - Arguments for method StartDBInstanceAutomatedBackupsReplication on L<Paws::RDS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method StartDBInstanceAutomatedBackupsReplication on the
25 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
26 as arguments to method StartDBInstanceAutomatedBackupsReplication.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartDBInstanceAutomatedBackupsReplication.
29  
30 =head1 SYNOPSIS
31  
32 my $rds = Paws->service('RDS');
33 my $StartDBInstanceAutomatedBackupsReplicationResult =
34 $rds->StartDBInstanceAutomatedBackupsReplication(
35 SourceDBInstanceArn => 'MyString',
36 BackupRetentionPeriod => 1, # OPTIONAL
37 KmsKeyId => 'MyString', # OPTIONAL
38 PreSignedUrl => 'MyString', # OPTIONAL
39 );
40  
41 # Results:
42 my $DBInstanceAutomatedBackup =
43 $StartDBInstanceAutomatedBackupsReplicationResult
44 ->DBInstanceAutomatedBackup;
45  
46 # Returns a L<Paws::RDS::StartDBInstanceAutomatedBackupsReplicationResult> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/StartDBInstanceAutomatedBackupsReplication>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 BackupRetentionPeriod => Int
55  
56 The retention period for the replicated automated backups.
57  
58  
59  
60 =head2 KmsKeyId => Str
61  
62 The Amazon Web Services KMS key identifier for encryption of the
63 replicated automated backups. The KMS key ID is the Amazon Resource
64 Name (ARN) for the KMS encryption key in the destination Amazon Web
65 Services Region, for example,
66 C<arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE>.
67  
68  
69  
70 =head2 PreSignedUrl => Str
71  
72 A URL that contains a Signature Version 4 signed request for the
73 StartDBInstanceAutomatedBackupsReplication action to be called in the
74 Amazon Web Services Region of the source DB instance. The presigned URL
75 must be a valid request for the
76 StartDBInstanceAutomatedBackupsReplication API action that can be
77 executed in the Amazon Web Services Region that contains the source DB
78 instance.
79  
80  
81  
82 =head2 B<REQUIRED> SourceDBInstanceArn => Str
83  
84 The Amazon Resource Name (ARN) of the source DB instance for the
85 replicated automated backups, for example,
86 C<arn:aws:rds:us-west-2:123456789012:db:mydatabase>.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method StartDBInstanceAutomatedBackupsReplication in L<Paws::RDS>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102