blib/lib/Paws/Firehose/RedshiftDestinationConfiguration.pm untested

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