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

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Firehose::CreateDeliveryStream;
3 use Moose;
4 has DeliveryStreamEncryptionConfigurationInput => (is => 'ro', isa => 'Paws::Firehose::DeliveryStreamEncryptionConfigurationInput');
5 has DeliveryStreamName => (is => 'ro', isa => 'Str', required => 1);
6 has DeliveryStreamType => (is => 'ro', isa => 'Str');
7 has ElasticsearchDestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::ElasticsearchDestinationConfiguration');
8 has ExtendedS3DestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::ExtendedS3DestinationConfiguration');
9 has HttpEndpointDestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::HttpEndpointDestinationConfiguration');
10 has KinesisStreamSourceConfiguration => (is => 'ro', isa => 'Paws::Firehose::KinesisStreamSourceConfiguration');
11 has RedshiftDestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::RedshiftDestinationConfiguration');
12 has S3DestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::S3DestinationConfiguration');
13 has SplunkDestinationConfiguration => (is => 'ro', isa => 'Paws::Firehose::SplunkDestinationConfiguration');
14 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Firehose::Tag]');
15  
16 use MooseX::ClassAttribute;
17  
18 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDeliveryStream');
19 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Firehose::CreateDeliveryStreamOutput');
20 class_has _result_key => (isa => 'Str', is => 'ro');
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::Firehose::CreateDeliveryStream - Arguments for method CreateDeliveryStream on L<Paws::Firehose>
28  
29 =head1 DESCRIPTION
30  
31 This class represents the parameters used for calling the method CreateDeliveryStream on the
32 L<Amazon Kinesis Firehose|Paws::Firehose> service. Use the attributes of this class
33 as arguments to method CreateDeliveryStream.
34  
35 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDeliveryStream.
36  
37 =head1 SYNOPSIS
38  
39 my $firehose = Paws->service('Firehose');
40 my $CreateDeliveryStreamOutput = $firehose->CreateDeliveryStream(
41 DeliveryStreamName => 'MyDeliveryStreamName',
42 DeliveryStreamEncryptionConfigurationInput => {
43 KeyType =>
44 'AWS_OWNED_CMK', # values: AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
45 KeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
46 }, # OPTIONAL
47 DeliveryStreamType => 'DirectPut', # OPTIONAL
48 ElasticsearchDestinationConfiguration => {
49 IndexName => 'MyElasticsearchIndexName', # min: 1, max: 80
50 RoleARN => 'MyRoleARN', # min: 1, max: 512
51 S3Configuration => {
52 BucketARN => 'MyBucketARN', # min: 1, max: 2048
53 RoleARN => 'MyRoleARN', # min: 1, max: 512
54 BufferingHints => {
55 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
56 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
57 }, # OPTIONAL
58 CloudWatchLoggingOptions => {
59 Enabled => 1, # OPTIONAL
60 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
61 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
62 }, # OPTIONAL
63 CompressionFormat => 'UNCOMPRESSED'
64 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
65 EncryptionConfiguration => {
66 KMSEncryptionConfig => {
67 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
68  
69 }, # OPTIONAL
70 NoEncryptionConfig =>
71 'NoEncryption', # values: NoEncryption; OPTIONAL
72 }, # OPTIONAL
73 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
74 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
75 },
76 BufferingHints => {
77 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
78 SizeInMBs => 1, # min: 1, max: 100; OPTIONAL
79 }, # OPTIONAL
80 CloudWatchLoggingOptions => {
81 Enabled => 1, # OPTIONAL
82 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
83 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
84 }, # OPTIONAL
85 ClusterEndpoint =>
86 'MyElasticsearchClusterEndpoint', # min: 1, max: 512; OPTIONAL
87 DomainARN => 'MyElasticsearchDomainARN', # min: 1, max: 512; OPTIONAL
88 IndexRotationPeriod => 'NoRotation'
89 , # values: NoRotation, OneHour, OneDay, OneWeek, OneMonth; OPTIONAL
90 ProcessingConfiguration => {
91 Enabled => 1, # OPTIONAL
92 Processors => [
93 {
94 Type => 'Lambda', # values: Lambda
95 Parameters => [
96 {
97 ParameterName => 'LambdaArn'
98 , # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
99 ParameterValue =>
100 'MyProcessorParameterValue', # min: 1, max: 512
101  
102 },
103 ...
104 ], # OPTIONAL
105 },
106 ...
107 ], # OPTIONAL
108 }, # OPTIONAL
109 RetryOptions => {
110 DurationInSeconds => 1, # max: 7200; OPTIONAL
111 }, # OPTIONAL
112 S3BackupMode => 'FailedDocumentsOnly'
113 , # values: FailedDocumentsOnly, AllDocuments; OPTIONAL
114 TypeName => 'MyElasticsearchTypeName', # max: 100; OPTIONAL
115 VpcConfiguration => {
116 RoleARN => 'MyRoleARN', # min: 1, max: 512
117 SecurityGroupIds => [
118 'MyNonEmptyStringWithoutWhitespace', ... # min: 1, max: 1024
119 ], # min: 1, max: 5
120 SubnetIds => [
121 'MyNonEmptyStringWithoutWhitespace', ... # min: 1, max: 1024
122 ], # min: 1, max: 16
123  
124 }, # OPTIONAL
125 }, # OPTIONAL
126 ExtendedS3DestinationConfiguration => {
127 BucketARN => 'MyBucketARN', # min: 1, max: 2048
128 RoleARN => 'MyRoleARN', # min: 1, max: 512
129 BufferingHints => {
130 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
131 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
132 }, # OPTIONAL
133 CloudWatchLoggingOptions => {
134 Enabled => 1, # OPTIONAL
135 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
136 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
137 }, # OPTIONAL
138 CompressionFormat => 'UNCOMPRESSED'
139 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
140 DataFormatConversionConfiguration => {
141 Enabled => 1, # OPTIONAL
142 InputFormatConfiguration => {
143 Deserializer => {
144 HiveJsonSerDe => {
145 TimestampFormats => [
146 'MyNonEmptyString', ... # min: 1, max: 1024
147 ], # OPTIONAL
148 }, # OPTIONAL
149 OpenXJsonSerDe => {
150 CaseInsensitive => 1, # OPTIONAL
151 ColumnToJsonKeyMappings => {
152 'MyNonEmptyStringWithoutWhitespace' => 'MyNonEmptyString'
153 , # key: min: 1, max: 1024, value: min: 1, max: 1024
154 }, # OPTIONAL
155 ConvertDotsInJsonKeysToUnderscores => 1, # OPTIONAL
156 }, # OPTIONAL
157 }, # OPTIONAL
158 }, # OPTIONAL
159 OutputFormatConfiguration => {
160 Serializer => {
161 OrcSerDe => {
162 BlockSizeBytes => 1, # min: 67108864; OPTIONAL
163 BloomFilterColumns => [
164 'MyNonEmptyStringWithoutWhitespace', ... # min: 1, max: 1024
165 ], # OPTIONAL
166 BloomFilterFalsePositiveProbability => 1, # max: 1; OPTIONAL
167 Compression => 'NONE', # values: NONE, ZLIB, SNAPPY; OPTIONAL
168 DictionaryKeyThreshold => 1, # max: 1; OPTIONAL
169 EnablePadding => 1, # OPTIONAL
170 FormatVersion => 'V0_11', # values: V0_11, V0_12; OPTIONAL
171 PaddingTolerance => 1, # max: 1; OPTIONAL
172 RowIndexStride => 1, # min: 1000; OPTIONAL
173 StripeSizeBytes => 1, # min: 8388608; OPTIONAL
174 }, # OPTIONAL
175 ParquetSerDe => {
176 BlockSizeBytes => 1, # min: 67108864; OPTIONAL
177 Compression =>
178 'UNCOMPRESSED', # values: UNCOMPRESSED, GZIP, SNAPPY; OPTIONAL
179 EnableDictionaryCompression => 1, # OPTIONAL
180 MaxPaddingBytes => 1, # OPTIONAL
181 PageSizeBytes => 1, # min: 65536; OPTIONAL
182 WriterVersion => 'V1', # values: V1, V2; OPTIONAL
183 }, # OPTIONAL
184 }, # OPTIONAL
185 }, # OPTIONAL
186 SchemaConfiguration => {
187 CatalogId =>
188 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
189 DatabaseName =>
190 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
191 Region => 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
192 RoleARN => 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
193 TableName =>
194 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
195 VersionId =>
196 'MyNonEmptyStringWithoutWhitespace', # min: 1, max: 1024
197 }, # OPTIONAL
198 }, # OPTIONAL
199 EncryptionConfiguration => {
200 KMSEncryptionConfig => {
201 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
202  
203 }, # OPTIONAL
204 NoEncryptionConfig => 'NoEncryption', # values: NoEncryption; OPTIONAL
205 }, # OPTIONAL
206 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
207 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
208 ProcessingConfiguration => {
209 Enabled => 1, # OPTIONAL
210 Processors => [
211 {
212 Type => 'Lambda', # values: Lambda
213 Parameters => [
214 {
215 ParameterName => 'LambdaArn'
216 , # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
217 ParameterValue =>
218 'MyProcessorParameterValue', # min: 1, max: 512
219  
220 },
221 ...
222 ], # OPTIONAL
223 },
224 ...
225 ], # OPTIONAL
226 }, # OPTIONAL
227 S3BackupConfiguration => {
228 BucketARN => 'MyBucketARN', # min: 1, max: 2048
229 RoleARN => 'MyRoleARN', # min: 1, max: 512
230 BufferingHints => {
231 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
232 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
233 }, # OPTIONAL
234 CloudWatchLoggingOptions => {
235 Enabled => 1, # OPTIONAL
236 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
237 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
238 }, # OPTIONAL
239 CompressionFormat => 'UNCOMPRESSED'
240 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
241 EncryptionConfiguration => {
242 KMSEncryptionConfig => {
243 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
244  
245 }, # OPTIONAL
246 NoEncryptionConfig =>
247 'NoEncryption', # values: NoEncryption; OPTIONAL
248 }, # OPTIONAL
249 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
250 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
251 },
252 S3BackupMode => 'Disabled', # values: Disabled, Enabled; OPTIONAL
253 }, # OPTIONAL
254 HttpEndpointDestinationConfiguration => {
255 EndpointConfiguration => {
256 Url => 'MyHttpEndpointUrl', # min: 1, max: 1000
257 AccessKey => 'MyHttpEndpointAccessKey', # max: 4096; OPTIONAL
258 Name => 'MyHttpEndpointName', # min: 1, max: 256; OPTIONAL
259 },
260 S3Configuration => {
261 BucketARN => 'MyBucketARN', # min: 1, max: 2048
262 RoleARN => 'MyRoleARN', # min: 1, max: 512
263 BufferingHints => {
264 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
265 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
266 }, # OPTIONAL
267 CloudWatchLoggingOptions => {
268 Enabled => 1, # OPTIONAL
269 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
270 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
271 }, # OPTIONAL
272 CompressionFormat => 'UNCOMPRESSED'
273 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
274 EncryptionConfiguration => {
275 KMSEncryptionConfig => {
276 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
277  
278 }, # OPTIONAL
279 NoEncryptionConfig =>
280 'NoEncryption', # values: NoEncryption; OPTIONAL
281 }, # OPTIONAL
282 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
283 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
284 },
285 BufferingHints => {
286 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
287 SizeInMBs => 1, # min: 1, max: 64; OPTIONAL
288 }, # OPTIONAL
289 CloudWatchLoggingOptions => {
290 Enabled => 1, # OPTIONAL
291 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
292 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
293 }, # OPTIONAL
294 ProcessingConfiguration => {
295 Enabled => 1, # OPTIONAL
296 Processors => [
297 {
298 Type => 'Lambda', # values: Lambda
299 Parameters => [
300 {
301 ParameterName => 'LambdaArn'
302 , # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
303 ParameterValue =>
304 'MyProcessorParameterValue', # min: 1, max: 512
305  
306 },
307 ...
308 ], # OPTIONAL
309 },
310 ...
311 ], # OPTIONAL
312 }, # OPTIONAL
313 RequestConfiguration => {
314 CommonAttributes => [
315 {
316 AttributeName => 'MyHttpEndpointAttributeName', # min: 1, max: 256
317 AttributeValue => 'MyHttpEndpointAttributeValue', # max: 1024
318  
319 },
320 ...
321 ], # max: 50; OPTIONAL
322 ContentEncoding => 'NONE', # values: NONE, GZIP; OPTIONAL
323 }, # OPTIONAL
324 RetryOptions => {
325 DurationInSeconds => 1, # max: 7200; OPTIONAL
326 }, # OPTIONAL
327 RoleARN => 'MyRoleARN', # min: 1, max: 512
328 S3BackupMode =>
329 'FailedDataOnly', # values: FailedDataOnly, AllData; OPTIONAL
330 }, # OPTIONAL
331 KinesisStreamSourceConfiguration => {
332 KinesisStreamARN => 'MyKinesisStreamARN', # min: 1, max: 512
333 RoleARN => 'MyRoleARN', # min: 1, max: 512
334  
335 }, # OPTIONAL
336 RedshiftDestinationConfiguration => {
337 ClusterJDBCURL => 'MyClusterJDBCURL', # min: 1, max: 512
338 CopyCommand => {
339 DataTableName => 'MyDataTableName', # min: 1, max: 512
340 CopyOptions => 'MyCopyOptions', # max: 204800; OPTIONAL
341 DataTableColumns => 'MyDataTableColumns', # max: 204800; OPTIONAL
342 },
343 Password => 'MyPassword', # min: 6, max: 512
344 RoleARN => 'MyRoleARN', # min: 1, max: 512
345 S3Configuration => {
346 BucketARN => 'MyBucketARN', # min: 1, max: 2048
347 RoleARN => 'MyRoleARN', # min: 1, max: 512
348 BufferingHints => {
349 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
350 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
351 }, # OPTIONAL
352 CloudWatchLoggingOptions => {
353 Enabled => 1, # OPTIONAL
354 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
355 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
356 }, # OPTIONAL
357 CompressionFormat => 'UNCOMPRESSED'
358 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
359 EncryptionConfiguration => {
360 KMSEncryptionConfig => {
361 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
362  
363 }, # OPTIONAL
364 NoEncryptionConfig =>
365 'NoEncryption', # values: NoEncryption; OPTIONAL
366 }, # OPTIONAL
367 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
368 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
369 },
370 Username => 'MyUsername', # min: 1, max: 512
371 CloudWatchLoggingOptions => {
372 Enabled => 1, # OPTIONAL
373 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
374 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
375 }, # OPTIONAL
376 ProcessingConfiguration => {
377 Enabled => 1, # OPTIONAL
378 Processors => [
379 {
380 Type => 'Lambda', # values: Lambda
381 Parameters => [
382 {
383 ParameterName => 'LambdaArn'
384 , # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
385 ParameterValue =>
386 'MyProcessorParameterValue', # min: 1, max: 512
387  
388 },
389 ...
390 ], # OPTIONAL
391 },
392 ...
393 ], # OPTIONAL
394 }, # OPTIONAL
395 RetryOptions => {
396 DurationInSeconds => 1, # max: 7200; OPTIONAL
397 }, # OPTIONAL
398 S3BackupConfiguration => {
399 BucketARN => 'MyBucketARN', # min: 1, max: 2048
400 RoleARN => 'MyRoleARN', # min: 1, max: 512
401 BufferingHints => {
402 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
403 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
404 }, # OPTIONAL
405 CloudWatchLoggingOptions => {
406 Enabled => 1, # OPTIONAL
407 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
408 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
409 }, # OPTIONAL
410 CompressionFormat => 'UNCOMPRESSED'
411 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
412 EncryptionConfiguration => {
413 KMSEncryptionConfig => {
414 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
415  
416 }, # OPTIONAL
417 NoEncryptionConfig =>
418 'NoEncryption', # values: NoEncryption; OPTIONAL
419 }, # OPTIONAL
420 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
421 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
422 },
423 S3BackupMode => 'Disabled', # values: Disabled, Enabled; OPTIONAL
424 }, # OPTIONAL
425 S3DestinationConfiguration => {
426 BucketARN => 'MyBucketARN', # min: 1, max: 2048
427 RoleARN => 'MyRoleARN', # min: 1, max: 512
428 BufferingHints => {
429 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
430 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
431 }, # OPTIONAL
432 CloudWatchLoggingOptions => {
433 Enabled => 1, # OPTIONAL
434 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
435 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
436 }, # OPTIONAL
437 CompressionFormat => 'UNCOMPRESSED'
438 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
439 EncryptionConfiguration => {
440 KMSEncryptionConfig => {
441 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
442  
443 }, # OPTIONAL
444 NoEncryptionConfig => 'NoEncryption', # values: NoEncryption; OPTIONAL
445 }, # OPTIONAL
446 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
447 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
448 }, # OPTIONAL
449 SplunkDestinationConfiguration => {
450 HECEndpoint => 'MyHECEndpoint', # max: 2048
451 HECEndpointType => 'Raw', # values: Raw, Event
452 HECToken => 'MyHECToken', # max: 2048
453 S3Configuration => {
454 BucketARN => 'MyBucketARN', # min: 1, max: 2048
455 RoleARN => 'MyRoleARN', # min: 1, max: 512
456 BufferingHints => {
457 IntervalInSeconds => 1, # min: 60, max: 900; OPTIONAL
458 SizeInMBs => 1, # min: 1, max: 128; OPTIONAL
459 }, # OPTIONAL
460 CloudWatchLoggingOptions => {
461 Enabled => 1, # OPTIONAL
462 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
463 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
464 }, # OPTIONAL
465 CompressionFormat => 'UNCOMPRESSED'
466 , # values: UNCOMPRESSED, GZIP, ZIP, Snappy, HADOOP_SNAPPY; OPTIONAL
467 EncryptionConfiguration => {
468 KMSEncryptionConfig => {
469 AWSKMSKeyARN => 'MyAWSKMSKeyARN', # min: 1, max: 512; OPTIONAL
470  
471 }, # OPTIONAL
472 NoEncryptionConfig =>
473 'NoEncryption', # values: NoEncryption; OPTIONAL
474 }, # OPTIONAL
475 ErrorOutputPrefix => 'MyErrorOutputPrefix', # max: 1024; OPTIONAL
476 Prefix => 'MyPrefix', # max: 1024; OPTIONAL
477 },
478 CloudWatchLoggingOptions => {
479 Enabled => 1, # OPTIONAL
480 LogGroupName => 'MyLogGroupName', # max: 512; OPTIONAL
481 LogStreamName => 'MyLogStreamName', # max: 512; OPTIONAL
482 }, # OPTIONAL
483 HECAcknowledgmentTimeoutInSeconds => 1, # min: 180, max: 600; OPTIONAL
484 ProcessingConfiguration => {
485 Enabled => 1, # OPTIONAL
486 Processors => [
487 {
488 Type => 'Lambda', # values: Lambda
489 Parameters => [
490 {
491 ParameterName => 'LambdaArn'
492 , # values: LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
493 ParameterValue =>
494 'MyProcessorParameterValue', # min: 1, max: 512
495  
496 },
497 ...
498 ], # OPTIONAL
499 },
500 ...
501 ], # OPTIONAL
502 }, # OPTIONAL
503 RetryOptions => {
504 DurationInSeconds => 1, # max: 7200; OPTIONAL
505 }, # OPTIONAL
506 S3BackupMode =>
507 'FailedEventsOnly', # values: FailedEventsOnly, AllEvents; OPTIONAL
508 }, # OPTIONAL
509 Tags => [
510 {
511 Key => 'MyTagKey', # min: 1, max: 128
512 Value => 'MyTagValue', # max: 256; OPTIONAL
513 },
514 ...
515 ], # OPTIONAL
516 );
517  
518 # Results:
519 my $DeliveryStreamARN = $CreateDeliveryStreamOutput->DeliveryStreamARN;
520  
521 # Returns a L<Paws::Firehose::CreateDeliveryStreamOutput> object.
522  
523 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.
524 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/firehose/CreateDeliveryStream>
525  
526 =head1 ATTRIBUTES
527  
528  
529 =head2 DeliveryStreamEncryptionConfigurationInput => L<Paws::Firehose::DeliveryStreamEncryptionConfigurationInput>
530  
531 Used to specify the type and Amazon Resource Name (ARN) of the KMS key
532 needed for Server-Side Encryption (SSE).
533  
534  
535  
536 =head2 B<REQUIRED> DeliveryStreamName => Str
537  
538 The name of the delivery stream. This name must be unique per AWS
539 account in the same AWS Region. If the delivery streams are in
540 different accounts or different Regions, you can have multiple delivery
541 streams with the same name.
542  
543  
544  
545 =head2 DeliveryStreamType => Str
546  
547 The delivery stream type. This parameter can be one of the following
548 values:
549  
550 =over
551  
552 =item *
553  
554 C<DirectPut>: Provider applications access the delivery stream
555 directly.
556  
557 =item *
558  
559 C<KinesisStreamAsSource>: The delivery stream uses a Kinesis data
560 stream as a source.
561  
562 =back
563  
564  
565 Valid values are: C<"DirectPut">, C<"KinesisStreamAsSource">
566  
567 =head2 ElasticsearchDestinationConfiguration => L<Paws::Firehose::ElasticsearchDestinationConfiguration>
568  
569 The destination in Amazon ES. You can specify only one destination.
570  
571  
572  
573 =head2 ExtendedS3DestinationConfiguration => L<Paws::Firehose::ExtendedS3DestinationConfiguration>
574  
575 The destination in Amazon S3. You can specify only one destination.
576  
577  
578  
579 =head2 HttpEndpointDestinationConfiguration => L<Paws::Firehose::HttpEndpointDestinationConfiguration>
580  
581 Enables configuring Kinesis Firehose to deliver data to any HTTP
582 endpoint destination. You can specify only one destination.
583  
584  
585  
586 =head2 KinesisStreamSourceConfiguration => L<Paws::Firehose::KinesisStreamSourceConfiguration>
587  
588 When a Kinesis data stream is used as the source for the delivery
589 stream, a KinesisStreamSourceConfiguration containing the Kinesis data
590 stream Amazon Resource Name (ARN) and the role ARN for the source
591 stream.
592  
593  
594  
595 =head2 RedshiftDestinationConfiguration => L<Paws::Firehose::RedshiftDestinationConfiguration>
596  
597 The destination in Amazon Redshift. You can specify only one
598 destination.
599  
600  
601  
602 =head2 S3DestinationConfiguration => L<Paws::Firehose::S3DestinationConfiguration>
603  
604 [Deprecated] The destination in Amazon S3. You can specify only one
605 destination.
606  
607  
608  
609 =head2 SplunkDestinationConfiguration => L<Paws::Firehose::SplunkDestinationConfiguration>
610  
611 The destination in Splunk. You can specify only one destination.
612  
613  
614  
615 =head2 Tags => ArrayRef[L<Paws::Firehose::Tag>]
616  
617 A set of tags to assign to the delivery stream. A tag is a key-value
618 pair that you can define and assign to AWS resources. Tags are
619 metadata. For example, you can add friendly names and descriptions or
620 other types of information that can help you distinguish the delivery
621 stream. For more information about tags, see Using Cost Allocation Tags
622 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html)
623 in the AWS Billing and Cost Management User Guide.
624  
625 You can specify up to 50 tags when creating a delivery stream.
626  
627  
628  
629  
630 =head1 SEE ALSO
631  
632 This class forms part of L<Paws>, documenting arguments for method CreateDeliveryStream in L<Paws::Firehose>
633  
634 =head1 BUGS and CONTRIBUTIONS
635  
636 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
637  
638 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
639  
640 =cut
641