blib/lib/Paws/RedShift/TableRestoreStatus.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::RedShift::TableRestoreStatus;
3 use Moose;
4 has ClusterIdentifier => (is => 'ro', isa => 'Str');
5 has Message => (is => 'ro', isa => 'Str');
6 has NewTableName => (is => 'ro', isa => 'Str');
7 has ProgressInMegaBytes => (is => 'ro', isa => 'Int');
8 has RequestTime => (is => 'ro', isa => 'Str');
9 has SnapshotIdentifier => (is => 'ro', isa => 'Str');
10 has SourceDatabaseName => (is => 'ro', isa => 'Str');
11 has SourceSchemaName => (is => 'ro', isa => 'Str');
12 has SourceTableName => (is => 'ro', isa => 'Str');
13 has Status => (is => 'ro', isa => 'Str');
14 has TableRestoreRequestId => (is => 'ro', isa => 'Str');
15 has TargetDatabaseName => (is => 'ro', isa => 'Str');
16 has TargetSchemaName => (is => 'ro', isa => 'Str');
17 has TotalDataInMegaBytes => (is => 'ro', isa => 'Int');
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::RedShift::TableRestoreStatus
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::RedShift::TableRestoreStatus object:
37  
38 $service_obj->Method(Att1 => { ClusterIdentifier => $value, ..., TotalDataInMegaBytes => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::TableRestoreStatus object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->ClusterIdentifier
46  
47 =head1 DESCRIPTION
48  
49 Describes the status of a RestoreTableFromClusterSnapshot operation.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 ClusterIdentifier => Str
55  
56 The identifier of the Amazon Redshift cluster that the table is being
57 restored to.
58  
59  
60 =head2 Message => Str
61  
62 A description of the status of the table restore request. Status values
63 include C<SUCCEEDED>, C<FAILED>, C<CANCELED>, C<PENDING>,
64 C<IN_PROGRESS>.
65  
66  
67 =head2 NewTableName => Str
68  
69 The name of the table to create as a result of the table restore
70 request.
71  
72  
73 =head2 ProgressInMegaBytes => Int
74  
75 The amount of data restored to the new table so far, in megabytes (MB).
76  
77  
78 =head2 RequestTime => Str
79  
80 The time that the table restore request was made, in Universal
81 Coordinated Time (UTC).
82  
83  
84 =head2 SnapshotIdentifier => Str
85  
86 The identifier of the snapshot that the table is being restored from.
87  
88  
89 =head2 SourceDatabaseName => Str
90  
91 The name of the source database that contains the table being restored.
92  
93  
94 =head2 SourceSchemaName => Str
95  
96 The name of the source schema that contains the table being restored.
97  
98  
99 =head2 SourceTableName => Str
100  
101 The name of the source table being restored.
102  
103  
104 =head2 Status => Str
105  
106 A value that describes the current state of the table restore request.
107  
108 Valid Values: C<SUCCEEDED>, C<FAILED>, C<CANCELED>, C<PENDING>,
109 C<IN_PROGRESS>
110  
111  
112 =head2 TableRestoreRequestId => Str
113  
114 The unique identifier for the table restore request.
115  
116  
117 =head2 TargetDatabaseName => Str
118  
119 The name of the database to restore the table to.
120  
121  
122 =head2 TargetSchemaName => Str
123  
124 The name of the schema to restore the table to.
125  
126  
127 =head2 TotalDataInMegaBytes => Int
128  
129 The total amount of data to restore to the new table, in megabytes
130 (MB).
131  
132  
133  
134 =head1 SEE ALSO
135  
136 This class forms part of L<Paws>, describing an object used in L<Paws::RedShift>
137  
138 =head1 BUGS and CONTRIBUTIONS
139  
140 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
141  
142 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
143  
144 =cut
145