File Coverage

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