aws-sdk-firehose 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-firehose.rb +1 -1
- data/lib/aws-sdk-firehose/client.rb +222 -91
- data/lib/aws-sdk-firehose/client_api.rb +90 -0
- data/lib/aws-sdk-firehose/types.rb +1050 -74
- metadata +3 -3
@@ -12,11 +12,13 @@ module Aws::Firehose
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AWSKMSKeyARN = Shapes::StringShape.new(name: 'AWSKMSKeyARN')
|
15
|
+
BlockSizeBytes = Shapes::IntegerShape.new(name: 'BlockSizeBytes')
|
15
16
|
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
16
17
|
BucketARN = Shapes::StringShape.new(name: 'BucketARN')
|
17
18
|
BufferingHints = Shapes::StructureShape.new(name: 'BufferingHints')
|
18
19
|
CloudWatchLoggingOptions = Shapes::StructureShape.new(name: 'CloudWatchLoggingOptions')
|
19
20
|
ClusterJDBCURL = Shapes::StringShape.new(name: 'ClusterJDBCURL')
|
21
|
+
ColumnToJsonKeyMappings = Shapes::MapShape.new(name: 'ColumnToJsonKeyMappings')
|
20
22
|
CompressionFormat = Shapes::StringShape.new(name: 'CompressionFormat')
|
21
23
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
22
24
|
CopyCommand = Shapes::StructureShape.new(name: 'CopyCommand')
|
@@ -24,6 +26,7 @@ module Aws::Firehose
|
|
24
26
|
CreateDeliveryStreamInput = Shapes::StructureShape.new(name: 'CreateDeliveryStreamInput')
|
25
27
|
CreateDeliveryStreamOutput = Shapes::StructureShape.new(name: 'CreateDeliveryStreamOutput')
|
26
28
|
Data = Shapes::BlobShape.new(name: 'Data')
|
29
|
+
DataFormatConversionConfiguration = Shapes::StructureShape.new(name: 'DataFormatConversionConfiguration')
|
27
30
|
DataTableColumns = Shapes::StringShape.new(name: 'DataTableColumns')
|
28
31
|
DataTableName = Shapes::StringShape.new(name: 'DataTableName')
|
29
32
|
DeleteDeliveryStreamInput = Shapes::StructureShape.new(name: 'DeleteDeliveryStreamInput')
|
@@ -39,6 +42,7 @@ module Aws::Firehose
|
|
39
42
|
DescribeDeliveryStreamInput = Shapes::StructureShape.new(name: 'DescribeDeliveryStreamInput')
|
40
43
|
DescribeDeliveryStreamInputLimit = Shapes::IntegerShape.new(name: 'DescribeDeliveryStreamInputLimit')
|
41
44
|
DescribeDeliveryStreamOutput = Shapes::StructureShape.new(name: 'DescribeDeliveryStreamOutput')
|
45
|
+
Deserializer = Shapes::StructureShape.new(name: 'Deserializer')
|
42
46
|
DestinationDescription = Shapes::StructureShape.new(name: 'DestinationDescription')
|
43
47
|
DestinationDescriptionList = Shapes::ListShape.new(name: 'DestinationDescriptionList')
|
44
48
|
DestinationId = Shapes::StringShape.new(name: 'DestinationId')
|
@@ -65,6 +69,8 @@ module Aws::Firehose
|
|
65
69
|
HECEndpoint = Shapes::StringShape.new(name: 'HECEndpoint')
|
66
70
|
HECEndpointType = Shapes::StringShape.new(name: 'HECEndpointType')
|
67
71
|
HECToken = Shapes::StringShape.new(name: 'HECToken')
|
72
|
+
HiveJsonSerDe = Shapes::StructureShape.new(name: 'HiveJsonSerDe')
|
73
|
+
InputFormatConfiguration = Shapes::StructureShape.new(name: 'InputFormatConfiguration')
|
68
74
|
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
69
75
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
70
76
|
KMSEncryptionConfig = Shapes::StructureShape.new(name: 'KMSEncryptionConfig')
|
@@ -75,6 +81,8 @@ module Aws::Firehose
|
|
75
81
|
ListDeliveryStreamsInput = Shapes::StructureShape.new(name: 'ListDeliveryStreamsInput')
|
76
82
|
ListDeliveryStreamsInputLimit = Shapes::IntegerShape.new(name: 'ListDeliveryStreamsInputLimit')
|
77
83
|
ListDeliveryStreamsOutput = Shapes::StructureShape.new(name: 'ListDeliveryStreamsOutput')
|
84
|
+
ListOfNonEmptyStrings = Shapes::ListShape.new(name: 'ListOfNonEmptyStrings')
|
85
|
+
ListOfNonEmptyStringsWithoutWhitespace = Shapes::ListShape.new(name: 'ListOfNonEmptyStringsWithoutWhitespace')
|
78
86
|
ListTagsForDeliveryStreamInput = Shapes::StructureShape.new(name: 'ListTagsForDeliveryStreamInput')
|
79
87
|
ListTagsForDeliveryStreamInputLimit = Shapes::IntegerShape.new(name: 'ListTagsForDeliveryStreamInputLimit')
|
80
88
|
ListTagsForDeliveryStreamOutput = Shapes::StructureShape.new(name: 'ListTagsForDeliveryStreamOutput')
|
@@ -82,7 +90,20 @@ module Aws::Firehose
|
|
82
90
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
83
91
|
LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
|
84
92
|
NoEncryptionConfig = Shapes::StringShape.new(name: 'NoEncryptionConfig')
|
93
|
+
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
94
|
+
NonEmptyStringWithoutWhitespace = Shapes::StringShape.new(name: 'NonEmptyStringWithoutWhitespace')
|
85
95
|
NonNegativeIntegerObject = Shapes::IntegerShape.new(name: 'NonNegativeIntegerObject')
|
96
|
+
OpenXJsonSerDe = Shapes::StructureShape.new(name: 'OpenXJsonSerDe')
|
97
|
+
OrcCompression = Shapes::StringShape.new(name: 'OrcCompression')
|
98
|
+
OrcFormatVersion = Shapes::StringShape.new(name: 'OrcFormatVersion')
|
99
|
+
OrcRowIndexStride = Shapes::IntegerShape.new(name: 'OrcRowIndexStride')
|
100
|
+
OrcSerDe = Shapes::StructureShape.new(name: 'OrcSerDe')
|
101
|
+
OrcStripeSizeBytes = Shapes::IntegerShape.new(name: 'OrcStripeSizeBytes')
|
102
|
+
OutputFormatConfiguration = Shapes::StructureShape.new(name: 'OutputFormatConfiguration')
|
103
|
+
ParquetCompression = Shapes::StringShape.new(name: 'ParquetCompression')
|
104
|
+
ParquetPageSizeBytes = Shapes::IntegerShape.new(name: 'ParquetPageSizeBytes')
|
105
|
+
ParquetSerDe = Shapes::StructureShape.new(name: 'ParquetSerDe')
|
106
|
+
ParquetWriterVersion = Shapes::StringShape.new(name: 'ParquetWriterVersion')
|
86
107
|
Password = Shapes::StringShape.new(name: 'Password')
|
87
108
|
Prefix = Shapes::StringShape.new(name: 'Prefix')
|
88
109
|
ProcessingConfiguration = Shapes::StructureShape.new(name: 'ProcessingConfiguration')
|
@@ -93,6 +114,7 @@ module Aws::Firehose
|
|
93
114
|
ProcessorParameterName = Shapes::StringShape.new(name: 'ProcessorParameterName')
|
94
115
|
ProcessorParameterValue = Shapes::StringShape.new(name: 'ProcessorParameterValue')
|
95
116
|
ProcessorType = Shapes::StringShape.new(name: 'ProcessorType')
|
117
|
+
Proportion = Shapes::FloatShape.new(name: 'Proportion')
|
96
118
|
PutRecordBatchInput = Shapes::StructureShape.new(name: 'PutRecordBatchInput')
|
97
119
|
PutRecordBatchOutput = Shapes::StructureShape.new(name: 'PutRecordBatchOutput')
|
98
120
|
PutRecordBatchRequestEntryList = Shapes::ListShape.new(name: 'PutRecordBatchRequestEntryList')
|
@@ -115,6 +137,8 @@ module Aws::Firehose
|
|
115
137
|
S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
|
116
138
|
S3DestinationDescription = Shapes::StructureShape.new(name: 'S3DestinationDescription')
|
117
139
|
S3DestinationUpdate = Shapes::StructureShape.new(name: 'S3DestinationUpdate')
|
140
|
+
SchemaConfiguration = Shapes::StructureShape.new(name: 'SchemaConfiguration')
|
141
|
+
Serializer = Shapes::StructureShape.new(name: 'Serializer')
|
118
142
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
119
143
|
SizeInMBs = Shapes::IntegerShape.new(name: 'SizeInMBs')
|
120
144
|
SourceDescription = Shapes::StructureShape.new(name: 'SourceDescription')
|
@@ -147,6 +171,9 @@ module Aws::Firehose
|
|
147
171
|
CloudWatchLoggingOptions.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "LogStreamName"))
|
148
172
|
CloudWatchLoggingOptions.struct_class = Types::CloudWatchLoggingOptions
|
149
173
|
|
174
|
+
ColumnToJsonKeyMappings.key = Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace)
|
175
|
+
ColumnToJsonKeyMappings.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
176
|
+
|
150
177
|
CopyCommand.add_member(:data_table_name, Shapes::ShapeRef.new(shape: DataTableName, required: true, location_name: "DataTableName"))
|
151
178
|
CopyCommand.add_member(:data_table_columns, Shapes::ShapeRef.new(shape: DataTableColumns, location_name: "DataTableColumns"))
|
152
179
|
CopyCommand.add_member(:copy_options, Shapes::ShapeRef.new(shape: CopyOptions, location_name: "CopyOptions"))
|
@@ -165,6 +192,12 @@ module Aws::Firehose
|
|
165
192
|
CreateDeliveryStreamOutput.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, location_name: "DeliveryStreamARN"))
|
166
193
|
CreateDeliveryStreamOutput.struct_class = Types::CreateDeliveryStreamOutput
|
167
194
|
|
195
|
+
DataFormatConversionConfiguration.add_member(:schema_configuration, Shapes::ShapeRef.new(shape: SchemaConfiguration, location_name: "SchemaConfiguration"))
|
196
|
+
DataFormatConversionConfiguration.add_member(:input_format_configuration, Shapes::ShapeRef.new(shape: InputFormatConfiguration, location_name: "InputFormatConfiguration"))
|
197
|
+
DataFormatConversionConfiguration.add_member(:output_format_configuration, Shapes::ShapeRef.new(shape: OutputFormatConfiguration, location_name: "OutputFormatConfiguration"))
|
198
|
+
DataFormatConversionConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Enabled"))
|
199
|
+
DataFormatConversionConfiguration.struct_class = Types::DataFormatConversionConfiguration
|
200
|
+
|
168
201
|
DeleteDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
169
202
|
DeleteDeliveryStreamInput.struct_class = Types::DeleteDeliveryStreamInput
|
170
203
|
|
@@ -192,6 +225,10 @@ module Aws::Firehose
|
|
192
225
|
DescribeDeliveryStreamOutput.add_member(:delivery_stream_description, Shapes::ShapeRef.new(shape: DeliveryStreamDescription, required: true, location_name: "DeliveryStreamDescription"))
|
193
226
|
DescribeDeliveryStreamOutput.struct_class = Types::DescribeDeliveryStreamOutput
|
194
227
|
|
228
|
+
Deserializer.add_member(:open_x_json_ser_de, Shapes::ShapeRef.new(shape: OpenXJsonSerDe, location_name: "OpenXJsonSerDe"))
|
229
|
+
Deserializer.add_member(:hive_json_ser_de, Shapes::ShapeRef.new(shape: HiveJsonSerDe, location_name: "HiveJsonSerDe"))
|
230
|
+
Deserializer.struct_class = Types::Deserializer
|
231
|
+
|
195
232
|
DestinationDescription.add_member(:destination_id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "DestinationId"))
|
196
233
|
DestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3DestinationDescription"))
|
197
234
|
DestinationDescription.add_member(:extended_s3_destination_description, Shapes::ShapeRef.new(shape: ExtendedS3DestinationDescription, location_name: "ExtendedS3DestinationDescription"))
|
@@ -261,6 +298,7 @@ module Aws::Firehose
|
|
261
298
|
ExtendedS3DestinationConfiguration.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
262
299
|
ExtendedS3DestinationConfiguration.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: S3BackupMode, location_name: "S3BackupMode"))
|
263
300
|
ExtendedS3DestinationConfiguration.add_member(:s3_backup_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, location_name: "S3BackupConfiguration"))
|
301
|
+
ExtendedS3DestinationConfiguration.add_member(:data_format_conversion_configuration, Shapes::ShapeRef.new(shape: DataFormatConversionConfiguration, location_name: "DataFormatConversionConfiguration"))
|
264
302
|
ExtendedS3DestinationConfiguration.struct_class = Types::ExtendedS3DestinationConfiguration
|
265
303
|
|
266
304
|
ExtendedS3DestinationDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
|
@@ -273,6 +311,7 @@ module Aws::Firehose
|
|
273
311
|
ExtendedS3DestinationDescription.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
274
312
|
ExtendedS3DestinationDescription.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: S3BackupMode, location_name: "S3BackupMode"))
|
275
313
|
ExtendedS3DestinationDescription.add_member(:s3_backup_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3BackupDescription"))
|
314
|
+
ExtendedS3DestinationDescription.add_member(:data_format_conversion_configuration, Shapes::ShapeRef.new(shape: DataFormatConversionConfiguration, location_name: "DataFormatConversionConfiguration"))
|
276
315
|
ExtendedS3DestinationDescription.struct_class = Types::ExtendedS3DestinationDescription
|
277
316
|
|
278
317
|
ExtendedS3DestinationUpdate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
@@ -285,8 +324,15 @@ module Aws::Firehose
|
|
285
324
|
ExtendedS3DestinationUpdate.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
286
325
|
ExtendedS3DestinationUpdate.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: S3BackupMode, location_name: "S3BackupMode"))
|
287
326
|
ExtendedS3DestinationUpdate.add_member(:s3_backup_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3BackupUpdate"))
|
327
|
+
ExtendedS3DestinationUpdate.add_member(:data_format_conversion_configuration, Shapes::ShapeRef.new(shape: DataFormatConversionConfiguration, location_name: "DataFormatConversionConfiguration"))
|
288
328
|
ExtendedS3DestinationUpdate.struct_class = Types::ExtendedS3DestinationUpdate
|
289
329
|
|
330
|
+
HiveJsonSerDe.add_member(:timestamp_formats, Shapes::ShapeRef.new(shape: ListOfNonEmptyStrings, location_name: "TimestampFormats"))
|
331
|
+
HiveJsonSerDe.struct_class = Types::HiveJsonSerDe
|
332
|
+
|
333
|
+
InputFormatConfiguration.add_member(:deserializer, Shapes::ShapeRef.new(shape: Deserializer, location_name: "Deserializer"))
|
334
|
+
InputFormatConfiguration.struct_class = Types::InputFormatConfiguration
|
335
|
+
|
290
336
|
KMSEncryptionConfig.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: AWSKMSKeyARN, required: true, location_name: "AWSKMSKeyARN"))
|
291
337
|
KMSEncryptionConfig.struct_class = Types::KMSEncryptionConfig
|
292
338
|
|
@@ -308,6 +354,10 @@ module Aws::Firehose
|
|
308
354
|
ListDeliveryStreamsOutput.add_member(:has_more_delivery_streams, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "HasMoreDeliveryStreams"))
|
309
355
|
ListDeliveryStreamsOutput.struct_class = Types::ListDeliveryStreamsOutput
|
310
356
|
|
357
|
+
ListOfNonEmptyStrings.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
358
|
+
|
359
|
+
ListOfNonEmptyStringsWithoutWhitespace.member = Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace)
|
360
|
+
|
311
361
|
ListTagsForDeliveryStreamInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
312
362
|
ListTagsForDeliveryStreamInput.add_member(:exclusive_start_tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "ExclusiveStartTagKey"))
|
313
363
|
ListTagsForDeliveryStreamInput.add_member(:limit, Shapes::ShapeRef.new(shape: ListTagsForDeliveryStreamInputLimit, location_name: "Limit"))
|
@@ -319,6 +369,34 @@ module Aws::Firehose
|
|
319
369
|
|
320
370
|
ListTagsForDeliveryStreamOutputTagList.member = Shapes::ShapeRef.new(shape: Tag)
|
321
371
|
|
372
|
+
OpenXJsonSerDe.add_member(:convert_dots_in_json_keys_to_underscores, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "ConvertDotsInJsonKeysToUnderscores"))
|
373
|
+
OpenXJsonSerDe.add_member(:case_insensitive, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "CaseInsensitive"))
|
374
|
+
OpenXJsonSerDe.add_member(:column_to_json_key_mappings, Shapes::ShapeRef.new(shape: ColumnToJsonKeyMappings, location_name: "ColumnToJsonKeyMappings"))
|
375
|
+
OpenXJsonSerDe.struct_class = Types::OpenXJsonSerDe
|
376
|
+
|
377
|
+
OrcSerDe.add_member(:stripe_size_bytes, Shapes::ShapeRef.new(shape: OrcStripeSizeBytes, location_name: "StripeSizeBytes"))
|
378
|
+
OrcSerDe.add_member(:block_size_bytes, Shapes::ShapeRef.new(shape: BlockSizeBytes, location_name: "BlockSizeBytes"))
|
379
|
+
OrcSerDe.add_member(:row_index_stride, Shapes::ShapeRef.new(shape: OrcRowIndexStride, location_name: "RowIndexStride"))
|
380
|
+
OrcSerDe.add_member(:enable_padding, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnablePadding"))
|
381
|
+
OrcSerDe.add_member(:padding_tolerance, Shapes::ShapeRef.new(shape: Proportion, location_name: "PaddingTolerance"))
|
382
|
+
OrcSerDe.add_member(:compression, Shapes::ShapeRef.new(shape: OrcCompression, location_name: "Compression"))
|
383
|
+
OrcSerDe.add_member(:bloom_filter_columns, Shapes::ShapeRef.new(shape: ListOfNonEmptyStringsWithoutWhitespace, location_name: "BloomFilterColumns"))
|
384
|
+
OrcSerDe.add_member(:bloom_filter_false_positive_probability, Shapes::ShapeRef.new(shape: Proportion, location_name: "BloomFilterFalsePositiveProbability"))
|
385
|
+
OrcSerDe.add_member(:dictionary_key_threshold, Shapes::ShapeRef.new(shape: Proportion, location_name: "DictionaryKeyThreshold"))
|
386
|
+
OrcSerDe.add_member(:format_version, Shapes::ShapeRef.new(shape: OrcFormatVersion, location_name: "FormatVersion"))
|
387
|
+
OrcSerDe.struct_class = Types::OrcSerDe
|
388
|
+
|
389
|
+
OutputFormatConfiguration.add_member(:serializer, Shapes::ShapeRef.new(shape: Serializer, location_name: "Serializer"))
|
390
|
+
OutputFormatConfiguration.struct_class = Types::OutputFormatConfiguration
|
391
|
+
|
392
|
+
ParquetSerDe.add_member(:block_size_bytes, Shapes::ShapeRef.new(shape: BlockSizeBytes, location_name: "BlockSizeBytes"))
|
393
|
+
ParquetSerDe.add_member(:page_size_bytes, Shapes::ShapeRef.new(shape: ParquetPageSizeBytes, location_name: "PageSizeBytes"))
|
394
|
+
ParquetSerDe.add_member(:compression, Shapes::ShapeRef.new(shape: ParquetCompression, location_name: "Compression"))
|
395
|
+
ParquetSerDe.add_member(:enable_dictionary_compression, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableDictionaryCompression"))
|
396
|
+
ParquetSerDe.add_member(:max_padding_bytes, Shapes::ShapeRef.new(shape: NonNegativeIntegerObject, location_name: "MaxPaddingBytes"))
|
397
|
+
ParquetSerDe.add_member(:writer_version, Shapes::ShapeRef.new(shape: ParquetWriterVersion, location_name: "WriterVersion"))
|
398
|
+
ParquetSerDe.struct_class = Types::ParquetSerDe
|
399
|
+
|
322
400
|
ProcessingConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "Enabled"))
|
323
401
|
ProcessingConfiguration.add_member(:processors, Shapes::ShapeRef.new(shape: ProcessorList, location_name: "Processors"))
|
324
402
|
ProcessingConfiguration.struct_class = Types::ProcessingConfiguration
|
@@ -430,6 +508,18 @@ module Aws::Firehose
|
|
430
508
|
S3DestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
431
509
|
S3DestinationUpdate.struct_class = Types::S3DestinationUpdate
|
432
510
|
|
511
|
+
SchemaConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace, location_name: "RoleARN"))
|
512
|
+
SchemaConfiguration.add_member(:catalog_id, Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace, location_name: "CatalogId"))
|
513
|
+
SchemaConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace, location_name: "DatabaseName"))
|
514
|
+
SchemaConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace, location_name: "TableName"))
|
515
|
+
SchemaConfiguration.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace, location_name: "Region"))
|
516
|
+
SchemaConfiguration.add_member(:version_id, Shapes::ShapeRef.new(shape: NonEmptyStringWithoutWhitespace, location_name: "VersionId"))
|
517
|
+
SchemaConfiguration.struct_class = Types::SchemaConfiguration
|
518
|
+
|
519
|
+
Serializer.add_member(:parquet_ser_de, Shapes::ShapeRef.new(shape: ParquetSerDe, location_name: "ParquetSerDe"))
|
520
|
+
Serializer.add_member(:orc_ser_de, Shapes::ShapeRef.new(shape: OrcSerDe, location_name: "OrcSerDe"))
|
521
|
+
Serializer.struct_class = Types::Serializer
|
522
|
+
|
433
523
|
SourceDescription.add_member(:kinesis_stream_source_description, Shapes::ShapeRef.new(shape: KinesisStreamSourceDescription, location_name: "KinesisStreamSourceDescription"))
|
434
524
|
SourceDescription.struct_class = Types::SourceDescription
|
435
525
|
|
@@ -10,8 +10,8 @@ module Aws::Firehose
|
|
10
10
|
|
11
11
|
# Describes hints for the buffering to perform before delivering data to
|
12
12
|
# the destination. These options are treated as hints, and therefore
|
13
|
-
# Kinesis Data Firehose might choose to use different values
|
14
|
-
#
|
13
|
+
# Kinesis Data Firehose might choose to use different values when it is
|
14
|
+
# optimal.
|
15
15
|
#
|
16
16
|
# @note When making an API call, you may pass BufferingHints
|
17
17
|
# data as a hash:
|
@@ -225,6 +225,55 @@ module Aws::Firehose
|
|
225
225
|
# log_stream_name: "LogStreamName",
|
226
226
|
# },
|
227
227
|
# },
|
228
|
+
# data_format_conversion_configuration: {
|
229
|
+
# schema_configuration: {
|
230
|
+
# role_arn: "NonEmptyStringWithoutWhitespace",
|
231
|
+
# catalog_id: "NonEmptyStringWithoutWhitespace",
|
232
|
+
# database_name: "NonEmptyStringWithoutWhitespace",
|
233
|
+
# table_name: "NonEmptyStringWithoutWhitespace",
|
234
|
+
# region: "NonEmptyStringWithoutWhitespace",
|
235
|
+
# version_id: "NonEmptyStringWithoutWhitespace",
|
236
|
+
# },
|
237
|
+
# input_format_configuration: {
|
238
|
+
# deserializer: {
|
239
|
+
# open_x_json_ser_de: {
|
240
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
241
|
+
# case_insensitive: false,
|
242
|
+
# column_to_json_key_mappings: {
|
243
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
244
|
+
# },
|
245
|
+
# },
|
246
|
+
# hive_json_ser_de: {
|
247
|
+
# timestamp_formats: ["NonEmptyString"],
|
248
|
+
# },
|
249
|
+
# },
|
250
|
+
# },
|
251
|
+
# output_format_configuration: {
|
252
|
+
# serializer: {
|
253
|
+
# parquet_ser_de: {
|
254
|
+
# block_size_bytes: 1,
|
255
|
+
# page_size_bytes: 1,
|
256
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
257
|
+
# enable_dictionary_compression: false,
|
258
|
+
# max_padding_bytes: 1,
|
259
|
+
# writer_version: "V1", # accepts V1, V2
|
260
|
+
# },
|
261
|
+
# orc_ser_de: {
|
262
|
+
# stripe_size_bytes: 1,
|
263
|
+
# block_size_bytes: 1,
|
264
|
+
# row_index_stride: 1,
|
265
|
+
# enable_padding: false,
|
266
|
+
# padding_tolerance: 1.0,
|
267
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
268
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
269
|
+
# bloom_filter_false_positive_probability: 1.0,
|
270
|
+
# dictionary_key_threshold: 1.0,
|
271
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
272
|
+
# },
|
273
|
+
# },
|
274
|
+
# },
|
275
|
+
# enabled: false,
|
276
|
+
# },
|
228
277
|
# },
|
229
278
|
# redshift_destination_configuration: {
|
230
279
|
# role_arn: "RoleARN", # required
|
@@ -411,9 +460,9 @@ module Aws::Firehose
|
|
411
460
|
#
|
412
461
|
# @!attribute [rw] delivery_stream_name
|
413
462
|
# The name of the delivery stream. This name must be unique per AWS
|
414
|
-
# account in the same Region. If the delivery streams are in
|
415
|
-
# accounts or different Regions, you can have multiple
|
416
|
-
# streams with the same name.
|
463
|
+
# account in the same AWS Region. If the delivery streams are in
|
464
|
+
# different accounts or different Regions, you can have multiple
|
465
|
+
# delivery streams with the same name.
|
417
466
|
# @return [String]
|
418
467
|
#
|
419
468
|
# @!attribute [rw] delivery_stream_type
|
@@ -481,6 +530,101 @@ module Aws::Firehose
|
|
481
530
|
include Aws::Structure
|
482
531
|
end
|
483
532
|
|
533
|
+
# Specifies that you want Kinesis Data Firehose to convert data from the
|
534
|
+
# JSON format to the Parquet or ORC format before writing it to Amazon
|
535
|
+
# S3. Kinesis Data Firehose uses the serializer and deserializer that
|
536
|
+
# you specify, in addition to the column information from the AWS Glue
|
537
|
+
# table, to deserialize your input data from JSON and then serialize it
|
538
|
+
# to the Parquet or ORC format. For more information, see [Kinesis Data
|
539
|
+
# Firehose Record Format Conversion][1].
|
540
|
+
#
|
541
|
+
#
|
542
|
+
#
|
543
|
+
# [1]: https://docs.aws.amazon.com/firehose/latest/dev/record-format-conversion.html
|
544
|
+
#
|
545
|
+
# @note When making an API call, you may pass DataFormatConversionConfiguration
|
546
|
+
# data as a hash:
|
547
|
+
#
|
548
|
+
# {
|
549
|
+
# schema_configuration: {
|
550
|
+
# role_arn: "NonEmptyStringWithoutWhitespace",
|
551
|
+
# catalog_id: "NonEmptyStringWithoutWhitespace",
|
552
|
+
# database_name: "NonEmptyStringWithoutWhitespace",
|
553
|
+
# table_name: "NonEmptyStringWithoutWhitespace",
|
554
|
+
# region: "NonEmptyStringWithoutWhitespace",
|
555
|
+
# version_id: "NonEmptyStringWithoutWhitespace",
|
556
|
+
# },
|
557
|
+
# input_format_configuration: {
|
558
|
+
# deserializer: {
|
559
|
+
# open_x_json_ser_de: {
|
560
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
561
|
+
# case_insensitive: false,
|
562
|
+
# column_to_json_key_mappings: {
|
563
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
564
|
+
# },
|
565
|
+
# },
|
566
|
+
# hive_json_ser_de: {
|
567
|
+
# timestamp_formats: ["NonEmptyString"],
|
568
|
+
# },
|
569
|
+
# },
|
570
|
+
# },
|
571
|
+
# output_format_configuration: {
|
572
|
+
# serializer: {
|
573
|
+
# parquet_ser_de: {
|
574
|
+
# block_size_bytes: 1,
|
575
|
+
# page_size_bytes: 1,
|
576
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
577
|
+
# enable_dictionary_compression: false,
|
578
|
+
# max_padding_bytes: 1,
|
579
|
+
# writer_version: "V1", # accepts V1, V2
|
580
|
+
# },
|
581
|
+
# orc_ser_de: {
|
582
|
+
# stripe_size_bytes: 1,
|
583
|
+
# block_size_bytes: 1,
|
584
|
+
# row_index_stride: 1,
|
585
|
+
# enable_padding: false,
|
586
|
+
# padding_tolerance: 1.0,
|
587
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
588
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
589
|
+
# bloom_filter_false_positive_probability: 1.0,
|
590
|
+
# dictionary_key_threshold: 1.0,
|
591
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
592
|
+
# },
|
593
|
+
# },
|
594
|
+
# },
|
595
|
+
# enabled: false,
|
596
|
+
# }
|
597
|
+
#
|
598
|
+
# @!attribute [rw] schema_configuration
|
599
|
+
# Specifies the AWS Glue Data Catalog table that contains the column
|
600
|
+
# information.
|
601
|
+
# @return [Types::SchemaConfiguration]
|
602
|
+
#
|
603
|
+
# @!attribute [rw] input_format_configuration
|
604
|
+
# Specifies the deserializer that you want Kinesis Data Firehose to
|
605
|
+
# use to convert the format of your data from JSON.
|
606
|
+
# @return [Types::InputFormatConfiguration]
|
607
|
+
#
|
608
|
+
# @!attribute [rw] output_format_configuration
|
609
|
+
# Specifies the serializer that you want Kinesis Data Firehose to use
|
610
|
+
# to convert the format of your data to the Parquet or ORC format.
|
611
|
+
# @return [Types::OutputFormatConfiguration]
|
612
|
+
#
|
613
|
+
# @!attribute [rw] enabled
|
614
|
+
# Defaults to `true`. Set it to `false` if you want to disable format
|
615
|
+
# conversion while preserving the configuration details.
|
616
|
+
# @return [Boolean]
|
617
|
+
#
|
618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DataFormatConversionConfiguration AWS API Documentation
|
619
|
+
#
|
620
|
+
class DataFormatConversionConfiguration < Struct.new(
|
621
|
+
:schema_configuration,
|
622
|
+
:input_format_configuration,
|
623
|
+
:output_format_configuration,
|
624
|
+
:enabled)
|
625
|
+
include Aws::Structure
|
626
|
+
end
|
627
|
+
|
484
628
|
# @note When making an API call, you may pass DeleteDeliveryStreamInput
|
485
629
|
# data as a hash:
|
486
630
|
#
|
@@ -510,7 +654,13 @@ module Aws::Firehose
|
|
510
654
|
# @return [String]
|
511
655
|
#
|
512
656
|
# @!attribute [rw] delivery_stream_arn
|
513
|
-
# The Amazon Resource Name (ARN) of the delivery stream.
|
657
|
+
# The Amazon Resource Name (ARN) of the delivery stream. For more
|
658
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
659
|
+
# Namespaces][1].
|
660
|
+
#
|
661
|
+
#
|
662
|
+
#
|
663
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
514
664
|
# @return [String]
|
515
665
|
#
|
516
666
|
# @!attribute [rw] delivery_stream_status
|
@@ -585,14 +735,14 @@ module Aws::Firehose
|
|
585
735
|
# @return [String]
|
586
736
|
#
|
587
737
|
# @!attribute [rw] limit
|
588
|
-
# The limit on the number of destinations to return.
|
589
|
-
#
|
738
|
+
# The limit on the number of destinations to return. You can have one
|
739
|
+
# destination per delivery stream.
|
590
740
|
# @return [Integer]
|
591
741
|
#
|
592
742
|
# @!attribute [rw] exclusive_start_destination_id
|
593
743
|
# The ID of the destination to start returning the destination
|
594
|
-
# information.
|
595
|
-
#
|
744
|
+
# information. Kinesis Data Firehose supports one destination per
|
745
|
+
# delivery stream.
|
596
746
|
# @return [String]
|
597
747
|
#
|
598
748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamInput AWS API Documentation
|
@@ -615,6 +765,59 @@ module Aws::Firehose
|
|
615
765
|
include Aws::Structure
|
616
766
|
end
|
617
767
|
|
768
|
+
# The deserializer you want Kinesis Data Firehose to use for converting
|
769
|
+
# the input data from JSON. Kinesis Data Firehose then serializes the
|
770
|
+
# data to its final format using the Serializer. Kinesis Data Firehose
|
771
|
+
# supports two types of deserializers: the [Apache Hive JSON SerDe][1]
|
772
|
+
# and the [OpenX JSON SerDe][2].
|
773
|
+
#
|
774
|
+
#
|
775
|
+
#
|
776
|
+
# [1]: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-JSON
|
777
|
+
# [2]: https://github.com/rcongiu/Hive-JSON-Serde
|
778
|
+
#
|
779
|
+
# @note When making an API call, you may pass Deserializer
|
780
|
+
# data as a hash:
|
781
|
+
#
|
782
|
+
# {
|
783
|
+
# open_x_json_ser_de: {
|
784
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
785
|
+
# case_insensitive: false,
|
786
|
+
# column_to_json_key_mappings: {
|
787
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
788
|
+
# },
|
789
|
+
# },
|
790
|
+
# hive_json_ser_de: {
|
791
|
+
# timestamp_formats: ["NonEmptyString"],
|
792
|
+
# },
|
793
|
+
# }
|
794
|
+
#
|
795
|
+
# @!attribute [rw] open_x_json_ser_de
|
796
|
+
# The OpenX SerDe. Used by Kinesis Data Firehose for deserializing
|
797
|
+
# data, which means converting it from the JSON format in preparation
|
798
|
+
# for serializing it to the Parquet or ORC format. This is one of two
|
799
|
+
# deserializers you can choose, depending on which one offers the
|
800
|
+
# functionality you need. The other option is the native Hive /
|
801
|
+
# HCatalog JsonSerDe.
|
802
|
+
# @return [Types::OpenXJsonSerDe]
|
803
|
+
#
|
804
|
+
# @!attribute [rw] hive_json_ser_de
|
805
|
+
# The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose
|
806
|
+
# for deserializing data, which means converting it from the JSON
|
807
|
+
# format in preparation for serializing it to the Parquet or ORC
|
808
|
+
# format. This is one of two deserializers you can choose, depending
|
809
|
+
# on which one offers the functionality you need. The other option is
|
810
|
+
# the OpenX SerDe.
|
811
|
+
# @return [Types::HiveJsonSerDe]
|
812
|
+
#
|
813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Deserializer AWS API Documentation
|
814
|
+
#
|
815
|
+
class Deserializer < Struct.new(
|
816
|
+
:open_x_json_ser_de,
|
817
|
+
:hive_json_ser_de)
|
818
|
+
include Aws::Structure
|
819
|
+
end
|
820
|
+
|
618
821
|
# Describes the destination for a delivery stream.
|
619
822
|
#
|
620
823
|
# @!attribute [rw] destination_id
|
@@ -753,18 +956,25 @@ module Aws::Firehose
|
|
753
956
|
# The Amazon Resource Name (ARN) of the IAM role to be assumed by
|
754
957
|
# Kinesis Data Firehose for calling the Amazon ES Configuration API
|
755
958
|
# and for indexing documents. For more information, see [Grant Kinesis
|
756
|
-
# Data Firehose Access to an Amazon Destination][1]
|
959
|
+
# Data Firehose Access to an Amazon S3 Destination][1] and [Amazon
|
960
|
+
# Resource Names (ARNs) and AWS Service Namespaces][2].
|
757
961
|
#
|
758
962
|
#
|
759
963
|
#
|
760
964
|
# [1]: http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3
|
965
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
761
966
|
# @return [String]
|
762
967
|
#
|
763
968
|
# @!attribute [rw] domain_arn
|
764
969
|
# The ARN of the Amazon ES domain. The IAM role must have permissions
|
765
970
|
# for `DescribeElasticsearchDomain`, `DescribeElasticsearchDomains`,
|
766
971
|
# and `DescribeElasticsearchDomainConfig` after assuming the role
|
767
|
-
# specified in
|
972
|
+
# specified in **RoleARN**. For more information, see [Amazon Resource
|
973
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
974
|
+
#
|
975
|
+
#
|
976
|
+
#
|
977
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
768
978
|
# @return [String]
|
769
979
|
#
|
770
980
|
# @!attribute [rw] index_name
|
@@ -772,12 +982,15 @@ module Aws::Firehose
|
|
772
982
|
# @return [String]
|
773
983
|
#
|
774
984
|
# @!attribute [rw] type_name
|
775
|
-
# The Elasticsearch type name.
|
985
|
+
# The Elasticsearch type name. For Elasticsearch 6.x, there can be
|
986
|
+
# only one type per index. If you try to specify a new type for an
|
987
|
+
# existing index that already has another type, Kinesis Data Firehose
|
988
|
+
# returns an error during run time.
|
776
989
|
# @return [String]
|
777
990
|
#
|
778
991
|
# @!attribute [rw] index_rotation_period
|
779
992
|
# The Elasticsearch index rotation period. Index rotation appends a
|
780
|
-
# time stamp to the IndexName to facilitate the expiration of old
|
993
|
+
# time stamp to the `IndexName` to facilitate the expiration of old
|
781
994
|
# data. For more information, see [Index Rotation for the Amazon ES
|
782
995
|
# Destination][1]. The default value is `OneDay`.
|
783
996
|
#
|
@@ -798,19 +1011,19 @@ module Aws::Firehose
|
|
798
1011
|
# @return [Types::ElasticsearchRetryOptions]
|
799
1012
|
#
|
800
1013
|
# @!attribute [rw] s3_backup_mode
|
801
|
-
# Defines how documents should be delivered to Amazon S3. When
|
802
|
-
# `FailedDocumentsOnly`, Kinesis Data Firehose writes any
|
803
|
-
# that could not be indexed to the configured Amazon S3
|
804
|
-
# with `elasticsearch-failed/` appended to the key
|
805
|
-
# `AllDocuments`, Kinesis Data Firehose delivers
|
806
|
-
# to Amazon S3, and also writes failed documents
|
807
|
-
# `elasticsearch-failed/` appended to the prefix. For more
|
808
|
-
# information, see [
|
809
|
-
# is `FailedDocumentsOnly`.
|
1014
|
+
# Defines how documents should be delivered to Amazon S3. When it is
|
1015
|
+
# set to `FailedDocumentsOnly`, Kinesis Data Firehose writes any
|
1016
|
+
# documents that could not be indexed to the configured Amazon S3
|
1017
|
+
# destination, with `elasticsearch-failed/` appended to the key
|
1018
|
+
# prefix. When set to `AllDocuments`, Kinesis Data Firehose delivers
|
1019
|
+
# all incoming records to Amazon S3, and also writes failed documents
|
1020
|
+
# with `elasticsearch-failed/` appended to the prefix. For more
|
1021
|
+
# information, see [Amazon S3 Backup for the Amazon ES
|
1022
|
+
# Destination][1]. Default value is `FailedDocumentsOnly`.
|
810
1023
|
#
|
811
1024
|
#
|
812
1025
|
#
|
813
|
-
# [1]: http://docs.aws.amazon.com/firehose/latest/dev/basic-deliver.html#
|
1026
|
+
# [1]: http://docs.aws.amazon.com/firehose/latest/dev/basic-deliver.html#es-s3-backup
|
814
1027
|
# @return [String]
|
815
1028
|
#
|
816
1029
|
# @!attribute [rw] s3_configuration
|
@@ -822,7 +1035,7 @@ module Aws::Firehose
|
|
822
1035
|
# @return [Types::ProcessingConfiguration]
|
823
1036
|
#
|
824
1037
|
# @!attribute [rw] cloud_watch_logging_options
|
825
|
-
# The CloudWatch logging options for your delivery stream.
|
1038
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
826
1039
|
# @return [Types::CloudWatchLoggingOptions]
|
827
1040
|
#
|
828
1041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationConfiguration AWS API Documentation
|
@@ -845,11 +1058,22 @@ module Aws::Firehose
|
|
845
1058
|
# The destination description in Amazon ES.
|
846
1059
|
#
|
847
1060
|
# @!attribute [rw] role_arn
|
848
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
1061
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
1062
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
1063
|
+
# Namespaces][1].
|
1064
|
+
#
|
1065
|
+
#
|
1066
|
+
#
|
1067
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
849
1068
|
# @return [String]
|
850
1069
|
#
|
851
1070
|
# @!attribute [rw] domain_arn
|
852
|
-
# The ARN of the Amazon ES domain.
|
1071
|
+
# The ARN of the Amazon ES domain. For more information, see [Amazon
|
1072
|
+
# Resource Names (ARNs) and AWS Service Namespaces][1].
|
1073
|
+
#
|
1074
|
+
#
|
1075
|
+
#
|
1076
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
853
1077
|
# @return [String]
|
854
1078
|
#
|
855
1079
|
# @!attribute [rw] index_name
|
@@ -885,7 +1109,7 @@ module Aws::Firehose
|
|
885
1109
|
# @return [Types::ProcessingConfiguration]
|
886
1110
|
#
|
887
1111
|
# @!attribute [rw] cloud_watch_logging_options
|
888
|
-
# The CloudWatch logging options.
|
1112
|
+
# The Amazon CloudWatch logging options.
|
889
1113
|
# @return [Types::CloudWatchLoggingOptions]
|
890
1114
|
#
|
891
1115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationDescription AWS API Documentation
|
@@ -969,18 +1193,25 @@ module Aws::Firehose
|
|
969
1193
|
# The Amazon Resource Name (ARN) of the IAM role to be assumed by
|
970
1194
|
# Kinesis Data Firehose for calling the Amazon ES Configuration API
|
971
1195
|
# and for indexing documents. For more information, see [Grant Kinesis
|
972
|
-
# Data Firehose Access to an Amazon S3 Destination][1]
|
1196
|
+
# Data Firehose Access to an Amazon S3 Destination][1] and [Amazon
|
1197
|
+
# Resource Names (ARNs) and AWS Service Namespaces][2].
|
973
1198
|
#
|
974
1199
|
#
|
975
1200
|
#
|
976
1201
|
# [1]: http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3
|
1202
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
977
1203
|
# @return [String]
|
978
1204
|
#
|
979
1205
|
# @!attribute [rw] domain_arn
|
980
1206
|
# The ARN of the Amazon ES domain. The IAM role must have permissions
|
981
1207
|
# for `DescribeElasticsearchDomain`, `DescribeElasticsearchDomains`,
|
982
1208
|
# and `DescribeElasticsearchDomainConfig` after assuming the IAM role
|
983
|
-
# specified in
|
1209
|
+
# specified in **RoleARN**. For more information, see [Amazon Resource
|
1210
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
1211
|
+
#
|
1212
|
+
#
|
1213
|
+
#
|
1214
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
984
1215
|
# @return [String]
|
985
1216
|
#
|
986
1217
|
# @!attribute [rw] index_name
|
@@ -988,12 +1219,15 @@ module Aws::Firehose
|
|
988
1219
|
# @return [String]
|
989
1220
|
#
|
990
1221
|
# @!attribute [rw] type_name
|
991
|
-
# The Elasticsearch type name.
|
1222
|
+
# The Elasticsearch type name. For Elasticsearch 6.x, there can be
|
1223
|
+
# only one type per index. If you try to specify a new type for an
|
1224
|
+
# existing index that already has another type, Kinesis Data Firehose
|
1225
|
+
# returns an error during runtime.
|
992
1226
|
# @return [String]
|
993
1227
|
#
|
994
1228
|
# @!attribute [rw] index_rotation_period
|
995
1229
|
# The Elasticsearch index rotation period. Index rotation appends a
|
996
|
-
# time stamp to IndexName to facilitate the expiration of old data.
|
1230
|
+
# time stamp to `IndexName` to facilitate the expiration of old data.
|
997
1231
|
# For more information, see [Index Rotation for the Amazon ES
|
998
1232
|
# Destination][1]. Default value is `OneDay`.
|
999
1233
|
#
|
@@ -1004,7 +1238,7 @@ module Aws::Firehose
|
|
1004
1238
|
#
|
1005
1239
|
# @!attribute [rw] buffering_hints
|
1006
1240
|
# The buffering options. If no value is specified,
|
1007
|
-
#
|
1241
|
+
# **ElasticsearchBufferingHints** object default values are used.
|
1008
1242
|
# @return [Types::ElasticsearchBufferingHints]
|
1009
1243
|
#
|
1010
1244
|
# @!attribute [rw] retry_options
|
@@ -1053,7 +1287,7 @@ module Aws::Firehose
|
|
1053
1287
|
#
|
1054
1288
|
# @!attribute [rw] duration_in_seconds
|
1055
1289
|
# After an initial failure to deliver to Amazon ES, the total amount
|
1056
|
-
# of time during which Kinesis Data Firehose
|
1290
|
+
# of time during which Kinesis Data Firehose retries delivery
|
1057
1291
|
# (including the first attempt). After this time has elapsed, the
|
1058
1292
|
# failed documents are written to Amazon S3. Default value is 300
|
1059
1293
|
# seconds (5 minutes). A value of 0 (zero) results in no retries.
|
@@ -1156,14 +1390,74 @@ module Aws::Firehose
|
|
1156
1390
|
# log_stream_name: "LogStreamName",
|
1157
1391
|
# },
|
1158
1392
|
# },
|
1393
|
+
# data_format_conversion_configuration: {
|
1394
|
+
# schema_configuration: {
|
1395
|
+
# role_arn: "NonEmptyStringWithoutWhitespace",
|
1396
|
+
# catalog_id: "NonEmptyStringWithoutWhitespace",
|
1397
|
+
# database_name: "NonEmptyStringWithoutWhitespace",
|
1398
|
+
# table_name: "NonEmptyStringWithoutWhitespace",
|
1399
|
+
# region: "NonEmptyStringWithoutWhitespace",
|
1400
|
+
# version_id: "NonEmptyStringWithoutWhitespace",
|
1401
|
+
# },
|
1402
|
+
# input_format_configuration: {
|
1403
|
+
# deserializer: {
|
1404
|
+
# open_x_json_ser_de: {
|
1405
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
1406
|
+
# case_insensitive: false,
|
1407
|
+
# column_to_json_key_mappings: {
|
1408
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
1409
|
+
# },
|
1410
|
+
# },
|
1411
|
+
# hive_json_ser_de: {
|
1412
|
+
# timestamp_formats: ["NonEmptyString"],
|
1413
|
+
# },
|
1414
|
+
# },
|
1415
|
+
# },
|
1416
|
+
# output_format_configuration: {
|
1417
|
+
# serializer: {
|
1418
|
+
# parquet_ser_de: {
|
1419
|
+
# block_size_bytes: 1,
|
1420
|
+
# page_size_bytes: 1,
|
1421
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
1422
|
+
# enable_dictionary_compression: false,
|
1423
|
+
# max_padding_bytes: 1,
|
1424
|
+
# writer_version: "V1", # accepts V1, V2
|
1425
|
+
# },
|
1426
|
+
# orc_ser_de: {
|
1427
|
+
# stripe_size_bytes: 1,
|
1428
|
+
# block_size_bytes: 1,
|
1429
|
+
# row_index_stride: 1,
|
1430
|
+
# enable_padding: false,
|
1431
|
+
# padding_tolerance: 1.0,
|
1432
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
1433
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
1434
|
+
# bloom_filter_false_positive_probability: 1.0,
|
1435
|
+
# dictionary_key_threshold: 1.0,
|
1436
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
1437
|
+
# },
|
1438
|
+
# },
|
1439
|
+
# },
|
1440
|
+
# enabled: false,
|
1441
|
+
# },
|
1159
1442
|
# }
|
1160
1443
|
#
|
1161
1444
|
# @!attribute [rw] role_arn
|
1162
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
1445
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
1446
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
1447
|
+
# Namespaces][1].
|
1448
|
+
#
|
1449
|
+
#
|
1450
|
+
#
|
1451
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1163
1452
|
# @return [String]
|
1164
1453
|
#
|
1165
1454
|
# @!attribute [rw] bucket_arn
|
1166
|
-
# The ARN of the S3 bucket.
|
1455
|
+
# The ARN of the S3 bucket. For more information, see [Amazon Resource
|
1456
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
1457
|
+
#
|
1458
|
+
#
|
1459
|
+
#
|
1460
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1167
1461
|
# @return [String]
|
1168
1462
|
#
|
1169
1463
|
# @!attribute [rw] prefix
|
@@ -1194,7 +1488,7 @@ module Aws::Firehose
|
|
1194
1488
|
# @return [Types::EncryptionConfiguration]
|
1195
1489
|
#
|
1196
1490
|
# @!attribute [rw] cloud_watch_logging_options
|
1197
|
-
# The CloudWatch logging options for your delivery stream.
|
1491
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
1198
1492
|
# @return [Types::CloudWatchLoggingOptions]
|
1199
1493
|
#
|
1200
1494
|
# @!attribute [rw] processing_configuration
|
@@ -1209,6 +1503,12 @@ module Aws::Firehose
|
|
1209
1503
|
# The configuration for backup in Amazon S3.
|
1210
1504
|
# @return [Types::S3DestinationConfiguration]
|
1211
1505
|
#
|
1506
|
+
# @!attribute [rw] data_format_conversion_configuration
|
1507
|
+
# The serializer, deserializer, and schema for converting data from
|
1508
|
+
# the JSON format to the Parquet or ORC format before writing it to
|
1509
|
+
# Amazon S3.
|
1510
|
+
# @return [Types::DataFormatConversionConfiguration]
|
1511
|
+
#
|
1212
1512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationConfiguration AWS API Documentation
|
1213
1513
|
#
|
1214
1514
|
class ExtendedS3DestinationConfiguration < Struct.new(
|
@@ -1221,27 +1521,39 @@ module Aws::Firehose
|
|
1221
1521
|
:cloud_watch_logging_options,
|
1222
1522
|
:processing_configuration,
|
1223
1523
|
:s3_backup_mode,
|
1224
|
-
:s3_backup_configuration
|
1524
|
+
:s3_backup_configuration,
|
1525
|
+
:data_format_conversion_configuration)
|
1225
1526
|
include Aws::Structure
|
1226
1527
|
end
|
1227
1528
|
|
1228
1529
|
# Describes a destination in Amazon S3.
|
1229
1530
|
#
|
1230
1531
|
# @!attribute [rw] role_arn
|
1231
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
1532
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
1533
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
1534
|
+
# Namespaces][1].
|
1535
|
+
#
|
1536
|
+
#
|
1537
|
+
#
|
1538
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1232
1539
|
# @return [String]
|
1233
1540
|
#
|
1234
1541
|
# @!attribute [rw] bucket_arn
|
1235
|
-
# The ARN of the S3 bucket.
|
1542
|
+
# The ARN of the S3 bucket. For more information, see [Amazon Resource
|
1543
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
1544
|
+
#
|
1545
|
+
#
|
1546
|
+
#
|
1547
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1236
1548
|
# @return [String]
|
1237
1549
|
#
|
1238
1550
|
# @!attribute [rw] prefix
|
1239
1551
|
# The "YYYY/MM/DD/HH" time format prefix is automatically used for
|
1240
|
-
# delivered S3 files. You can specify an extra prefix to be
|
1241
|
-
# front of the time format prefix. If the prefix ends with a
|
1242
|
-
# appears as a folder in the S3 bucket. For more
|
1243
|
-
# [Amazon S3 Object Name Format][1] in the *Amazon
|
1244
|
-
# Firehose Developer Guide*.
|
1552
|
+
# delivered Amazon S3 files. You can specify an extra prefix to be
|
1553
|
+
# added in front of the time format prefix. If the prefix ends with a
|
1554
|
+
# slash, it appears as a folder in the S3 bucket. For more
|
1555
|
+
# information, see [Amazon S3 Object Name Format][1] in the *Amazon
|
1556
|
+
# Kinesis Data Firehose Developer Guide*.
|
1245
1557
|
#
|
1246
1558
|
#
|
1247
1559
|
#
|
@@ -1263,7 +1575,7 @@ module Aws::Firehose
|
|
1263
1575
|
# @return [Types::EncryptionConfiguration]
|
1264
1576
|
#
|
1265
1577
|
# @!attribute [rw] cloud_watch_logging_options
|
1266
|
-
# The CloudWatch logging options for your delivery stream.
|
1578
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
1267
1579
|
# @return [Types::CloudWatchLoggingOptions]
|
1268
1580
|
#
|
1269
1581
|
# @!attribute [rw] processing_configuration
|
@@ -1278,6 +1590,12 @@ module Aws::Firehose
|
|
1278
1590
|
# The configuration for backup in Amazon S3.
|
1279
1591
|
# @return [Types::S3DestinationDescription]
|
1280
1592
|
#
|
1593
|
+
# @!attribute [rw] data_format_conversion_configuration
|
1594
|
+
# The serializer, deserializer, and schema for converting data from
|
1595
|
+
# the JSON format to the Parquet or ORC format before writing it to
|
1596
|
+
# Amazon S3.
|
1597
|
+
# @return [Types::DataFormatConversionConfiguration]
|
1598
|
+
#
|
1281
1599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationDescription AWS API Documentation
|
1282
1600
|
#
|
1283
1601
|
class ExtendedS3DestinationDescription < Struct.new(
|
@@ -1290,7 +1608,8 @@ module Aws::Firehose
|
|
1290
1608
|
:cloud_watch_logging_options,
|
1291
1609
|
:processing_configuration,
|
1292
1610
|
:s3_backup_mode,
|
1293
|
-
:s3_backup_description
|
1611
|
+
:s3_backup_description,
|
1612
|
+
:data_format_conversion_configuration)
|
1294
1613
|
include Aws::Structure
|
1295
1614
|
end
|
1296
1615
|
|
@@ -1355,14 +1674,74 @@ module Aws::Firehose
|
|
1355
1674
|
# log_stream_name: "LogStreamName",
|
1356
1675
|
# },
|
1357
1676
|
# },
|
1677
|
+
# data_format_conversion_configuration: {
|
1678
|
+
# schema_configuration: {
|
1679
|
+
# role_arn: "NonEmptyStringWithoutWhitespace",
|
1680
|
+
# catalog_id: "NonEmptyStringWithoutWhitespace",
|
1681
|
+
# database_name: "NonEmptyStringWithoutWhitespace",
|
1682
|
+
# table_name: "NonEmptyStringWithoutWhitespace",
|
1683
|
+
# region: "NonEmptyStringWithoutWhitespace",
|
1684
|
+
# version_id: "NonEmptyStringWithoutWhitespace",
|
1685
|
+
# },
|
1686
|
+
# input_format_configuration: {
|
1687
|
+
# deserializer: {
|
1688
|
+
# open_x_json_ser_de: {
|
1689
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
1690
|
+
# case_insensitive: false,
|
1691
|
+
# column_to_json_key_mappings: {
|
1692
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
1693
|
+
# },
|
1694
|
+
# },
|
1695
|
+
# hive_json_ser_de: {
|
1696
|
+
# timestamp_formats: ["NonEmptyString"],
|
1697
|
+
# },
|
1698
|
+
# },
|
1699
|
+
# },
|
1700
|
+
# output_format_configuration: {
|
1701
|
+
# serializer: {
|
1702
|
+
# parquet_ser_de: {
|
1703
|
+
# block_size_bytes: 1,
|
1704
|
+
# page_size_bytes: 1,
|
1705
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
1706
|
+
# enable_dictionary_compression: false,
|
1707
|
+
# max_padding_bytes: 1,
|
1708
|
+
# writer_version: "V1", # accepts V1, V2
|
1709
|
+
# },
|
1710
|
+
# orc_ser_de: {
|
1711
|
+
# stripe_size_bytes: 1,
|
1712
|
+
# block_size_bytes: 1,
|
1713
|
+
# row_index_stride: 1,
|
1714
|
+
# enable_padding: false,
|
1715
|
+
# padding_tolerance: 1.0,
|
1716
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
1717
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
1718
|
+
# bloom_filter_false_positive_probability: 1.0,
|
1719
|
+
# dictionary_key_threshold: 1.0,
|
1720
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
1721
|
+
# },
|
1722
|
+
# },
|
1723
|
+
# },
|
1724
|
+
# enabled: false,
|
1725
|
+
# },
|
1358
1726
|
# }
|
1359
1727
|
#
|
1360
1728
|
# @!attribute [rw] role_arn
|
1361
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
1729
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
1730
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
1731
|
+
# Namespaces][1].
|
1732
|
+
#
|
1733
|
+
#
|
1734
|
+
#
|
1735
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1362
1736
|
# @return [String]
|
1363
1737
|
#
|
1364
1738
|
# @!attribute [rw] bucket_arn
|
1365
|
-
# The ARN of the S3 bucket.
|
1739
|
+
# The ARN of the S3 bucket. For more information, see [Amazon Resource
|
1740
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
1741
|
+
#
|
1742
|
+
#
|
1743
|
+
#
|
1744
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1366
1745
|
# @return [String]
|
1367
1746
|
#
|
1368
1747
|
# @!attribute [rw] prefix
|
@@ -1393,7 +1772,7 @@ module Aws::Firehose
|
|
1393
1772
|
# @return [Types::EncryptionConfiguration]
|
1394
1773
|
#
|
1395
1774
|
# @!attribute [rw] cloud_watch_logging_options
|
1396
|
-
# The CloudWatch logging options for your delivery stream.
|
1775
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
1397
1776
|
# @return [Types::CloudWatchLoggingOptions]
|
1398
1777
|
#
|
1399
1778
|
# @!attribute [rw] processing_configuration
|
@@ -1408,6 +1787,12 @@ module Aws::Firehose
|
|
1408
1787
|
# The Amazon S3 destination for backup.
|
1409
1788
|
# @return [Types::S3DestinationUpdate]
|
1410
1789
|
#
|
1790
|
+
# @!attribute [rw] data_format_conversion_configuration
|
1791
|
+
# The serializer, deserializer, and schema for converting data from
|
1792
|
+
# the JSON format to the Parquet or ORC format before writing it to
|
1793
|
+
# Amazon S3.
|
1794
|
+
# @return [Types::DataFormatConversionConfiguration]
|
1795
|
+
#
|
1411
1796
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationUpdate AWS API Documentation
|
1412
1797
|
#
|
1413
1798
|
class ExtendedS3DestinationUpdate < Struct.new(
|
@@ -1420,7 +1805,78 @@ module Aws::Firehose
|
|
1420
1805
|
:cloud_watch_logging_options,
|
1421
1806
|
:processing_configuration,
|
1422
1807
|
:s3_backup_mode,
|
1423
|
-
:s3_backup_update
|
1808
|
+
:s3_backup_update,
|
1809
|
+
:data_format_conversion_configuration)
|
1810
|
+
include Aws::Structure
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
# The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose
|
1814
|
+
# for deserializing data, which means converting it from the JSON format
|
1815
|
+
# in preparation for serializing it to the Parquet or ORC format. This
|
1816
|
+
# is one of two deserializers you can choose, depending on which one
|
1817
|
+
# offers the functionality you need. The other option is the OpenX
|
1818
|
+
# SerDe.
|
1819
|
+
#
|
1820
|
+
# @note When making an API call, you may pass HiveJsonSerDe
|
1821
|
+
# data as a hash:
|
1822
|
+
#
|
1823
|
+
# {
|
1824
|
+
# timestamp_formats: ["NonEmptyString"],
|
1825
|
+
# }
|
1826
|
+
#
|
1827
|
+
# @!attribute [rw] timestamp_formats
|
1828
|
+
# Indicates how you want Kinesis Data Firehose to parse the date and
|
1829
|
+
# time stamps that may be present in your input data JSON. To specify
|
1830
|
+
# these format strings, follow the pattern syntax of JodaTime's
|
1831
|
+
# DateTimeFormat format strings. For more information, see [Class
|
1832
|
+
# DateTimeFormat][1]. You can also use the special value `millis` to
|
1833
|
+
# parse time stamps in epoch milliseconds. If you don't specify a
|
1834
|
+
# format, Kinesis Data Firehose uses `java.sql.Timestamp::valueOf` by
|
1835
|
+
# default.
|
1836
|
+
#
|
1837
|
+
#
|
1838
|
+
#
|
1839
|
+
# [1]: https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html
|
1840
|
+
# @return [Array<String>]
|
1841
|
+
#
|
1842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/HiveJsonSerDe AWS API Documentation
|
1843
|
+
#
|
1844
|
+
class HiveJsonSerDe < Struct.new(
|
1845
|
+
:timestamp_formats)
|
1846
|
+
include Aws::Structure
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# Specifies the deserializer you want to use to convert the format of
|
1850
|
+
# the input data.
|
1851
|
+
#
|
1852
|
+
# @note When making an API call, you may pass InputFormatConfiguration
|
1853
|
+
# data as a hash:
|
1854
|
+
#
|
1855
|
+
# {
|
1856
|
+
# deserializer: {
|
1857
|
+
# open_x_json_ser_de: {
|
1858
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
1859
|
+
# case_insensitive: false,
|
1860
|
+
# column_to_json_key_mappings: {
|
1861
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
1862
|
+
# },
|
1863
|
+
# },
|
1864
|
+
# hive_json_ser_de: {
|
1865
|
+
# timestamp_formats: ["NonEmptyString"],
|
1866
|
+
# },
|
1867
|
+
# },
|
1868
|
+
# }
|
1869
|
+
#
|
1870
|
+
# @!attribute [rw] deserializer
|
1871
|
+
# Specifies which deserializer to use. You can choose either the
|
1872
|
+
# Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are
|
1873
|
+
# non-null, the server rejects the request.
|
1874
|
+
# @return [Types::Deserializer]
|
1875
|
+
#
|
1876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/InputFormatConfiguration AWS API Documentation
|
1877
|
+
#
|
1878
|
+
class InputFormatConfiguration < Struct.new(
|
1879
|
+
:deserializer)
|
1424
1880
|
include Aws::Structure
|
1425
1881
|
end
|
1426
1882
|
|
@@ -1435,7 +1891,13 @@ module Aws::Firehose
|
|
1435
1891
|
#
|
1436
1892
|
# @!attribute [rw] awskms_key_arn
|
1437
1893
|
# The Amazon Resource Name (ARN) of the encryption key. Must belong to
|
1438
|
-
# the same AWS Region as the destination Amazon S3 bucket.
|
1894
|
+
# the same AWS Region as the destination Amazon S3 bucket. For more
|
1895
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
1896
|
+
# Namespaces][1].
|
1897
|
+
#
|
1898
|
+
#
|
1899
|
+
#
|
1900
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1439
1901
|
# @return [String]
|
1440
1902
|
#
|
1441
1903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KMSEncryptionConfig AWS API Documentation
|
@@ -1457,12 +1919,22 @@ module Aws::Firehose
|
|
1457
1919
|
# }
|
1458
1920
|
#
|
1459
1921
|
# @!attribute [rw] kinesis_stream_arn
|
1460
|
-
# The ARN of the source Kinesis data stream.
|
1922
|
+
# The ARN of the source Kinesis data stream. For more information, see
|
1923
|
+
# [Amazon Kinesis Data Streams ARN Format][1].
|
1924
|
+
#
|
1925
|
+
#
|
1926
|
+
#
|
1927
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams
|
1461
1928
|
# @return [String]
|
1462
1929
|
#
|
1463
1930
|
# @!attribute [rw] role_arn
|
1464
1931
|
# The ARN of the role that provides access to the source Kinesis data
|
1465
|
-
# stream.
|
1932
|
+
# stream. For more information, see [AWS Identity and Access
|
1933
|
+
# Management (IAM) ARN Format][1].
|
1934
|
+
#
|
1935
|
+
#
|
1936
|
+
#
|
1937
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam
|
1466
1938
|
# @return [String]
|
1467
1939
|
#
|
1468
1940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceConfiguration AWS API Documentation
|
@@ -1478,10 +1950,22 @@ module Aws::Firehose
|
|
1478
1950
|
#
|
1479
1951
|
# @!attribute [rw] kinesis_stream_arn
|
1480
1952
|
# The Amazon Resource Name (ARN) of the source Kinesis data stream.
|
1953
|
+
# For more information, see [Amazon Kinesis Data Streams ARN
|
1954
|
+
# Format][1].
|
1955
|
+
#
|
1956
|
+
#
|
1957
|
+
#
|
1958
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams
|
1481
1959
|
# @return [String]
|
1482
1960
|
#
|
1483
1961
|
# @!attribute [rw] role_arn
|
1484
|
-
# The ARN of the role used by the source Kinesis data stream.
|
1962
|
+
# The ARN of the role used by the source Kinesis data stream. For more
|
1963
|
+
# information, see [AWS Identity and Access Management (IAM) ARN
|
1964
|
+
# Format][1].
|
1965
|
+
#
|
1966
|
+
#
|
1967
|
+
#
|
1968
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam
|
1485
1969
|
# @return [String]
|
1486
1970
|
#
|
1487
1971
|
# @!attribute [rw] delivery_start_timestamp
|
@@ -1609,6 +2093,275 @@ module Aws::Firehose
|
|
1609
2093
|
include Aws::Structure
|
1610
2094
|
end
|
1611
2095
|
|
2096
|
+
# The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data,
|
2097
|
+
# which means converting it from the JSON format in preparation for
|
2098
|
+
# serializing it to the Parquet or ORC format. This is one of two
|
2099
|
+
# deserializers you can choose, depending on which one offers the
|
2100
|
+
# functionality you need. The other option is the native Hive / HCatalog
|
2101
|
+
# JsonSerDe.
|
2102
|
+
#
|
2103
|
+
# @note When making an API call, you may pass OpenXJsonSerDe
|
2104
|
+
# data as a hash:
|
2105
|
+
#
|
2106
|
+
# {
|
2107
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
2108
|
+
# case_insensitive: false,
|
2109
|
+
# column_to_json_key_mappings: {
|
2110
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
2111
|
+
# },
|
2112
|
+
# }
|
2113
|
+
#
|
2114
|
+
# @!attribute [rw] convert_dots_in_json_keys_to_underscores
|
2115
|
+
# When set to `true`, specifies that the names of the keys include
|
2116
|
+
# dots and that you want Kinesis Data Firehose to replace them with
|
2117
|
+
# underscores. This is useful because Apache Hive does not allow dots
|
2118
|
+
# in column names. For example, if the JSON contains a key whose name
|
2119
|
+
# is "a.b", you can define the column name to be "a\_b" when using
|
2120
|
+
# this option.
|
2121
|
+
#
|
2122
|
+
# The default is `false`.
|
2123
|
+
# @return [Boolean]
|
2124
|
+
#
|
2125
|
+
# @!attribute [rw] case_insensitive
|
2126
|
+
# When set to `true`, which is the default, Kinesis Data Firehose
|
2127
|
+
# converts JSON keys to lowercase before deserializing them.
|
2128
|
+
# @return [Boolean]
|
2129
|
+
#
|
2130
|
+
# @!attribute [rw] column_to_json_key_mappings
|
2131
|
+
# Maps column names to JSON keys that aren't identical to the column
|
2132
|
+
# names. This is useful when the JSON contains keys that are Hive
|
2133
|
+
# keywords. For example, `timestamp` is a Hive keyword. If you have a
|
2134
|
+
# JSON key named `timestamp`, set this parameter to `\{"ts":
|
2135
|
+
# "timestamp"\}` to map this key to a column named `ts`.
|
2136
|
+
# @return [Hash<String,String>]
|
2137
|
+
#
|
2138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/OpenXJsonSerDe AWS API Documentation
|
2139
|
+
#
|
2140
|
+
class OpenXJsonSerDe < Struct.new(
|
2141
|
+
:convert_dots_in_json_keys_to_underscores,
|
2142
|
+
:case_insensitive,
|
2143
|
+
:column_to_json_key_mappings)
|
2144
|
+
include Aws::Structure
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
# A serializer to use for converting data to the ORC format before
|
2148
|
+
# storing it in Amazon S3. For more information, see [Apache ORC][1].
|
2149
|
+
#
|
2150
|
+
#
|
2151
|
+
#
|
2152
|
+
# [1]: https://orc.apache.org/docs/
|
2153
|
+
#
|
2154
|
+
# @note When making an API call, you may pass OrcSerDe
|
2155
|
+
# data as a hash:
|
2156
|
+
#
|
2157
|
+
# {
|
2158
|
+
# stripe_size_bytes: 1,
|
2159
|
+
# block_size_bytes: 1,
|
2160
|
+
# row_index_stride: 1,
|
2161
|
+
# enable_padding: false,
|
2162
|
+
# padding_tolerance: 1.0,
|
2163
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
2164
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
2165
|
+
# bloom_filter_false_positive_probability: 1.0,
|
2166
|
+
# dictionary_key_threshold: 1.0,
|
2167
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
2168
|
+
# }
|
2169
|
+
#
|
2170
|
+
# @!attribute [rw] stripe_size_bytes
|
2171
|
+
# The number of bytes in each stripe. The default is 64 MiB and the
|
2172
|
+
# minimum is 8 MiB.
|
2173
|
+
# @return [Integer]
|
2174
|
+
#
|
2175
|
+
# @!attribute [rw] block_size_bytes
|
2176
|
+
# The Hadoop Distributed File System (HDFS) block size. This is useful
|
2177
|
+
# if you intend to copy the data from Amazon S3 to HDFS before
|
2178
|
+
# querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis
|
2179
|
+
# Data Firehose uses this value for padding calculations.
|
2180
|
+
# @return [Integer]
|
2181
|
+
#
|
2182
|
+
# @!attribute [rw] row_index_stride
|
2183
|
+
# The number of rows between index entries. The default is 10,000 and
|
2184
|
+
# the minimum is 1,000.
|
2185
|
+
# @return [Integer]
|
2186
|
+
#
|
2187
|
+
# @!attribute [rw] enable_padding
|
2188
|
+
# Set this to `true` to indicate that you want stripes to be padded to
|
2189
|
+
# the HDFS block boundaries. This is useful if you intend to copy the
|
2190
|
+
# data from Amazon S3 to HDFS before querying. The default is `false`.
|
2191
|
+
# @return [Boolean]
|
2192
|
+
#
|
2193
|
+
# @!attribute [rw] padding_tolerance
|
2194
|
+
# A number between 0 and 1 that defines the tolerance for block
|
2195
|
+
# padding as a decimal fraction of stripe size. The default value is
|
2196
|
+
# 0.05, which means 5 percent of stripe size.
|
2197
|
+
#
|
2198
|
+
# For the default values of 64 MiB ORC stripes and 256 MiB HDFS
|
2199
|
+
# blocks, the default block padding tolerance of 5 percent reserves a
|
2200
|
+
# maximum of 3.2 MiB for padding within the 256 MiB block. In such a
|
2201
|
+
# case, if the available size within the block is more than 3.2 MiB, a
|
2202
|
+
# new, smaller stripe is inserted to fit within that space. This
|
2203
|
+
# ensures that no stripe crosses block boundaries and causes remote
|
2204
|
+
# reads within a node-local task.
|
2205
|
+
#
|
2206
|
+
# Kinesis Data Firehose ignores this parameter when
|
2207
|
+
# OrcSerDe$EnablePadding is `false`.
|
2208
|
+
# @return [Float]
|
2209
|
+
#
|
2210
|
+
# @!attribute [rw] compression
|
2211
|
+
# The compression code to use over data blocks. The default is
|
2212
|
+
# `SNAPPY`.
|
2213
|
+
# @return [String]
|
2214
|
+
#
|
2215
|
+
# @!attribute [rw] bloom_filter_columns
|
2216
|
+
# The column names for which you want Kinesis Data Firehose to create
|
2217
|
+
# bloom filters. The default is `null`.
|
2218
|
+
# @return [Array<String>]
|
2219
|
+
#
|
2220
|
+
# @!attribute [rw] bloom_filter_false_positive_probability
|
2221
|
+
# The Bloom filter false positive probability (FPP). The lower the
|
2222
|
+
# FPP, the bigger the Bloom filter. The default value is 0.05, the
|
2223
|
+
# minimum is 0, and the maximum is 1.
|
2224
|
+
# @return [Float]
|
2225
|
+
#
|
2226
|
+
# @!attribute [rw] dictionary_key_threshold
|
2227
|
+
# Represents the fraction of the total number of non-null rows. To
|
2228
|
+
# turn off dictionary encoding, set this fraction to a number that is
|
2229
|
+
# less than the number of distinct keys in a dictionary. To always use
|
2230
|
+
# dictionary encoding, set this threshold to 1.
|
2231
|
+
# @return [Float]
|
2232
|
+
#
|
2233
|
+
# @!attribute [rw] format_version
|
2234
|
+
# The version of the file to write. The possible values are `V0_11`
|
2235
|
+
# and `V0_12`. The default is `V0_12`.
|
2236
|
+
# @return [String]
|
2237
|
+
#
|
2238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/OrcSerDe AWS API Documentation
|
2239
|
+
#
|
2240
|
+
class OrcSerDe < Struct.new(
|
2241
|
+
:stripe_size_bytes,
|
2242
|
+
:block_size_bytes,
|
2243
|
+
:row_index_stride,
|
2244
|
+
:enable_padding,
|
2245
|
+
:padding_tolerance,
|
2246
|
+
:compression,
|
2247
|
+
:bloom_filter_columns,
|
2248
|
+
:bloom_filter_false_positive_probability,
|
2249
|
+
:dictionary_key_threshold,
|
2250
|
+
:format_version)
|
2251
|
+
include Aws::Structure
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
# Specifies the serializer that you want Kinesis Data Firehose to use to
|
2255
|
+
# convert the format of your data before it writes it to Amazon S3.
|
2256
|
+
#
|
2257
|
+
# @note When making an API call, you may pass OutputFormatConfiguration
|
2258
|
+
# data as a hash:
|
2259
|
+
#
|
2260
|
+
# {
|
2261
|
+
# serializer: {
|
2262
|
+
# parquet_ser_de: {
|
2263
|
+
# block_size_bytes: 1,
|
2264
|
+
# page_size_bytes: 1,
|
2265
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
2266
|
+
# enable_dictionary_compression: false,
|
2267
|
+
# max_padding_bytes: 1,
|
2268
|
+
# writer_version: "V1", # accepts V1, V2
|
2269
|
+
# },
|
2270
|
+
# orc_ser_de: {
|
2271
|
+
# stripe_size_bytes: 1,
|
2272
|
+
# block_size_bytes: 1,
|
2273
|
+
# row_index_stride: 1,
|
2274
|
+
# enable_padding: false,
|
2275
|
+
# padding_tolerance: 1.0,
|
2276
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
2277
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
2278
|
+
# bloom_filter_false_positive_probability: 1.0,
|
2279
|
+
# dictionary_key_threshold: 1.0,
|
2280
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
2281
|
+
# },
|
2282
|
+
# },
|
2283
|
+
# }
|
2284
|
+
#
|
2285
|
+
# @!attribute [rw] serializer
|
2286
|
+
# Specifies which serializer to use. You can choose either the ORC
|
2287
|
+
# SerDe or the Parquet SerDe. If both are non-null, the server rejects
|
2288
|
+
# the request.
|
2289
|
+
# @return [Types::Serializer]
|
2290
|
+
#
|
2291
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/OutputFormatConfiguration AWS API Documentation
|
2292
|
+
#
|
2293
|
+
class OutputFormatConfiguration < Struct.new(
|
2294
|
+
:serializer)
|
2295
|
+
include Aws::Structure
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# A serializer to use for converting data to the Parquet format before
|
2299
|
+
# storing it in Amazon S3. For more information, see [Apache
|
2300
|
+
# Parquet][1].
|
2301
|
+
#
|
2302
|
+
#
|
2303
|
+
#
|
2304
|
+
# [1]: https://parquet.apache.org/documentation/latest/
|
2305
|
+
#
|
2306
|
+
# @note When making an API call, you may pass ParquetSerDe
|
2307
|
+
# data as a hash:
|
2308
|
+
#
|
2309
|
+
# {
|
2310
|
+
# block_size_bytes: 1,
|
2311
|
+
# page_size_bytes: 1,
|
2312
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
2313
|
+
# enable_dictionary_compression: false,
|
2314
|
+
# max_padding_bytes: 1,
|
2315
|
+
# writer_version: "V1", # accepts V1, V2
|
2316
|
+
# }
|
2317
|
+
#
|
2318
|
+
# @!attribute [rw] block_size_bytes
|
2319
|
+
# The Hadoop Distributed File System (HDFS) block size. This is useful
|
2320
|
+
# if you intend to copy the data from Amazon S3 to HDFS before
|
2321
|
+
# querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis
|
2322
|
+
# Data Firehose uses this value for padding calculations.
|
2323
|
+
# @return [Integer]
|
2324
|
+
#
|
2325
|
+
# @!attribute [rw] page_size_bytes
|
2326
|
+
# The Parquet page size. Column chunks are divided into pages. A page
|
2327
|
+
# is conceptually an indivisible unit (in terms of compression and
|
2328
|
+
# encoding). The minimum value is 64 KiB and the default is 1 MiB.
|
2329
|
+
# @return [Integer]
|
2330
|
+
#
|
2331
|
+
# @!attribute [rw] compression
|
2332
|
+
# The compression code to use over data blocks. The possible values
|
2333
|
+
# are `UNCOMPRESSED`, `SNAPPY`, and `GZIP`, with the default being
|
2334
|
+
# `SNAPPY`. Use `SNAPPY` for higher decompression speed. Use `GZIP` if
|
2335
|
+
# the compression ration is more important than speed.
|
2336
|
+
# @return [String]
|
2337
|
+
#
|
2338
|
+
# @!attribute [rw] enable_dictionary_compression
|
2339
|
+
# Indicates whether to enable dictionary compression.
|
2340
|
+
# @return [Boolean]
|
2341
|
+
#
|
2342
|
+
# @!attribute [rw] max_padding_bytes
|
2343
|
+
# The maximum amount of padding to apply. This is useful if you intend
|
2344
|
+
# to copy the data from Amazon S3 to HDFS before querying. The default
|
2345
|
+
# is 0.
|
2346
|
+
# @return [Integer]
|
2347
|
+
#
|
2348
|
+
# @!attribute [rw] writer_version
|
2349
|
+
# Indicates the version of row format to output. The possible values
|
2350
|
+
# are `V1` and `V2`. The default is `V1`.
|
2351
|
+
# @return [String]
|
2352
|
+
#
|
2353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ParquetSerDe AWS API Documentation
|
2354
|
+
#
|
2355
|
+
class ParquetSerDe < Struct.new(
|
2356
|
+
:block_size_bytes,
|
2357
|
+
:page_size_bytes,
|
2358
|
+
:compression,
|
2359
|
+
:enable_dictionary_compression,
|
2360
|
+
:max_padding_bytes,
|
2361
|
+
:writer_version)
|
2362
|
+
include Aws::Structure
|
2363
|
+
end
|
2364
|
+
|
1612
2365
|
# Describes a data processing configuration.
|
1613
2366
|
#
|
1614
2367
|
# @note When making an API call, you may pass ProcessingConfiguration
|
@@ -1916,7 +2669,13 @@ module Aws::Firehose
|
|
1916
2669
|
# }
|
1917
2670
|
#
|
1918
2671
|
# @!attribute [rw] role_arn
|
1919
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
2672
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
2673
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
2674
|
+
# Namespaces][1].
|
2675
|
+
#
|
2676
|
+
#
|
2677
|
+
#
|
2678
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1920
2679
|
# @return [String]
|
1921
2680
|
#
|
1922
2681
|
# @!attribute [rw] cluster_jdbc_url
|
@@ -1988,7 +2747,13 @@ module Aws::Firehose
|
|
1988
2747
|
# Describes a destination in Amazon Redshift.
|
1989
2748
|
#
|
1990
2749
|
# @!attribute [rw] role_arn
|
1991
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
2750
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
2751
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
2752
|
+
# Namespaces][1].
|
2753
|
+
#
|
2754
|
+
#
|
2755
|
+
#
|
2756
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1992
2757
|
# @return [String]
|
1993
2758
|
#
|
1994
2759
|
# @!attribute [rw] cluster_jdbc_url
|
@@ -2026,7 +2791,7 @@ module Aws::Firehose
|
|
2026
2791
|
# @return [Types::S3DestinationDescription]
|
2027
2792
|
#
|
2028
2793
|
# @!attribute [rw] cloud_watch_logging_options
|
2029
|
-
# The CloudWatch logging options for your delivery stream.
|
2794
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
2030
2795
|
# @return [Types::CloudWatchLoggingOptions]
|
2031
2796
|
#
|
2032
2797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationDescription AWS API Documentation
|
@@ -2128,7 +2893,13 @@ module Aws::Firehose
|
|
2128
2893
|
# }
|
2129
2894
|
#
|
2130
2895
|
# @!attribute [rw] role_arn
|
2131
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
2896
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
2897
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
2898
|
+
# Namespaces][1].
|
2899
|
+
#
|
2900
|
+
#
|
2901
|
+
#
|
2902
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2132
2903
|
# @return [String]
|
2133
2904
|
#
|
2134
2905
|
# @!attribute [rw] cluster_jdbc_url
|
@@ -2175,7 +2946,7 @@ module Aws::Firehose
|
|
2175
2946
|
# @return [Types::S3DestinationUpdate]
|
2176
2947
|
#
|
2177
2948
|
# @!attribute [rw] cloud_watch_logging_options
|
2178
|
-
# The CloudWatch logging options for your delivery stream.
|
2949
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
2179
2950
|
# @return [Types::CloudWatchLoggingOptions]
|
2180
2951
|
#
|
2181
2952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationUpdate AWS API Documentation
|
@@ -2249,11 +3020,22 @@ module Aws::Firehose
|
|
2249
3020
|
# }
|
2250
3021
|
#
|
2251
3022
|
# @!attribute [rw] role_arn
|
2252
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
3023
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
3024
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
3025
|
+
# Namespaces][1].
|
3026
|
+
#
|
3027
|
+
#
|
3028
|
+
#
|
3029
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2253
3030
|
# @return [String]
|
2254
3031
|
#
|
2255
3032
|
# @!attribute [rw] bucket_arn
|
2256
|
-
# The ARN of the S3 bucket.
|
3033
|
+
# The ARN of the S3 bucket. For more information, see [Amazon Resource
|
3034
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
3035
|
+
#
|
3036
|
+
#
|
3037
|
+
#
|
3038
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2257
3039
|
# @return [String]
|
2258
3040
|
#
|
2259
3041
|
# @!attribute [rw] prefix
|
@@ -2308,11 +3090,22 @@ module Aws::Firehose
|
|
2308
3090
|
# Describes a destination in Amazon S3.
|
2309
3091
|
#
|
2310
3092
|
# @!attribute [rw] role_arn
|
2311
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
3093
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
3094
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
3095
|
+
# Namespaces][1].
|
3096
|
+
#
|
3097
|
+
#
|
3098
|
+
#
|
3099
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2312
3100
|
# @return [String]
|
2313
3101
|
#
|
2314
3102
|
# @!attribute [rw] bucket_arn
|
2315
|
-
# The ARN of the S3 bucket.
|
3103
|
+
# The ARN of the S3 bucket. For more information, see [Amazon Resource
|
3104
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
3105
|
+
#
|
3106
|
+
#
|
3107
|
+
#
|
3108
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2316
3109
|
# @return [String]
|
2317
3110
|
#
|
2318
3111
|
# @!attribute [rw] prefix
|
@@ -2344,7 +3137,7 @@ module Aws::Firehose
|
|
2344
3137
|
# @return [Types::EncryptionConfiguration]
|
2345
3138
|
#
|
2346
3139
|
# @!attribute [rw] cloud_watch_logging_options
|
2347
|
-
# The CloudWatch logging options for your delivery stream.
|
3140
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
2348
3141
|
# @return [Types::CloudWatchLoggingOptions]
|
2349
3142
|
#
|
2350
3143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationDescription AWS API Documentation
|
@@ -2388,11 +3181,22 @@ module Aws::Firehose
|
|
2388
3181
|
# }
|
2389
3182
|
#
|
2390
3183
|
# @!attribute [rw] role_arn
|
2391
|
-
# The Amazon Resource Name (ARN) of the AWS credentials.
|
3184
|
+
# The Amazon Resource Name (ARN) of the AWS credentials. For more
|
3185
|
+
# information, see [Amazon Resource Names (ARNs) and AWS Service
|
3186
|
+
# Namespaces][1].
|
3187
|
+
#
|
3188
|
+
#
|
3189
|
+
#
|
3190
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2392
3191
|
# @return [String]
|
2393
3192
|
#
|
2394
3193
|
# @!attribute [rw] bucket_arn
|
2395
|
-
# The ARN of the S3 bucket.
|
3194
|
+
# The ARN of the S3 bucket. For more information, see [Amazon Resource
|
3195
|
+
# Names (ARNs) and AWS Service Namespaces][1].
|
3196
|
+
#
|
3197
|
+
#
|
3198
|
+
#
|
3199
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2396
3200
|
# @return [String]
|
2397
3201
|
#
|
2398
3202
|
# @!attribute [rw] prefix
|
@@ -2444,6 +3248,129 @@ module Aws::Firehose
|
|
2444
3248
|
include Aws::Structure
|
2445
3249
|
end
|
2446
3250
|
|
3251
|
+
# Specifies the schema to which you want Kinesis Data Firehose to
|
3252
|
+
# configure your data before it writes it to Amazon S3.
|
3253
|
+
#
|
3254
|
+
# @note When making an API call, you may pass SchemaConfiguration
|
3255
|
+
# data as a hash:
|
3256
|
+
#
|
3257
|
+
# {
|
3258
|
+
# role_arn: "NonEmptyStringWithoutWhitespace",
|
3259
|
+
# catalog_id: "NonEmptyStringWithoutWhitespace",
|
3260
|
+
# database_name: "NonEmptyStringWithoutWhitespace",
|
3261
|
+
# table_name: "NonEmptyStringWithoutWhitespace",
|
3262
|
+
# region: "NonEmptyStringWithoutWhitespace",
|
3263
|
+
# version_id: "NonEmptyStringWithoutWhitespace",
|
3264
|
+
# }
|
3265
|
+
#
|
3266
|
+
# @!attribute [rw] role_arn
|
3267
|
+
# The role that Kinesis Data Firehose can use to access AWS Glue. This
|
3268
|
+
# role must be in the same account you use for Kinesis Data Firehose.
|
3269
|
+
# Cross-account roles aren't allowed.
|
3270
|
+
# @return [String]
|
3271
|
+
#
|
3272
|
+
# @!attribute [rw] catalog_id
|
3273
|
+
# The ID of the AWS Glue Data Catalog. If you don't supply this, the
|
3274
|
+
# AWS account ID is used by default.
|
3275
|
+
# @return [String]
|
3276
|
+
#
|
3277
|
+
# @!attribute [rw] database_name
|
3278
|
+
# Specifies the name of the AWS Glue database that contains the schema
|
3279
|
+
# for the output data.
|
3280
|
+
# @return [String]
|
3281
|
+
#
|
3282
|
+
# @!attribute [rw] table_name
|
3283
|
+
# Specifies the AWS Glue table that contains the column information
|
3284
|
+
# that constitutes your data schema.
|
3285
|
+
# @return [String]
|
3286
|
+
#
|
3287
|
+
# @!attribute [rw] region
|
3288
|
+
# If you don't specify an AWS Region, the default is the current
|
3289
|
+
# Region.
|
3290
|
+
# @return [String]
|
3291
|
+
#
|
3292
|
+
# @!attribute [rw] version_id
|
3293
|
+
# Specifies the table version for the output data schema. If you
|
3294
|
+
# don't specify this version ID, or if you set it to `LATEST`,
|
3295
|
+
# Kinesis Data Firehose uses the most recent version. This means that
|
3296
|
+
# any updates to the table are automatically picked up.
|
3297
|
+
# @return [String]
|
3298
|
+
#
|
3299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SchemaConfiguration AWS API Documentation
|
3300
|
+
#
|
3301
|
+
class SchemaConfiguration < Struct.new(
|
3302
|
+
:role_arn,
|
3303
|
+
:catalog_id,
|
3304
|
+
:database_name,
|
3305
|
+
:table_name,
|
3306
|
+
:region,
|
3307
|
+
:version_id)
|
3308
|
+
include Aws::Structure
|
3309
|
+
end
|
3310
|
+
|
3311
|
+
# The serializer that you want Kinesis Data Firehose to use to convert
|
3312
|
+
# data to the target format before writing it to Amazon S3. Kinesis Data
|
3313
|
+
# Firehose supports two types of serializers: the [ORC SerDe][1] and the
|
3314
|
+
# [Parquet SerDe][2].
|
3315
|
+
#
|
3316
|
+
#
|
3317
|
+
#
|
3318
|
+
# [1]: https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/orc/OrcSerde.html
|
3319
|
+
# [2]: https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveSerDe.html
|
3320
|
+
#
|
3321
|
+
# @note When making an API call, you may pass Serializer
|
3322
|
+
# data as a hash:
|
3323
|
+
#
|
3324
|
+
# {
|
3325
|
+
# parquet_ser_de: {
|
3326
|
+
# block_size_bytes: 1,
|
3327
|
+
# page_size_bytes: 1,
|
3328
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
3329
|
+
# enable_dictionary_compression: false,
|
3330
|
+
# max_padding_bytes: 1,
|
3331
|
+
# writer_version: "V1", # accepts V1, V2
|
3332
|
+
# },
|
3333
|
+
# orc_ser_de: {
|
3334
|
+
# stripe_size_bytes: 1,
|
3335
|
+
# block_size_bytes: 1,
|
3336
|
+
# row_index_stride: 1,
|
3337
|
+
# enable_padding: false,
|
3338
|
+
# padding_tolerance: 1.0,
|
3339
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
3340
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
3341
|
+
# bloom_filter_false_positive_probability: 1.0,
|
3342
|
+
# dictionary_key_threshold: 1.0,
|
3343
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
3344
|
+
# },
|
3345
|
+
# }
|
3346
|
+
#
|
3347
|
+
# @!attribute [rw] parquet_ser_de
|
3348
|
+
# A serializer to use for converting data to the Parquet format before
|
3349
|
+
# storing it in Amazon S3. For more information, see [Apache
|
3350
|
+
# Parquet][1].
|
3351
|
+
#
|
3352
|
+
#
|
3353
|
+
#
|
3354
|
+
# [1]: https://parquet.apache.org/documentation/latest/
|
3355
|
+
# @return [Types::ParquetSerDe]
|
3356
|
+
#
|
3357
|
+
# @!attribute [rw] orc_ser_de
|
3358
|
+
# A serializer to use for converting data to the ORC format before
|
3359
|
+
# storing it in Amazon S3. For more information, see [Apache ORC][1].
|
3360
|
+
#
|
3361
|
+
#
|
3362
|
+
#
|
3363
|
+
# [1]: https://orc.apache.org/docs/
|
3364
|
+
# @return [Types::OrcSerDe]
|
3365
|
+
#
|
3366
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Serializer AWS API Documentation
|
3367
|
+
#
|
3368
|
+
class Serializer < Struct.new(
|
3369
|
+
:parquet_ser_de,
|
3370
|
+
:orc_ser_de)
|
3371
|
+
include Aws::Structure
|
3372
|
+
end
|
3373
|
+
|
2447
3374
|
# Details about a Kinesis data stream used as the source for a Kinesis
|
2448
3375
|
# Data Firehose delivery stream.
|
2449
3376
|
#
|
@@ -2560,7 +3487,7 @@ module Aws::Firehose
|
|
2560
3487
|
# @return [Types::ProcessingConfiguration]
|
2561
3488
|
#
|
2562
3489
|
# @!attribute [rw] cloud_watch_logging_options
|
2563
|
-
# The CloudWatch logging options for your delivery stream.
|
3490
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
2564
3491
|
# @return [Types::CloudWatchLoggingOptions]
|
2565
3492
|
#
|
2566
3493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationConfiguration AWS API Documentation
|
@@ -2590,8 +3517,8 @@ module Aws::Firehose
|
|
2590
3517
|
# @return [String]
|
2591
3518
|
#
|
2592
3519
|
# @!attribute [rw] hec_token
|
2593
|
-
#
|
2594
|
-
#
|
3520
|
+
# A GUID you obtain from your Splunk cluster when you create a new HEC
|
3521
|
+
# endpoint.
|
2595
3522
|
# @return [String]
|
2596
3523
|
#
|
2597
3524
|
# @!attribute [rw] hec_acknowledgment_timeout_in_seconds
|
@@ -2625,7 +3552,7 @@ module Aws::Firehose
|
|
2625
3552
|
# @return [Types::ProcessingConfiguration]
|
2626
3553
|
#
|
2627
3554
|
# @!attribute [rw] cloud_watch_logging_options
|
2628
|
-
# The CloudWatch logging options for your delivery stream.
|
3555
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
2629
3556
|
# @return [Types::CloudWatchLoggingOptions]
|
2630
3557
|
#
|
2631
3558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationDescription AWS API Documentation
|
@@ -2744,7 +3671,7 @@ module Aws::Firehose
|
|
2744
3671
|
# @return [Types::ProcessingConfiguration]
|
2745
3672
|
#
|
2746
3673
|
# @!attribute [rw] cloud_watch_logging_options
|
2747
|
-
# The CloudWatch logging options for your delivery stream.
|
3674
|
+
# The Amazon CloudWatch logging options for your delivery stream.
|
2748
3675
|
# @return [Types::CloudWatchLoggingOptions]
|
2749
3676
|
#
|
2750
3677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationUpdate AWS API Documentation
|
@@ -2965,6 +3892,55 @@ module Aws::Firehose
|
|
2965
3892
|
# log_stream_name: "LogStreamName",
|
2966
3893
|
# },
|
2967
3894
|
# },
|
3895
|
+
# data_format_conversion_configuration: {
|
3896
|
+
# schema_configuration: {
|
3897
|
+
# role_arn: "NonEmptyStringWithoutWhitespace",
|
3898
|
+
# catalog_id: "NonEmptyStringWithoutWhitespace",
|
3899
|
+
# database_name: "NonEmptyStringWithoutWhitespace",
|
3900
|
+
# table_name: "NonEmptyStringWithoutWhitespace",
|
3901
|
+
# region: "NonEmptyStringWithoutWhitespace",
|
3902
|
+
# version_id: "NonEmptyStringWithoutWhitespace",
|
3903
|
+
# },
|
3904
|
+
# input_format_configuration: {
|
3905
|
+
# deserializer: {
|
3906
|
+
# open_x_json_ser_de: {
|
3907
|
+
# convert_dots_in_json_keys_to_underscores: false,
|
3908
|
+
# case_insensitive: false,
|
3909
|
+
# column_to_json_key_mappings: {
|
3910
|
+
# "NonEmptyStringWithoutWhitespace" => "NonEmptyString",
|
3911
|
+
# },
|
3912
|
+
# },
|
3913
|
+
# hive_json_ser_de: {
|
3914
|
+
# timestamp_formats: ["NonEmptyString"],
|
3915
|
+
# },
|
3916
|
+
# },
|
3917
|
+
# },
|
3918
|
+
# output_format_configuration: {
|
3919
|
+
# serializer: {
|
3920
|
+
# parquet_ser_de: {
|
3921
|
+
# block_size_bytes: 1,
|
3922
|
+
# page_size_bytes: 1,
|
3923
|
+
# compression: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, SNAPPY
|
3924
|
+
# enable_dictionary_compression: false,
|
3925
|
+
# max_padding_bytes: 1,
|
3926
|
+
# writer_version: "V1", # accepts V1, V2
|
3927
|
+
# },
|
3928
|
+
# orc_ser_de: {
|
3929
|
+
# stripe_size_bytes: 1,
|
3930
|
+
# block_size_bytes: 1,
|
3931
|
+
# row_index_stride: 1,
|
3932
|
+
# enable_padding: false,
|
3933
|
+
# padding_tolerance: 1.0,
|
3934
|
+
# compression: "NONE", # accepts NONE, ZLIB, SNAPPY
|
3935
|
+
# bloom_filter_columns: ["NonEmptyStringWithoutWhitespace"],
|
3936
|
+
# bloom_filter_false_positive_probability: 1.0,
|
3937
|
+
# dictionary_key_threshold: 1.0,
|
3938
|
+
# format_version: "V0_11", # accepts V0_11, V0_12
|
3939
|
+
# },
|
3940
|
+
# },
|
3941
|
+
# },
|
3942
|
+
# enabled: false,
|
3943
|
+
# },
|
2968
3944
|
# },
|
2969
3945
|
# redshift_destination_update: {
|
2970
3946
|
# role_arn: "RoleARN",
|
@@ -3153,8 +4129,8 @@ module Aws::Firehose
|
|
3153
4129
|
# @return [String]
|
3154
4130
|
#
|
3155
4131
|
# @!attribute [rw] current_delivery_stream_version_id
|
3156
|
-
# Obtain this value from the
|
3157
|
-
# DeliveryStreamDescription. This value is required, and
|
4132
|
+
# Obtain this value from the **VersionId** result of
|
4133
|
+
# DeliveryStreamDescription. This value is required, and helps the
|
3158
4134
|
# service perform conditional operations. For example, if there is an
|
3159
4135
|
# interleaving update and this value is null, then the update
|
3160
4136
|
# destination fails. After the update is successful, the `VersionId`
|