File Coverage

blib/lib/Paws/Firehose/RedshiftDestinationConfiguration.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::Firehose::RedshiftDestinationConfiguration;
2 1     1   284 use Moose;
  1         3  
  1         6  
3             has CloudWatchLoggingOptions => (is => 'ro', isa => 'Paws::Firehose::CloudWatchLoggingOptions');
4             has ClusterJDBCURL => (is => 'ro', isa => 'Str', required => 1);
5             has CopyCommand => (is => 'ro', isa => 'Paws::Firehose::CopyCommand', required => 1);
6             has Password => (is => 'ro', isa => 'Str', required => 1);
7             has ProcessingConfiguration => (is => 'ro', isa => 'Paws::Firehose::ProcessingConfiguration');
8             has RetryOptions => (is => 'ro', isa => 'Paws::Firehose::RedshiftRetryOptions');
9             has RoleARN => (is => 'ro', isa => 'Str', required => 1);
10             has S3BackupConfiguration => (is => 'ro', isa => 'Paws::Firehose::S3DestinationConfiguration');
11             has S3BackupMode => (is => 'ro', isa => 'Str');
12             has S3Configuration => (is => 'ro', isa => 'Paws::Firehose::S3DestinationConfiguration', required => 1);
13             has Username => (is => 'ro', isa => 'Str', required => 1);
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::Firehose::RedshiftDestinationConfiguration
21              
22             =head1 USAGE
23              
24             This class represents one of two things:
25              
26             =head3 Arguments in a call to a service
27              
28             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29             Each attribute should be used as a named argument in the calls that expect this type of object.
30              
31             As an example, if Att1 is expected to be a Paws::Firehose::RedshiftDestinationConfiguration object:
32              
33             $service_obj->Method(Att1 => { CloudWatchLoggingOptions => $value, ..., Username => $value });
34              
35             =head3 Results returned from an API call
36              
37             Use accessors for each attribute. If Att1 is expected to be an Paws::Firehose::RedshiftDestinationConfiguration object:
38              
39             $result = $service_obj->Method(...);
40             $result->Att1->CloudWatchLoggingOptions
41              
42             =head1 DESCRIPTION
43              
44             Describes the configuration of a destination in Amazon Redshift.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 CloudWatchLoggingOptions => L<Paws::Firehose::CloudWatchLoggingOptions>
50              
51             The CloudWatch logging options for your delivery stream.
52              
53              
54             =head2 B<REQUIRED> ClusterJDBCURL => Str
55              
56             The database connection string.
57              
58              
59             =head2 B<REQUIRED> CopyCommand => L<Paws::Firehose::CopyCommand>
60              
61             The C<COPY> command.
62              
63              
64             =head2 B<REQUIRED> Password => Str
65              
66             The user password.
67              
68              
69             =head2 ProcessingConfiguration => L<Paws::Firehose::ProcessingConfiguration>
70              
71             The data processing configuration.
72              
73              
74             =head2 RetryOptions => L<Paws::Firehose::RedshiftRetryOptions>
75              
76             The retry behavior in case Kinesis Firehose is unable to deliver
77             documents to Amazon Redshift. Default value is 3600 (60 minutes).
78              
79              
80             =head2 B<REQUIRED> RoleARN => Str
81              
82             The ARN of the AWS credentials.
83              
84              
85             =head2 S3BackupConfiguration => L<Paws::Firehose::S3DestinationConfiguration>
86              
87             The configuration for backup in Amazon S3.
88              
89              
90             =head2 S3BackupMode => Str
91              
92             The Amazon S3 backup mode.
93              
94              
95             =head2 B<REQUIRED> S3Configuration => L<Paws::Firehose::S3DestinationConfiguration>
96              
97             The configuration for the intermediate Amazon S3 location from which
98             Amazon Redshift obtains data. Restrictions are described in the topic
99             for CreateDeliveryStream.
100              
101             The compression formats C<SNAPPY> or C<ZIP> cannot be specified in
102             B<RedshiftDestinationConfiguration.S3Configuration> because the Amazon
103             Redshift C<COPY> operation that reads from the S3 bucket doesn't
104             support these compression formats.
105              
106              
107             =head2 B<REQUIRED> Username => Str
108              
109             The name of the user.
110              
111              
112              
113             =head1 SEE ALSO
114              
115             This class forms part of L<Paws>, describing an object used in L<Paws::Firehose>
116              
117             =head1 BUGS and CONTRIBUTIONS
118              
119             The source code is located here: https://github.com/pplu/aws-sdk-perl
120              
121             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
122              
123             =cut
124