blib/lib/Paws/RDS/BacktrackDBCluster.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::BacktrackDBCluster;
3 use Moose;
4 has BacktrackTo => (is => 'ro', isa => 'Str', required => 1);
5 has DBClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
6 has Force => (is => 'ro', isa => 'Bool');
7 has UseEarliestTimeOnPointInTimeUnavailable => (is => 'ro', isa => 'Bool');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'BacktrackDBCluster');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::DBClusterBacktrack');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'BacktrackDBClusterResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RDS::BacktrackDBCluster - Arguments for method BacktrackDBCluster on L<Paws::RDS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method BacktrackDBCluster on the
25 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
26 as arguments to method BacktrackDBCluster.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BacktrackDBCluster.
29  
30 =head1 SYNOPSIS
31  
32 my $rds = Paws->service('RDS');
33 my $DBClusterBacktrack = $rds->BacktrackDBCluster(
34 BacktrackTo => '1970-01-01T01:00:00',
35 DBClusterIdentifier => 'MyString',
36 Force => 1, # OPTIONAL
37 UseEarliestTimeOnPointInTimeUnavailable => 1, # OPTIONAL
38 );
39  
40 # Results:
41 my $BacktrackIdentifier = $DBClusterBacktrack->BacktrackIdentifier;
42 my $BacktrackRequestCreationTime =
43 $DBClusterBacktrack->BacktrackRequestCreationTime;
44 my $BacktrackTo = $DBClusterBacktrack->BacktrackTo;
45 my $BacktrackedFrom = $DBClusterBacktrack->BacktrackedFrom;
46 my $DBClusterIdentifier = $DBClusterBacktrack->DBClusterIdentifier;
47 my $Status = $DBClusterBacktrack->Status;
48  
49 # Returns a L<Paws::RDS::DBClusterBacktrack> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/BacktrackDBCluster>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 B<REQUIRED> BacktrackTo => Str
58  
59 The timestamp of the time to backtrack the DB cluster to, specified in
60 ISO 8601 format. For more information about ISO 8601, see the ISO8601
61 Wikipedia page. (http://en.wikipedia.org/wiki/ISO_8601)
62  
63 If the specified time isn't a consistent time for the DB cluster,
64 Aurora automatically chooses the nearest possible consistent time for
65 the DB cluster.
66  
67 Constraints:
68  
69 =over
70  
71 =item *
72  
73 Must contain a valid ISO 8601 timestamp.
74  
75 =item *
76  
77 Can't contain a timestamp set in the future.
78  
79 =back
80  
81 Example: C<2017-07-08T18:00Z>
82  
83  
84  
85 =head2 B<REQUIRED> DBClusterIdentifier => Str
86  
87 The DB cluster identifier of the DB cluster to be backtracked. This
88 parameter is stored as a lowercase string.
89  
90 Constraints:
91  
92 =over
93  
94 =item *
95  
96 Must contain from 1 to 63 alphanumeric characters or hyphens.
97  
98 =item *
99  
100 First character must be a letter.
101  
102 =item *
103  
104 Can't end with a hyphen or contain two consecutive hyphens.
105  
106 =back
107  
108 Example: C<my-cluster1>
109  
110  
111  
112 =head2 Force => Bool
113  
114 A value that indicates whether to force the DB cluster to backtrack
115 when binary logging is enabled. Otherwise, an error occurs when binary
116 logging is enabled.
117  
118  
119  
120 =head2 UseEarliestTimeOnPointInTimeUnavailable => Bool
121  
122 A value that indicates whether to backtrack the DB cluster to the
123 earliest possible backtrack time when I<BacktrackTo> is set to a
124 timestamp earlier than the earliest backtrack time. When this parameter
125 is disabled and I<BacktrackTo> is set to a timestamp earlier than the
126 earliest backtrack time, an error occurs.
127  
128  
129  
130  
131 =head1 SEE ALSO
132  
133 This class forms part of L<Paws>, documenting arguments for method BacktrackDBCluster in L<Paws::RDS>
134  
135 =head1 BUGS and CONTRIBUTIONS
136  
137 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
138  
139 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
140  
141 =cut
142