File Coverage

blib/lib/Paws/RedShift/TableRestoreStatus.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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