File Coverage

blib/lib/Paws/RedShift/RestoreTableFromClusterSnapshot.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::RedShift::RestoreTableFromClusterSnapshot;
3 1     1   275 use Moose;
  1         3  
  1         6  
4             has ClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
5             has NewTableName => (is => 'ro', isa => 'Str', required => 1);
6             has SnapshotIdentifier => (is => 'ro', isa => 'Str', required => 1);
7             has SourceDatabaseName => (is => 'ro', isa => 'Str', required => 1);
8             has SourceSchemaName => (is => 'ro', isa => 'Str');
9             has SourceTableName => (is => 'ro', isa => 'Str', required => 1);
10             has TargetDatabaseName => (is => 'ro', isa => 'Str');
11             has TargetSchemaName => (is => 'ro', isa => 'Str');
12              
13 1     1   5385 use MooseX::ClassAttribute;
  1         4  
  1         9  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RestoreTableFromClusterSnapshot');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::RestoreTableFromClusterSnapshotResult');
17             class_has _result_key => (isa => 'Str', is => 'ro', default => 'RestoreTableFromClusterSnapshotResult');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::RedShift::RestoreTableFromClusterSnapshot - Arguments for method RestoreTableFromClusterSnapshot on Paws::RedShift
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method RestoreTableFromClusterSnapshot on the
29             Amazon Redshift service. Use the attributes of this class
30             as arguments to method RestoreTableFromClusterSnapshot.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RestoreTableFromClusterSnapshot.
33              
34             As an example:
35              
36             $service_obj->RestoreTableFromClusterSnapshot(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 B<REQUIRED> ClusterIdentifier => Str
44              
45             The identifier of the Amazon Redshift cluster to restore the table to.
46              
47              
48              
49             =head2 B<REQUIRED> NewTableName => Str
50              
51             The name of the table to create as a result of the current request.
52              
53              
54              
55             =head2 B<REQUIRED> SnapshotIdentifier => Str
56              
57             The identifier of the snapshot to restore the table from. This snapshot
58             must have been created from the Amazon Redshift cluster specified by
59             the C<ClusterIdentifier> parameter.
60              
61              
62              
63             =head2 B<REQUIRED> SourceDatabaseName => Str
64              
65             The name of the source database that contains the table to restore
66             from.
67              
68              
69              
70             =head2 SourceSchemaName => Str
71              
72             The name of the source schema that contains the table to restore from.
73             If you do not specify a C<SourceSchemaName> value, the default is
74             C<public>.
75              
76              
77              
78             =head2 B<REQUIRED> SourceTableName => Str
79              
80             The name of the source table to restore from.
81              
82              
83              
84             =head2 TargetDatabaseName => Str
85              
86             The name of the database to restore the table to.
87              
88              
89              
90             =head2 TargetSchemaName => Str
91              
92             The name of the schema to restore the table to.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method RestoreTableFromClusterSnapshot in L<Paws::RedShift>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108