File Coverage

blib/lib/Paws/Firehose/CreateDeliveryStream.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::Firehose::CreateDeliveryStream;
3 1     1   488 use Moose;
  1         3  
  1         7  
4             has DeliveryStreamName => (is => 'ro', isa => 'Str', required => 1);
5             has DeliveryStreamType => (is => 'ro', isa => 'Str');
6             has ElasticsearchDestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::ElasticsearchDestinationConfiguration');
7             has ExtendedS3DestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::ExtendedS3DestinationConfiguration');
8             has KinesisStreamSourceConfiguration => (is => 'ro', isa => 'Paws::Firehose::KinesisStreamSourceConfiguration');
9             has RedshiftDestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::RedshiftDestinationConfiguration');
10             has S3DestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::S3DestinationConfiguration');
11              
12 1     1   6259 use MooseX::ClassAttribute;
  1         3  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDeliveryStream');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Firehose::CreateDeliveryStreamOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Firehose::CreateDeliveryStream - Arguments for method CreateDeliveryStream on Paws::Firehose
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CreateDeliveryStream on the
28             Amazon Kinesis Firehose service. Use the attributes of this class
29             as arguments to method CreateDeliveryStream.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDeliveryStream.
32              
33             As an example:
34              
35             $service_obj->CreateDeliveryStream(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> DeliveryStreamName => Str
43              
44             The name of the delivery stream. This name must be unique per AWS
45             account in the same region. If the delivery streams are in different
46             accounts or different regions, you can have multiple delivery streams
47             with the same name.
48              
49              
50              
51             =head2 DeliveryStreamType => Str
52              
53             The delivery stream type. This parameter can be one of the following
54             values:
55              
56             =over
57              
58             =item *
59              
60             C<DirectPut>: Provider applications access the delivery stream
61             directly.
62              
63             =item *
64              
65             C<KinesisStreamAsSource>: The delivery stream uses a Kinesis stream as
66             a source.
67              
68             =back
69              
70              
71             Valid values are: C<"DirectPut">, C<"KinesisStreamAsSource">
72              
73             =head2 ElasticsearchDestinationConfiguration => L<Paws::Firehose::ElasticsearchDestinationConfiguration>
74              
75             The destination in Amazon ES. You can specify only one destination.
76              
77              
78              
79             =head2 ExtendedS3DestinationConfiguration => L<Paws::Firehose::ExtendedS3DestinationConfiguration>
80              
81             The destination in Amazon S3. You can specify only one destination.
82              
83              
84              
85             =head2 KinesisStreamSourceConfiguration => L<Paws::Firehose::KinesisStreamSourceConfiguration>
86              
87             When a Kinesis stream is used as the source for the delivery stream, a
88             KinesisStreamSourceConfiguration containing the Kinesis stream ARN and
89             the role ARN for the source stream.
90              
91              
92              
93             =head2 RedshiftDestinationConfiguration => L<Paws::Firehose::RedshiftDestinationConfiguration>
94              
95             The destination in Amazon Redshift. You can specify only one
96             destination.
97              
98              
99              
100             =head2 S3DestinationConfiguration => L<Paws::Firehose::S3DestinationConfiguration>
101              
102             [Deprecated] The destination in Amazon S3. You can specify only one
103             destination.
104              
105              
106              
107              
108             =head1 SEE ALSO
109              
110             This class forms part of L<Paws>, documenting arguments for method CreateDeliveryStream in L<Paws::Firehose>
111              
112             =head1 BUGS and CONTRIBUTIONS
113              
114             The source code is located here: https://github.com/pplu/aws-sdk-perl
115              
116             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
117              
118             =cut
119