aws-sdk-firehose 1.0.0 → 1.1.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 +144 -41
- data/lib/aws-sdk-firehose/client_api.rb +49 -32
- data/lib/aws-sdk-firehose/types.rb +461 -70
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ab712fb3edb51fbbdd42a659ebbea505d210b80
|
4
|
+
data.tar.gz: 4fcea870930960f690384d7f6e94d1f9fd51101d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08d069b36ba59bc957f59c5057d8b0b89ce70bbd5d75aa9c6eec3dd9b8e3e95853375a027e0d50e3006e77b05e927737b01fc97f28de1362808fadf087a2339b
|
7
|
+
data.tar.gz: 3fc01c7f714fe33a11d1650e929953b9a09c7f72a7c864d084136b094b5499a11da55409d028edb33a4e3fa6674423595a2ee5a710af995b91725aa8d647f39e
|
data/lib/aws-sdk-firehose.rb
CHANGED
@@ -256,6 +256,9 @@ module Aws::Firehose
|
|
256
256
|
# @option params [Types::ElasticsearchDestinationConfiguration] :elasticsearch_destination_configuration
|
257
257
|
# The destination in Amazon ES. You can specify only one destination.
|
258
258
|
#
|
259
|
+
# @option params [Types::SplunkDestinationConfiguration] :splunk_destination_configuration
|
260
|
+
# The destination in Splunk. You can specify only one destination.
|
261
|
+
#
|
259
262
|
# @return [Types::CreateDeliveryStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
260
263
|
#
|
261
264
|
# * {Types::CreateDeliveryStreamOutput#delivery_stream_arn #delivery_stream_arn} => String
|
@@ -317,7 +320,7 @@ module Aws::Firehose
|
|
317
320
|
# type: "Lambda", # required, accepts Lambda
|
318
321
|
# parameters: [
|
319
322
|
# {
|
320
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
323
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
321
324
|
# parameter_value: "ProcessorParameterValue", # required
|
322
325
|
# },
|
323
326
|
# ],
|
@@ -388,7 +391,7 @@ module Aws::Firehose
|
|
388
391
|
# type: "Lambda", # required, accepts Lambda
|
389
392
|
# parameters: [
|
390
393
|
# {
|
391
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
394
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
392
395
|
# parameter_value: "ProcessorParameterValue", # required
|
393
396
|
# },
|
394
397
|
# ],
|
@@ -465,7 +468,57 @@ module Aws::Firehose
|
|
465
468
|
# type: "Lambda", # required, accepts Lambda
|
466
469
|
# parameters: [
|
467
470
|
# {
|
468
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
471
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
472
|
+
# parameter_value: "ProcessorParameterValue", # required
|
473
|
+
# },
|
474
|
+
# ],
|
475
|
+
# },
|
476
|
+
# ],
|
477
|
+
# },
|
478
|
+
# cloud_watch_logging_options: {
|
479
|
+
# enabled: false,
|
480
|
+
# log_group_name: "LogGroupName",
|
481
|
+
# log_stream_name: "LogStreamName",
|
482
|
+
# },
|
483
|
+
# },
|
484
|
+
# splunk_destination_configuration: {
|
485
|
+
# hec_endpoint: "HECEndpoint", # required
|
486
|
+
# hec_endpoint_type: "Raw", # required, accepts Raw, Event
|
487
|
+
# hec_token: "HECToken", # required
|
488
|
+
# hec_acknowledgment_timeout_in_seconds: 1,
|
489
|
+
# retry_options: {
|
490
|
+
# duration_in_seconds: 1,
|
491
|
+
# },
|
492
|
+
# s3_backup_mode: "FailedEventsOnly", # accepts FailedEventsOnly, AllEvents
|
493
|
+
# s3_configuration: { # required
|
494
|
+
# role_arn: "RoleARN", # required
|
495
|
+
# bucket_arn: "BucketARN", # required
|
496
|
+
# prefix: "Prefix",
|
497
|
+
# buffering_hints: {
|
498
|
+
# size_in_m_bs: 1,
|
499
|
+
# interval_in_seconds: 1,
|
500
|
+
# },
|
501
|
+
# compression_format: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, ZIP, Snappy
|
502
|
+
# encryption_configuration: {
|
503
|
+
# no_encryption_config: "NoEncryption", # accepts NoEncryption
|
504
|
+
# kms_encryption_config: {
|
505
|
+
# awskms_key_arn: "AWSKMSKeyARN", # required
|
506
|
+
# },
|
507
|
+
# },
|
508
|
+
# cloud_watch_logging_options: {
|
509
|
+
# enabled: false,
|
510
|
+
# log_group_name: "LogGroupName",
|
511
|
+
# log_stream_name: "LogStreamName",
|
512
|
+
# },
|
513
|
+
# },
|
514
|
+
# processing_configuration: {
|
515
|
+
# enabled: false,
|
516
|
+
# processors: [
|
517
|
+
# {
|
518
|
+
# type: "Lambda", # required, accepts Lambda
|
519
|
+
# parameters: [
|
520
|
+
# {
|
521
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
469
522
|
# parameter_value: "ProcessorParameterValue", # required
|
470
523
|
# },
|
471
524
|
# ],
|
@@ -596,7 +649,7 @@ module Aws::Firehose
|
|
596
649
|
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.processing_configuration.processors #=> Array
|
597
650
|
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.processing_configuration.processors[0].type #=> String, one of "Lambda"
|
598
651
|
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.processing_configuration.processors[0].parameters #=> Array
|
599
|
-
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries"
|
652
|
+
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries", "RoleArn", "BufferSizeInMBs", "BufferIntervalInSeconds"
|
600
653
|
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.processing_configuration.processors[0].parameters[0].parameter_value #=> String
|
601
654
|
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.s3_backup_mode #=> String, one of "Disabled", "Enabled"
|
602
655
|
# resp.delivery_stream_description.destinations[0].extended_s3_destination_description.s3_backup_description.role_arn #=> String
|
@@ -632,7 +685,7 @@ module Aws::Firehose
|
|
632
685
|
# resp.delivery_stream_description.destinations[0].redshift_destination_description.processing_configuration.processors #=> Array
|
633
686
|
# resp.delivery_stream_description.destinations[0].redshift_destination_description.processing_configuration.processors[0].type #=> String, one of "Lambda"
|
634
687
|
# resp.delivery_stream_description.destinations[0].redshift_destination_description.processing_configuration.processors[0].parameters #=> Array
|
635
|
-
# resp.delivery_stream_description.destinations[0].redshift_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries"
|
688
|
+
# resp.delivery_stream_description.destinations[0].redshift_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries", "RoleArn", "BufferSizeInMBs", "BufferIntervalInSeconds"
|
636
689
|
# resp.delivery_stream_description.destinations[0].redshift_destination_description.processing_configuration.processors[0].parameters[0].parameter_value #=> String
|
637
690
|
# resp.delivery_stream_description.destinations[0].redshift_destination_description.s3_backup_mode #=> String, one of "Disabled", "Enabled"
|
638
691
|
# resp.delivery_stream_description.destinations[0].redshift_destination_description.s3_backup_description.role_arn #=> String
|
@@ -673,11 +726,37 @@ module Aws::Firehose
|
|
673
726
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.processing_configuration.processors #=> Array
|
674
727
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.processing_configuration.processors[0].type #=> String, one of "Lambda"
|
675
728
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.processing_configuration.processors[0].parameters #=> Array
|
676
|
-
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries"
|
729
|
+
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries", "RoleArn", "BufferSizeInMBs", "BufferIntervalInSeconds"
|
677
730
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.processing_configuration.processors[0].parameters[0].parameter_value #=> String
|
678
731
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.cloud_watch_logging_options.enabled #=> Boolean
|
679
732
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.cloud_watch_logging_options.log_group_name #=> String
|
680
733
|
# resp.delivery_stream_description.destinations[0].elasticsearch_destination_description.cloud_watch_logging_options.log_stream_name #=> String
|
734
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_endpoint #=> String
|
735
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_endpoint_type #=> String, one of "Raw", "Event"
|
736
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_token #=> String
|
737
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.hec_acknowledgment_timeout_in_seconds #=> Integer
|
738
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.retry_options.duration_in_seconds #=> Integer
|
739
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_backup_mode #=> String, one of "FailedEventsOnly", "AllEvents"
|
740
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.role_arn #=> String
|
741
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.bucket_arn #=> String
|
742
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.prefix #=> String
|
743
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.buffering_hints.size_in_m_bs #=> Integer
|
744
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.buffering_hints.interval_in_seconds #=> Integer
|
745
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.compression_format #=> String, one of "UNCOMPRESSED", "GZIP", "ZIP", "Snappy"
|
746
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.encryption_configuration.no_encryption_config #=> String, one of "NoEncryption"
|
747
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.encryption_configuration.kms_encryption_config.awskms_key_arn #=> String
|
748
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.cloud_watch_logging_options.enabled #=> Boolean
|
749
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.cloud_watch_logging_options.log_group_name #=> String
|
750
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.s3_destination_description.cloud_watch_logging_options.log_stream_name #=> String
|
751
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.processing_configuration.enabled #=> Boolean
|
752
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.processing_configuration.processors #=> Array
|
753
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.processing_configuration.processors[0].type #=> String, one of "Lambda"
|
754
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.processing_configuration.processors[0].parameters #=> Array
|
755
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.processing_configuration.processors[0].parameters[0].parameter_name #=> String, one of "LambdaArn", "NumberOfRetries", "RoleArn", "BufferSizeInMBs", "BufferIntervalInSeconds"
|
756
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.processing_configuration.processors[0].parameters[0].parameter_value #=> String
|
757
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.cloud_watch_logging_options.enabled #=> Boolean
|
758
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.cloud_watch_logging_options.log_group_name #=> String
|
759
|
+
# resp.delivery_stream_description.destinations[0].splunk_destination_description.cloud_watch_logging_options.log_stream_name #=> String
|
681
760
|
# resp.delivery_stream_description.has_more_destinations #=> Boolean
|
682
761
|
#
|
683
762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream AWS API Documentation
|
@@ -689,36 +768,6 @@ module Aws::Firehose
|
|
689
768
|
req.send_request(options)
|
690
769
|
end
|
691
770
|
|
692
|
-
# @option params [required, String] :delivery_stream_arn
|
693
|
-
#
|
694
|
-
# @return [Types::GetKinesisStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
695
|
-
#
|
696
|
-
# * {Types::GetKinesisStreamOutput#kinesis_stream_arn #kinesis_stream_arn} => String
|
697
|
-
# * {Types::GetKinesisStreamOutput#credentials_for_reading_kinesis_stream #credentials_for_reading_kinesis_stream} => Types::SessionCredentials
|
698
|
-
#
|
699
|
-
# @example Request syntax with placeholder values
|
700
|
-
#
|
701
|
-
# resp = client.get_kinesis_stream({
|
702
|
-
# delivery_stream_arn: "DeliveryStreamARN", # required
|
703
|
-
# })
|
704
|
-
#
|
705
|
-
# @example Response structure
|
706
|
-
#
|
707
|
-
# resp.kinesis_stream_arn #=> String
|
708
|
-
# resp.credentials_for_reading_kinesis_stream.access_key_id #=> String
|
709
|
-
# resp.credentials_for_reading_kinesis_stream.secret_access_key #=> String
|
710
|
-
# resp.credentials_for_reading_kinesis_stream.session_token #=> String
|
711
|
-
# resp.credentials_for_reading_kinesis_stream.expiration #=> Time
|
712
|
-
#
|
713
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStream AWS API Documentation
|
714
|
-
#
|
715
|
-
# @overload get_kinesis_stream(params = {})
|
716
|
-
# @param [Hash] params ({})
|
717
|
-
def get_kinesis_stream(params = {}, options = {})
|
718
|
-
req = build_request(:get_kinesis_stream, params)
|
719
|
-
req.send_request(options)
|
720
|
-
end
|
721
|
-
|
722
771
|
# Lists your delivery streams.
|
723
772
|
#
|
724
773
|
# The number of delivery streams might be too large to return using a
|
@@ -731,7 +780,8 @@ module Aws::Firehose
|
|
731
780
|
# **ExclusiveStartDeliveryStreamName** parameter of a subsequent call.
|
732
781
|
#
|
733
782
|
# @option params [Integer] :limit
|
734
|
-
# The maximum number of delivery streams to list.
|
783
|
+
# The maximum number of delivery streams to list. The default value is
|
784
|
+
# 10.
|
735
785
|
#
|
736
786
|
# @option params [String] :delivery_stream_type
|
737
787
|
# The delivery stream type. This can be one of the following values:
|
@@ -1022,6 +1072,9 @@ module Aws::Firehose
|
|
1022
1072
|
# @option params [Types::ElasticsearchDestinationUpdate] :elasticsearch_destination_update
|
1023
1073
|
# Describes an update for a destination in Amazon ES.
|
1024
1074
|
#
|
1075
|
+
# @option params [Types::SplunkDestinationUpdate] :splunk_destination_update
|
1076
|
+
# Describes an update for a destination in Splunk.
|
1077
|
+
#
|
1025
1078
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1026
1079
|
#
|
1027
1080
|
# @example Request syntax with placeholder values
|
@@ -1078,7 +1131,7 @@ module Aws::Firehose
|
|
1078
1131
|
# type: "Lambda", # required, accepts Lambda
|
1079
1132
|
# parameters: [
|
1080
1133
|
# {
|
1081
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1134
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1082
1135
|
# parameter_value: "ProcessorParameterValue", # required
|
1083
1136
|
# },
|
1084
1137
|
# ],
|
@@ -1149,7 +1202,7 @@ module Aws::Firehose
|
|
1149
1202
|
# type: "Lambda", # required, accepts Lambda
|
1150
1203
|
# parameters: [
|
1151
1204
|
# {
|
1152
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1205
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1153
1206
|
# parameter_value: "ProcessorParameterValue", # required
|
1154
1207
|
# },
|
1155
1208
|
# ],
|
@@ -1225,7 +1278,57 @@ module Aws::Firehose
|
|
1225
1278
|
# type: "Lambda", # required, accepts Lambda
|
1226
1279
|
# parameters: [
|
1227
1280
|
# {
|
1228
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1281
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1282
|
+
# parameter_value: "ProcessorParameterValue", # required
|
1283
|
+
# },
|
1284
|
+
# ],
|
1285
|
+
# },
|
1286
|
+
# ],
|
1287
|
+
# },
|
1288
|
+
# cloud_watch_logging_options: {
|
1289
|
+
# enabled: false,
|
1290
|
+
# log_group_name: "LogGroupName",
|
1291
|
+
# log_stream_name: "LogStreamName",
|
1292
|
+
# },
|
1293
|
+
# },
|
1294
|
+
# splunk_destination_update: {
|
1295
|
+
# hec_endpoint: "HECEndpoint",
|
1296
|
+
# hec_endpoint_type: "Raw", # accepts Raw, Event
|
1297
|
+
# hec_token: "HECToken",
|
1298
|
+
# hec_acknowledgment_timeout_in_seconds: 1,
|
1299
|
+
# retry_options: {
|
1300
|
+
# duration_in_seconds: 1,
|
1301
|
+
# },
|
1302
|
+
# s3_backup_mode: "FailedEventsOnly", # accepts FailedEventsOnly, AllEvents
|
1303
|
+
# s3_update: {
|
1304
|
+
# role_arn: "RoleARN",
|
1305
|
+
# bucket_arn: "BucketARN",
|
1306
|
+
# prefix: "Prefix",
|
1307
|
+
# buffering_hints: {
|
1308
|
+
# size_in_m_bs: 1,
|
1309
|
+
# interval_in_seconds: 1,
|
1310
|
+
# },
|
1311
|
+
# compression_format: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, ZIP, Snappy
|
1312
|
+
# encryption_configuration: {
|
1313
|
+
# no_encryption_config: "NoEncryption", # accepts NoEncryption
|
1314
|
+
# kms_encryption_config: {
|
1315
|
+
# awskms_key_arn: "AWSKMSKeyARN", # required
|
1316
|
+
# },
|
1317
|
+
# },
|
1318
|
+
# cloud_watch_logging_options: {
|
1319
|
+
# enabled: false,
|
1320
|
+
# log_group_name: "LogGroupName",
|
1321
|
+
# log_stream_name: "LogStreamName",
|
1322
|
+
# },
|
1323
|
+
# },
|
1324
|
+
# processing_configuration: {
|
1325
|
+
# enabled: false,
|
1326
|
+
# processors: [
|
1327
|
+
# {
|
1328
|
+
# type: "Lambda", # required, accepts Lambda
|
1329
|
+
# parameters: [
|
1330
|
+
# {
|
1331
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1229
1332
|
# parameter_value: "ProcessorParameterValue", # required
|
1230
1333
|
# },
|
1231
1334
|
# ],
|
@@ -1262,7 +1365,7 @@ module Aws::Firehose
|
|
1262
1365
|
params: params,
|
1263
1366
|
config: config)
|
1264
1367
|
context[:gem_name] = 'aws-sdk-firehose'
|
1265
|
-
context[:gem_version] = '1.
|
1368
|
+
context[:gem_version] = '1.1.0'
|
1266
1369
|
Seahorse::Client::Request.new(handlers, context)
|
1267
1370
|
end
|
1268
1371
|
|
@@ -12,7 +12,6 @@ module Aws::Firehose
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AWSKMSKeyARN = Shapes::StringShape.new(name: 'AWSKMSKeyARN')
|
15
|
-
AccessKeyId = Shapes::StringShape.new(name: 'AccessKeyId')
|
16
15
|
BooleanObject = Shapes::BooleanShape.new(name: 'BooleanObject')
|
17
16
|
BucketARN = Shapes::StringShape.new(name: 'BucketARN')
|
18
17
|
BufferingHints = Shapes::StructureShape.new(name: 'BufferingHints')
|
@@ -62,12 +61,12 @@ module Aws::Firehose
|
|
62
61
|
ExtendedS3DestinationConfiguration = Shapes::StructureShape.new(name: 'ExtendedS3DestinationConfiguration')
|
63
62
|
ExtendedS3DestinationDescription = Shapes::StructureShape.new(name: 'ExtendedS3DestinationDescription')
|
64
63
|
ExtendedS3DestinationUpdate = Shapes::StructureShape.new(name: 'ExtendedS3DestinationUpdate')
|
65
|
-
|
66
|
-
|
67
|
-
|
64
|
+
HECAcknowledgmentTimeoutInSeconds = Shapes::IntegerShape.new(name: 'HECAcknowledgmentTimeoutInSeconds')
|
65
|
+
HECEndpoint = Shapes::StringShape.new(name: 'HECEndpoint')
|
66
|
+
HECEndpointType = Shapes::StringShape.new(name: 'HECEndpointType')
|
67
|
+
HECToken = Shapes::StringShape.new(name: 'HECToken')
|
68
68
|
IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
|
69
69
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
70
|
-
InvalidStreamTypeException = Shapes::StructureShape.new(name: 'InvalidStreamTypeException')
|
71
70
|
KMSEncryptionConfig = Shapes::StructureShape.new(name: 'KMSEncryptionConfig')
|
72
71
|
KinesisStreamARN = Shapes::StringShape.new(name: 'KinesisStreamARN')
|
73
72
|
KinesisStreamSourceConfiguration = Shapes::StructureShape.new(name: 'KinesisStreamSourceConfiguration')
|
@@ -112,12 +111,15 @@ module Aws::Firehose
|
|
112
111
|
S3DestinationConfiguration = Shapes::StructureShape.new(name: 'S3DestinationConfiguration')
|
113
112
|
S3DestinationDescription = Shapes::StructureShape.new(name: 'S3DestinationDescription')
|
114
113
|
S3DestinationUpdate = Shapes::StructureShape.new(name: 'S3DestinationUpdate')
|
115
|
-
SecretAccessKey = Shapes::StringShape.new(name: 'SecretAccessKey')
|
116
114
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
117
|
-
SessionCredentials = Shapes::StructureShape.new(name: 'SessionCredentials')
|
118
|
-
SessionToken = Shapes::StringShape.new(name: 'SessionToken')
|
119
115
|
SizeInMBs = Shapes::IntegerShape.new(name: 'SizeInMBs')
|
120
116
|
SourceDescription = Shapes::StructureShape.new(name: 'SourceDescription')
|
117
|
+
SplunkDestinationConfiguration = Shapes::StructureShape.new(name: 'SplunkDestinationConfiguration')
|
118
|
+
SplunkDestinationDescription = Shapes::StructureShape.new(name: 'SplunkDestinationDescription')
|
119
|
+
SplunkDestinationUpdate = Shapes::StructureShape.new(name: 'SplunkDestinationUpdate')
|
120
|
+
SplunkRetryDurationInSeconds = Shapes::IntegerShape.new(name: 'SplunkRetryDurationInSeconds')
|
121
|
+
SplunkRetryOptions = Shapes::StructureShape.new(name: 'SplunkRetryOptions')
|
122
|
+
SplunkS3BackupMode = Shapes::StringShape.new(name: 'SplunkS3BackupMode')
|
121
123
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
122
124
|
UpdateDestinationInput = Shapes::StructureShape.new(name: 'UpdateDestinationInput')
|
123
125
|
UpdateDestinationOutput = Shapes::StructureShape.new(name: 'UpdateDestinationOutput')
|
@@ -144,6 +146,7 @@ module Aws::Firehose
|
|
144
146
|
CreateDeliveryStreamInput.add_member(:extended_s3_destination_configuration, Shapes::ShapeRef.new(shape: ExtendedS3DestinationConfiguration, location_name: "ExtendedS3DestinationConfiguration"))
|
145
147
|
CreateDeliveryStreamInput.add_member(:redshift_destination_configuration, Shapes::ShapeRef.new(shape: RedshiftDestinationConfiguration, location_name: "RedshiftDestinationConfiguration"))
|
146
148
|
CreateDeliveryStreamInput.add_member(:elasticsearch_destination_configuration, Shapes::ShapeRef.new(shape: ElasticsearchDestinationConfiguration, location_name: "ElasticsearchDestinationConfiguration"))
|
149
|
+
CreateDeliveryStreamInput.add_member(:splunk_destination_configuration, Shapes::ShapeRef.new(shape: SplunkDestinationConfiguration, location_name: "SplunkDestinationConfiguration"))
|
147
150
|
CreateDeliveryStreamInput.struct_class = Types::CreateDeliveryStreamInput
|
148
151
|
|
149
152
|
CreateDeliveryStreamOutput.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, location_name: "DeliveryStreamARN"))
|
@@ -181,6 +184,7 @@ module Aws::Firehose
|
|
181
184
|
DestinationDescription.add_member(:extended_s3_destination_description, Shapes::ShapeRef.new(shape: ExtendedS3DestinationDescription, location_name: "ExtendedS3DestinationDescription"))
|
182
185
|
DestinationDescription.add_member(:redshift_destination_description, Shapes::ShapeRef.new(shape: RedshiftDestinationDescription, location_name: "RedshiftDestinationDescription"))
|
183
186
|
DestinationDescription.add_member(:elasticsearch_destination_description, Shapes::ShapeRef.new(shape: ElasticsearchDestinationDescription, location_name: "ElasticsearchDestinationDescription"))
|
187
|
+
DestinationDescription.add_member(:splunk_destination_description, Shapes::ShapeRef.new(shape: SplunkDestinationDescription, location_name: "SplunkDestinationDescription"))
|
184
188
|
DestinationDescription.struct_class = Types::DestinationDescription
|
185
189
|
|
186
190
|
DestinationDescriptionList.member = Shapes::ShapeRef.new(shape: DestinationDescription)
|
@@ -270,13 +274,6 @@ module Aws::Firehose
|
|
270
274
|
ExtendedS3DestinationUpdate.add_member(:s3_backup_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3BackupUpdate"))
|
271
275
|
ExtendedS3DestinationUpdate.struct_class = Types::ExtendedS3DestinationUpdate
|
272
276
|
|
273
|
-
GetKinesisStreamInput.add_member(:delivery_stream_arn, Shapes::ShapeRef.new(shape: DeliveryStreamARN, required: true, location_name: "DeliveryStreamARN"))
|
274
|
-
GetKinesisStreamInput.struct_class = Types::GetKinesisStreamInput
|
275
|
-
|
276
|
-
GetKinesisStreamOutput.add_member(:kinesis_stream_arn, Shapes::ShapeRef.new(shape: KinesisStreamARN, location_name: "KinesisStreamARN"))
|
277
|
-
GetKinesisStreamOutput.add_member(:credentials_for_reading_kinesis_stream, Shapes::ShapeRef.new(shape: SessionCredentials, location_name: "CredentialsForReadingKinesisStream"))
|
278
|
-
GetKinesisStreamOutput.struct_class = Types::GetKinesisStreamOutput
|
279
|
-
|
280
277
|
KMSEncryptionConfig.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: AWSKMSKeyARN, required: true, location_name: "AWSKMSKeyARN"))
|
281
278
|
KMSEncryptionConfig.struct_class = Types::KMSEncryptionConfig
|
282
279
|
|
@@ -409,15 +406,45 @@ module Aws::Firehose
|
|
409
406
|
S3DestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
410
407
|
S3DestinationUpdate.struct_class = Types::S3DestinationUpdate
|
411
408
|
|
412
|
-
SessionCredentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyId, required: true, location_name: "AccessKeyId"))
|
413
|
-
SessionCredentials.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: SecretAccessKey, required: true, location_name: "SecretAccessKey"))
|
414
|
-
SessionCredentials.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionToken, required: true, location_name: "SessionToken"))
|
415
|
-
SessionCredentials.add_member(:expiration, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Expiration"))
|
416
|
-
SessionCredentials.struct_class = Types::SessionCredentials
|
417
|
-
|
418
409
|
SourceDescription.add_member(:kinesis_stream_source_description, Shapes::ShapeRef.new(shape: KinesisStreamSourceDescription, location_name: "KinesisStreamSourceDescription"))
|
419
410
|
SourceDescription.struct_class = Types::SourceDescription
|
420
411
|
|
412
|
+
SplunkDestinationConfiguration.add_member(:hec_endpoint, Shapes::ShapeRef.new(shape: HECEndpoint, required: true, location_name: "HECEndpoint"))
|
413
|
+
SplunkDestinationConfiguration.add_member(:hec_endpoint_type, Shapes::ShapeRef.new(shape: HECEndpointType, required: true, location_name: "HECEndpointType"))
|
414
|
+
SplunkDestinationConfiguration.add_member(:hec_token, Shapes::ShapeRef.new(shape: HECToken, required: true, location_name: "HECToken"))
|
415
|
+
SplunkDestinationConfiguration.add_member(:hec_acknowledgment_timeout_in_seconds, Shapes::ShapeRef.new(shape: HECAcknowledgmentTimeoutInSeconds, location_name: "HECAcknowledgmentTimeoutInSeconds"))
|
416
|
+
SplunkDestinationConfiguration.add_member(:retry_options, Shapes::ShapeRef.new(shape: SplunkRetryOptions, location_name: "RetryOptions"))
|
417
|
+
SplunkDestinationConfiguration.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: SplunkS3BackupMode, location_name: "S3BackupMode"))
|
418
|
+
SplunkDestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, required: true, location_name: "S3Configuration"))
|
419
|
+
SplunkDestinationConfiguration.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
420
|
+
SplunkDestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
421
|
+
SplunkDestinationConfiguration.struct_class = Types::SplunkDestinationConfiguration
|
422
|
+
|
423
|
+
SplunkDestinationDescription.add_member(:hec_endpoint, Shapes::ShapeRef.new(shape: HECEndpoint, location_name: "HECEndpoint"))
|
424
|
+
SplunkDestinationDescription.add_member(:hec_endpoint_type, Shapes::ShapeRef.new(shape: HECEndpointType, location_name: "HECEndpointType"))
|
425
|
+
SplunkDestinationDescription.add_member(:hec_token, Shapes::ShapeRef.new(shape: HECToken, location_name: "HECToken"))
|
426
|
+
SplunkDestinationDescription.add_member(:hec_acknowledgment_timeout_in_seconds, Shapes::ShapeRef.new(shape: HECAcknowledgmentTimeoutInSeconds, location_name: "HECAcknowledgmentTimeoutInSeconds"))
|
427
|
+
SplunkDestinationDescription.add_member(:retry_options, Shapes::ShapeRef.new(shape: SplunkRetryOptions, location_name: "RetryOptions"))
|
428
|
+
SplunkDestinationDescription.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: SplunkS3BackupMode, location_name: "S3BackupMode"))
|
429
|
+
SplunkDestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3DestinationDescription"))
|
430
|
+
SplunkDestinationDescription.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
431
|
+
SplunkDestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
432
|
+
SplunkDestinationDescription.struct_class = Types::SplunkDestinationDescription
|
433
|
+
|
434
|
+
SplunkDestinationUpdate.add_member(:hec_endpoint, Shapes::ShapeRef.new(shape: HECEndpoint, location_name: "HECEndpoint"))
|
435
|
+
SplunkDestinationUpdate.add_member(:hec_endpoint_type, Shapes::ShapeRef.new(shape: HECEndpointType, location_name: "HECEndpointType"))
|
436
|
+
SplunkDestinationUpdate.add_member(:hec_token, Shapes::ShapeRef.new(shape: HECToken, location_name: "HECToken"))
|
437
|
+
SplunkDestinationUpdate.add_member(:hec_acknowledgment_timeout_in_seconds, Shapes::ShapeRef.new(shape: HECAcknowledgmentTimeoutInSeconds, location_name: "HECAcknowledgmentTimeoutInSeconds"))
|
438
|
+
SplunkDestinationUpdate.add_member(:retry_options, Shapes::ShapeRef.new(shape: SplunkRetryOptions, location_name: "RetryOptions"))
|
439
|
+
SplunkDestinationUpdate.add_member(:s3_backup_mode, Shapes::ShapeRef.new(shape: SplunkS3BackupMode, location_name: "S3BackupMode"))
|
440
|
+
SplunkDestinationUpdate.add_member(:s3_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3Update"))
|
441
|
+
SplunkDestinationUpdate.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
|
442
|
+
SplunkDestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
|
443
|
+
SplunkDestinationUpdate.struct_class = Types::SplunkDestinationUpdate
|
444
|
+
|
445
|
+
SplunkRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: SplunkRetryDurationInSeconds, location_name: "DurationInSeconds"))
|
446
|
+
SplunkRetryOptions.struct_class = Types::SplunkRetryOptions
|
447
|
+
|
421
448
|
UpdateDestinationInput.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "DeliveryStreamName"))
|
422
449
|
UpdateDestinationInput.add_member(:current_delivery_stream_version_id, Shapes::ShapeRef.new(shape: DeliveryStreamVersionId, required: true, location_name: "CurrentDeliveryStreamVersionId"))
|
423
450
|
UpdateDestinationInput.add_member(:destination_id, Shapes::ShapeRef.new(shape: DestinationId, required: true, location_name: "DestinationId"))
|
@@ -425,6 +452,7 @@ module Aws::Firehose
|
|
425
452
|
UpdateDestinationInput.add_member(:extended_s3_destination_update, Shapes::ShapeRef.new(shape: ExtendedS3DestinationUpdate, location_name: "ExtendedS3DestinationUpdate"))
|
426
453
|
UpdateDestinationInput.add_member(:redshift_destination_update, Shapes::ShapeRef.new(shape: RedshiftDestinationUpdate, location_name: "RedshiftDestinationUpdate"))
|
427
454
|
UpdateDestinationInput.add_member(:elasticsearch_destination_update, Shapes::ShapeRef.new(shape: ElasticsearchDestinationUpdate, location_name: "ElasticsearchDestinationUpdate"))
|
455
|
+
UpdateDestinationInput.add_member(:splunk_destination_update, Shapes::ShapeRef.new(shape: SplunkDestinationUpdate, location_name: "SplunkDestinationUpdate"))
|
428
456
|
UpdateDestinationInput.struct_class = Types::UpdateDestinationInput
|
429
457
|
|
430
458
|
UpdateDestinationOutput.struct_class = Types::UpdateDestinationOutput
|
@@ -474,17 +502,6 @@ module Aws::Firehose
|
|
474
502
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
475
503
|
end)
|
476
504
|
|
477
|
-
api.add_operation(:get_kinesis_stream, Seahorse::Model::Operation.new.tap do |o|
|
478
|
-
o.name = "GetKinesisStream"
|
479
|
-
o.http_method = "POST"
|
480
|
-
o.http_request_uri = "/"
|
481
|
-
o.input = Shapes::ShapeRef.new(shape: GetKinesisStreamInput)
|
482
|
-
o.output = Shapes::ShapeRef.new(shape: GetKinesisStreamOutput)
|
483
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
484
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
485
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidStreamTypeException)
|
486
|
-
end)
|
487
|
-
|
488
505
|
api.add_operation(:list_delivery_streams, Seahorse::Model::Operation.new.tap do |o|
|
489
506
|
o.name = "ListDeliveryStreams"
|
490
507
|
o.http_method = "POST"
|
@@ -196,7 +196,7 @@ module Aws::Firehose
|
|
196
196
|
# type: "Lambda", # required, accepts Lambda
|
197
197
|
# parameters: [
|
198
198
|
# {
|
199
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
199
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
200
200
|
# parameter_value: "ProcessorParameterValue", # required
|
201
201
|
# },
|
202
202
|
# ],
|
@@ -267,7 +267,7 @@ module Aws::Firehose
|
|
267
267
|
# type: "Lambda", # required, accepts Lambda
|
268
268
|
# parameters: [
|
269
269
|
# {
|
270
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
270
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
271
271
|
# parameter_value: "ProcessorParameterValue", # required
|
272
272
|
# },
|
273
273
|
# ],
|
@@ -344,7 +344,57 @@ module Aws::Firehose
|
|
344
344
|
# type: "Lambda", # required, accepts Lambda
|
345
345
|
# parameters: [
|
346
346
|
# {
|
347
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
347
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
348
|
+
# parameter_value: "ProcessorParameterValue", # required
|
349
|
+
# },
|
350
|
+
# ],
|
351
|
+
# },
|
352
|
+
# ],
|
353
|
+
# },
|
354
|
+
# cloud_watch_logging_options: {
|
355
|
+
# enabled: false,
|
356
|
+
# log_group_name: "LogGroupName",
|
357
|
+
# log_stream_name: "LogStreamName",
|
358
|
+
# },
|
359
|
+
# },
|
360
|
+
# splunk_destination_configuration: {
|
361
|
+
# hec_endpoint: "HECEndpoint", # required
|
362
|
+
# hec_endpoint_type: "Raw", # required, accepts Raw, Event
|
363
|
+
# hec_token: "HECToken", # required
|
364
|
+
# hec_acknowledgment_timeout_in_seconds: 1,
|
365
|
+
# retry_options: {
|
366
|
+
# duration_in_seconds: 1,
|
367
|
+
# },
|
368
|
+
# s3_backup_mode: "FailedEventsOnly", # accepts FailedEventsOnly, AllEvents
|
369
|
+
# s3_configuration: { # required
|
370
|
+
# role_arn: "RoleARN", # required
|
371
|
+
# bucket_arn: "BucketARN", # required
|
372
|
+
# prefix: "Prefix",
|
373
|
+
# buffering_hints: {
|
374
|
+
# size_in_m_bs: 1,
|
375
|
+
# interval_in_seconds: 1,
|
376
|
+
# },
|
377
|
+
# compression_format: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, ZIP, Snappy
|
378
|
+
# encryption_configuration: {
|
379
|
+
# no_encryption_config: "NoEncryption", # accepts NoEncryption
|
380
|
+
# kms_encryption_config: {
|
381
|
+
# awskms_key_arn: "AWSKMSKeyARN", # required
|
382
|
+
# },
|
383
|
+
# },
|
384
|
+
# cloud_watch_logging_options: {
|
385
|
+
# enabled: false,
|
386
|
+
# log_group_name: "LogGroupName",
|
387
|
+
# log_stream_name: "LogStreamName",
|
388
|
+
# },
|
389
|
+
# },
|
390
|
+
# processing_configuration: {
|
391
|
+
# enabled: false,
|
392
|
+
# processors: [
|
393
|
+
# {
|
394
|
+
# type: "Lambda", # required, accepts Lambda
|
395
|
+
# parameters: [
|
396
|
+
# {
|
397
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
348
398
|
# parameter_value: "ProcessorParameterValue", # required
|
349
399
|
# },
|
350
400
|
# ],
|
@@ -401,6 +451,10 @@ module Aws::Firehose
|
|
401
451
|
# The destination in Amazon ES. You can specify only one destination.
|
402
452
|
# @return [Types::ElasticsearchDestinationConfiguration]
|
403
453
|
#
|
454
|
+
# @!attribute [rw] splunk_destination_configuration
|
455
|
+
# The destination in Splunk. You can specify only one destination.
|
456
|
+
# @return [Types::SplunkDestinationConfiguration]
|
457
|
+
#
|
404
458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamInput AWS API Documentation
|
405
459
|
#
|
406
460
|
class CreateDeliveryStreamInput < Struct.new(
|
@@ -410,7 +464,8 @@ module Aws::Firehose
|
|
410
464
|
:s3_destination_configuration,
|
411
465
|
:extended_s3_destination_configuration,
|
412
466
|
:redshift_destination_configuration,
|
413
|
-
:elasticsearch_destination_configuration
|
467
|
+
:elasticsearch_destination_configuration,
|
468
|
+
:splunk_destination_configuration)
|
414
469
|
include Aws::Structure
|
415
470
|
end
|
416
471
|
|
@@ -581,6 +636,10 @@ module Aws::Firehose
|
|
581
636
|
# The destination in Amazon ES.
|
582
637
|
# @return [Types::ElasticsearchDestinationDescription]
|
583
638
|
#
|
639
|
+
# @!attribute [rw] splunk_destination_description
|
640
|
+
# The destination in Splunk.
|
641
|
+
# @return [Types::SplunkDestinationDescription]
|
642
|
+
#
|
584
643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DestinationDescription AWS API Documentation
|
585
644
|
#
|
586
645
|
class DestinationDescription < Struct.new(
|
@@ -588,7 +647,8 @@ module Aws::Firehose
|
|
588
647
|
:s3_destination_description,
|
589
648
|
:extended_s3_destination_description,
|
590
649
|
:redshift_destination_description,
|
591
|
-
:elasticsearch_destination_description
|
650
|
+
:elasticsearch_destination_description,
|
651
|
+
:splunk_destination_description)
|
592
652
|
include Aws::Structure
|
593
653
|
end
|
594
654
|
|
@@ -674,7 +734,7 @@ module Aws::Firehose
|
|
674
734
|
# type: "Lambda", # required, accepts Lambda
|
675
735
|
# parameters: [
|
676
736
|
# {
|
677
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
737
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
678
738
|
# parameter_value: "ProcessorParameterValue", # required
|
679
739
|
# },
|
680
740
|
# ],
|
@@ -889,7 +949,7 @@ module Aws::Firehose
|
|
889
949
|
# type: "Lambda", # required, accepts Lambda
|
890
950
|
# parameters: [
|
891
951
|
# {
|
892
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
952
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
893
953
|
# parameter_value: "ProcessorParameterValue", # required
|
894
954
|
# },
|
895
955
|
# ],
|
@@ -1063,7 +1123,7 @@ module Aws::Firehose
|
|
1063
1123
|
# type: "Lambda", # required, accepts Lambda
|
1064
1124
|
# parameters: [
|
1065
1125
|
# {
|
1066
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1126
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1067
1127
|
# parameter_value: "ProcessorParameterValue", # required
|
1068
1128
|
# },
|
1069
1129
|
# ],
|
@@ -1262,7 +1322,7 @@ module Aws::Firehose
|
|
1262
1322
|
# type: "Lambda", # required, accepts Lambda
|
1263
1323
|
# parameters: [
|
1264
1324
|
# {
|
1265
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1325
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1266
1326
|
# parameter_value: "ProcessorParameterValue", # required
|
1267
1327
|
# },
|
1268
1328
|
# ],
|
@@ -1360,37 +1420,6 @@ module Aws::Firehose
|
|
1360
1420
|
include Aws::Structure
|
1361
1421
|
end
|
1362
1422
|
|
1363
|
-
# @note When making an API call, you may pass GetKinesisStreamInput
|
1364
|
-
# data as a hash:
|
1365
|
-
#
|
1366
|
-
# {
|
1367
|
-
# delivery_stream_arn: "DeliveryStreamARN", # required
|
1368
|
-
# }
|
1369
|
-
#
|
1370
|
-
# @!attribute [rw] delivery_stream_arn
|
1371
|
-
# @return [String]
|
1372
|
-
#
|
1373
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStreamInput AWS API Documentation
|
1374
|
-
#
|
1375
|
-
class GetKinesisStreamInput < Struct.new(
|
1376
|
-
:delivery_stream_arn)
|
1377
|
-
include Aws::Structure
|
1378
|
-
end
|
1379
|
-
|
1380
|
-
# @!attribute [rw] kinesis_stream_arn
|
1381
|
-
# @return [String]
|
1382
|
-
#
|
1383
|
-
# @!attribute [rw] credentials_for_reading_kinesis_stream
|
1384
|
-
# @return [Types::SessionCredentials]
|
1385
|
-
#
|
1386
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/GetKinesisStreamOutput AWS API Documentation
|
1387
|
-
#
|
1388
|
-
class GetKinesisStreamOutput < Struct.new(
|
1389
|
-
:kinesis_stream_arn,
|
1390
|
-
:credentials_for_reading_kinesis_stream)
|
1391
|
-
include Aws::Structure
|
1392
|
-
end
|
1393
|
-
|
1394
1423
|
# Describes an encryption key for a destination in Amazon S3.
|
1395
1424
|
#
|
1396
1425
|
# @note When making an API call, you may pass KMSEncryptionConfig
|
@@ -1475,7 +1504,8 @@ module Aws::Firehose
|
|
1475
1504
|
# }
|
1476
1505
|
#
|
1477
1506
|
# @!attribute [rw] limit
|
1478
|
-
# The maximum number of delivery streams to list.
|
1507
|
+
# The maximum number of delivery streams to list. The default value is
|
1508
|
+
# 10.
|
1479
1509
|
# @return [Integer]
|
1480
1510
|
#
|
1481
1511
|
# @!attribute [rw] delivery_stream_type
|
@@ -1532,7 +1562,7 @@ module Aws::Firehose
|
|
1532
1562
|
# type: "Lambda", # required, accepts Lambda
|
1533
1563
|
# parameters: [
|
1534
1564
|
# {
|
1535
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1565
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1536
1566
|
# parameter_value: "ProcessorParameterValue", # required
|
1537
1567
|
# },
|
1538
1568
|
# ],
|
@@ -1565,7 +1595,7 @@ module Aws::Firehose
|
|
1565
1595
|
# type: "Lambda", # required, accepts Lambda
|
1566
1596
|
# parameters: [
|
1567
1597
|
# {
|
1568
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1598
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1569
1599
|
# parameter_value: "ProcessorParameterValue", # required
|
1570
1600
|
# },
|
1571
1601
|
# ],
|
@@ -1593,7 +1623,7 @@ module Aws::Firehose
|
|
1593
1623
|
# data as a hash:
|
1594
1624
|
#
|
1595
1625
|
# {
|
1596
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1626
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1597
1627
|
# parameter_value: "ProcessorParameterValue", # required
|
1598
1628
|
# }
|
1599
1629
|
#
|
@@ -1790,7 +1820,7 @@ module Aws::Firehose
|
|
1790
1820
|
# type: "Lambda", # required, accepts Lambda
|
1791
1821
|
# parameters: [
|
1792
1822
|
# {
|
1793
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
1823
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
1794
1824
|
# parameter_value: "ProcessorParameterValue", # required
|
1795
1825
|
# },
|
1796
1826
|
# ],
|
@@ -2000,7 +2030,7 @@ module Aws::Firehose
|
|
2000
2030
|
# type: "Lambda", # required, accepts Lambda
|
2001
2031
|
# parameters: [
|
2002
2032
|
# {
|
2003
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
2033
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2004
2034
|
# parameter_value: "ProcessorParameterValue", # required
|
2005
2035
|
# },
|
2006
2036
|
# ],
|
@@ -2352,40 +2382,346 @@ module Aws::Firehose
|
|
2352
2382
|
include Aws::Structure
|
2353
2383
|
end
|
2354
2384
|
|
2355
|
-
#
|
2385
|
+
# Details about a Kinesis stream used as the source for a Kinesis
|
2386
|
+
# Firehose delivery stream.
|
2387
|
+
#
|
2388
|
+
# @!attribute [rw] kinesis_stream_source_description
|
2389
|
+
# The KinesisStreamSourceDescription value for the source Kinesis
|
2390
|
+
# stream.
|
2391
|
+
# @return [Types::KinesisStreamSourceDescription]
|
2392
|
+
#
|
2393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SourceDescription AWS API Documentation
|
2394
|
+
#
|
2395
|
+
class SourceDescription < Struct.new(
|
2396
|
+
:kinesis_stream_source_description)
|
2397
|
+
include Aws::Structure
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
# Describes the configuration of a destination in Splunk.
|
2401
|
+
#
|
2402
|
+
# @note When making an API call, you may pass SplunkDestinationConfiguration
|
2403
|
+
# data as a hash:
|
2404
|
+
#
|
2405
|
+
# {
|
2406
|
+
# hec_endpoint: "HECEndpoint", # required
|
2407
|
+
# hec_endpoint_type: "Raw", # required, accepts Raw, Event
|
2408
|
+
# hec_token: "HECToken", # required
|
2409
|
+
# hec_acknowledgment_timeout_in_seconds: 1,
|
2410
|
+
# retry_options: {
|
2411
|
+
# duration_in_seconds: 1,
|
2412
|
+
# },
|
2413
|
+
# s3_backup_mode: "FailedEventsOnly", # accepts FailedEventsOnly, AllEvents
|
2414
|
+
# s3_configuration: { # required
|
2415
|
+
# role_arn: "RoleARN", # required
|
2416
|
+
# bucket_arn: "BucketARN", # required
|
2417
|
+
# prefix: "Prefix",
|
2418
|
+
# buffering_hints: {
|
2419
|
+
# size_in_m_bs: 1,
|
2420
|
+
# interval_in_seconds: 1,
|
2421
|
+
# },
|
2422
|
+
# compression_format: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, ZIP, Snappy
|
2423
|
+
# encryption_configuration: {
|
2424
|
+
# no_encryption_config: "NoEncryption", # accepts NoEncryption
|
2425
|
+
# kms_encryption_config: {
|
2426
|
+
# awskms_key_arn: "AWSKMSKeyARN", # required
|
2427
|
+
# },
|
2428
|
+
# },
|
2429
|
+
# cloud_watch_logging_options: {
|
2430
|
+
# enabled: false,
|
2431
|
+
# log_group_name: "LogGroupName",
|
2432
|
+
# log_stream_name: "LogStreamName",
|
2433
|
+
# },
|
2434
|
+
# },
|
2435
|
+
# processing_configuration: {
|
2436
|
+
# enabled: false,
|
2437
|
+
# processors: [
|
2438
|
+
# {
|
2439
|
+
# type: "Lambda", # required, accepts Lambda
|
2440
|
+
# parameters: [
|
2441
|
+
# {
|
2442
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2443
|
+
# parameter_value: "ProcessorParameterValue", # required
|
2444
|
+
# },
|
2445
|
+
# ],
|
2446
|
+
# },
|
2447
|
+
# ],
|
2448
|
+
# },
|
2449
|
+
# cloud_watch_logging_options: {
|
2450
|
+
# enabled: false,
|
2451
|
+
# log_group_name: "LogGroupName",
|
2452
|
+
# log_stream_name: "LogStreamName",
|
2453
|
+
# },
|
2454
|
+
# }
|
2455
|
+
#
|
2456
|
+
# @!attribute [rw] hec_endpoint
|
2457
|
+
# The HTTP Event Collector (HEC) endpoint to which Kinesis Firehose
|
2458
|
+
# sends your data.
|
2356
2459
|
# @return [String]
|
2357
2460
|
#
|
2358
|
-
# @!attribute [rw]
|
2461
|
+
# @!attribute [rw] hec_endpoint_type
|
2462
|
+
# This type can be either "Raw" or "Event".
|
2359
2463
|
# @return [String]
|
2360
2464
|
#
|
2361
|
-
# @!attribute [rw]
|
2465
|
+
# @!attribute [rw] hec_token
|
2466
|
+
# This is a GUID you obtain from your Splunk cluster when you create a
|
2467
|
+
# new HEC endpoint.
|
2362
2468
|
# @return [String]
|
2363
2469
|
#
|
2364
|
-
# @!attribute [rw]
|
2365
|
-
#
|
2470
|
+
# @!attribute [rw] hec_acknowledgment_timeout_in_seconds
|
2471
|
+
# The amount of time that Kinesis Firehose waits to receive an
|
2472
|
+
# acknowledgment from Splunk after it sends it data. At the end of the
|
2473
|
+
# timeout period Kinesis Firehose either tries to send the data again
|
2474
|
+
# or considers it an error, based on your retry settings.
|
2475
|
+
# @return [Integer]
|
2476
|
+
#
|
2477
|
+
# @!attribute [rw] retry_options
|
2478
|
+
# The retry behavior in case Kinesis Firehose is unable to deliver
|
2479
|
+
# data to Splunk or if it doesn't receive an acknowledgment of
|
2480
|
+
# receipt from Splunk.
|
2481
|
+
# @return [Types::SplunkRetryOptions]
|
2482
|
+
#
|
2483
|
+
# @!attribute [rw] s3_backup_mode
|
2484
|
+
# Defines how documents should be delivered to Amazon S3. When set to
|
2485
|
+
# `FailedDocumentsOnly`, Kinesis Firehose writes any data that could
|
2486
|
+
# not be indexed to the configured Amazon S3 destination. When set to
|
2487
|
+
# `AllDocuments`, Kinesis Firehose delivers all incoming records to
|
2488
|
+
# Amazon S3, and also writes failed documents to Amazon S3. Default
|
2489
|
+
# value is `FailedDocumentsOnly`.
|
2490
|
+
# @return [String]
|
2491
|
+
#
|
2492
|
+
# @!attribute [rw] s3_configuration
|
2493
|
+
# The configuration for the backup Amazon S3 location.
|
2494
|
+
# @return [Types::S3DestinationConfiguration]
|
2495
|
+
#
|
2496
|
+
# @!attribute [rw] processing_configuration
|
2497
|
+
# The data processing configuration.
|
2498
|
+
# @return [Types::ProcessingConfiguration]
|
2499
|
+
#
|
2500
|
+
# @!attribute [rw] cloud_watch_logging_options
|
2501
|
+
# The CloudWatch logging options for your delivery stream.
|
2502
|
+
# @return [Types::CloudWatchLoggingOptions]
|
2366
2503
|
#
|
2367
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/
|
2504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationConfiguration AWS API Documentation
|
2368
2505
|
#
|
2369
|
-
class
|
2370
|
-
:
|
2371
|
-
:
|
2372
|
-
:
|
2373
|
-
:
|
2506
|
+
class SplunkDestinationConfiguration < Struct.new(
|
2507
|
+
:hec_endpoint,
|
2508
|
+
:hec_endpoint_type,
|
2509
|
+
:hec_token,
|
2510
|
+
:hec_acknowledgment_timeout_in_seconds,
|
2511
|
+
:retry_options,
|
2512
|
+
:s3_backup_mode,
|
2513
|
+
:s3_configuration,
|
2514
|
+
:processing_configuration,
|
2515
|
+
:cloud_watch_logging_options)
|
2374
2516
|
include Aws::Structure
|
2375
2517
|
end
|
2376
2518
|
|
2377
|
-
#
|
2378
|
-
# Firehose delivery stream.
|
2519
|
+
# Describes a destination in Splunk.
|
2379
2520
|
#
|
2380
|
-
# @!attribute [rw]
|
2381
|
-
# The
|
2382
|
-
#
|
2383
|
-
# @return [
|
2521
|
+
# @!attribute [rw] hec_endpoint
|
2522
|
+
# The HTTP Event Collector (HEC) endpoint to which Kinesis Firehose
|
2523
|
+
# sends your data.
|
2524
|
+
# @return [String]
|
2384
2525
|
#
|
2385
|
-
#
|
2526
|
+
# @!attribute [rw] hec_endpoint_type
|
2527
|
+
# This type can be either "Raw" or "Event".
|
2528
|
+
# @return [String]
|
2386
2529
|
#
|
2387
|
-
|
2388
|
-
|
2530
|
+
# @!attribute [rw] hec_token
|
2531
|
+
# This is a GUID you obtain from your Splunk cluster when you create a
|
2532
|
+
# new HEC endpoint.
|
2533
|
+
# @return [String]
|
2534
|
+
#
|
2535
|
+
# @!attribute [rw] hec_acknowledgment_timeout_in_seconds
|
2536
|
+
# The amount of time that Kinesis Firehose waits to receive an
|
2537
|
+
# acknowledgment from Splunk after it sends it data. At the end of the
|
2538
|
+
# timeout period Kinesis Firehose either tries to send the data again
|
2539
|
+
# or considers it an error, based on your retry settings.
|
2540
|
+
# @return [Integer]
|
2541
|
+
#
|
2542
|
+
# @!attribute [rw] retry_options
|
2543
|
+
# The retry behavior in case Kinesis Firehose is unable to deliver
|
2544
|
+
# data to Splunk or if it doesn't receive an acknowledgment of
|
2545
|
+
# receipt from Splunk.
|
2546
|
+
# @return [Types::SplunkRetryOptions]
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] s3_backup_mode
|
2549
|
+
# Defines how documents should be delivered to Amazon S3. When set to
|
2550
|
+
# `FailedDocumentsOnly`, Kinesis Firehose writes any data that could
|
2551
|
+
# not be indexed to the configured Amazon S3 destination. When set to
|
2552
|
+
# `AllDocuments`, Kinesis Firehose delivers all incoming records to
|
2553
|
+
# Amazon S3, and also writes failed documents to Amazon S3. Default
|
2554
|
+
# value is `FailedDocumentsOnly`.
|
2555
|
+
# @return [String]
|
2556
|
+
#
|
2557
|
+
# @!attribute [rw] s3_destination_description
|
2558
|
+
# The Amazon S3 destination.>
|
2559
|
+
# @return [Types::S3DestinationDescription]
|
2560
|
+
#
|
2561
|
+
# @!attribute [rw] processing_configuration
|
2562
|
+
# The data processing configuration.
|
2563
|
+
# @return [Types::ProcessingConfiguration]
|
2564
|
+
#
|
2565
|
+
# @!attribute [rw] cloud_watch_logging_options
|
2566
|
+
# The CloudWatch logging options for your delivery stream.
|
2567
|
+
# @return [Types::CloudWatchLoggingOptions]
|
2568
|
+
#
|
2569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationDescription AWS API Documentation
|
2570
|
+
#
|
2571
|
+
class SplunkDestinationDescription < Struct.new(
|
2572
|
+
:hec_endpoint,
|
2573
|
+
:hec_endpoint_type,
|
2574
|
+
:hec_token,
|
2575
|
+
:hec_acknowledgment_timeout_in_seconds,
|
2576
|
+
:retry_options,
|
2577
|
+
:s3_backup_mode,
|
2578
|
+
:s3_destination_description,
|
2579
|
+
:processing_configuration,
|
2580
|
+
:cloud_watch_logging_options)
|
2581
|
+
include Aws::Structure
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
# Describes an update for a destination in Splunk.
|
2585
|
+
#
|
2586
|
+
# @note When making an API call, you may pass SplunkDestinationUpdate
|
2587
|
+
# data as a hash:
|
2588
|
+
#
|
2589
|
+
# {
|
2590
|
+
# hec_endpoint: "HECEndpoint",
|
2591
|
+
# hec_endpoint_type: "Raw", # accepts Raw, Event
|
2592
|
+
# hec_token: "HECToken",
|
2593
|
+
# hec_acknowledgment_timeout_in_seconds: 1,
|
2594
|
+
# retry_options: {
|
2595
|
+
# duration_in_seconds: 1,
|
2596
|
+
# },
|
2597
|
+
# s3_backup_mode: "FailedEventsOnly", # accepts FailedEventsOnly, AllEvents
|
2598
|
+
# s3_update: {
|
2599
|
+
# role_arn: "RoleARN",
|
2600
|
+
# bucket_arn: "BucketARN",
|
2601
|
+
# prefix: "Prefix",
|
2602
|
+
# buffering_hints: {
|
2603
|
+
# size_in_m_bs: 1,
|
2604
|
+
# interval_in_seconds: 1,
|
2605
|
+
# },
|
2606
|
+
# compression_format: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, ZIP, Snappy
|
2607
|
+
# encryption_configuration: {
|
2608
|
+
# no_encryption_config: "NoEncryption", # accepts NoEncryption
|
2609
|
+
# kms_encryption_config: {
|
2610
|
+
# awskms_key_arn: "AWSKMSKeyARN", # required
|
2611
|
+
# },
|
2612
|
+
# },
|
2613
|
+
# cloud_watch_logging_options: {
|
2614
|
+
# enabled: false,
|
2615
|
+
# log_group_name: "LogGroupName",
|
2616
|
+
# log_stream_name: "LogStreamName",
|
2617
|
+
# },
|
2618
|
+
# },
|
2619
|
+
# processing_configuration: {
|
2620
|
+
# enabled: false,
|
2621
|
+
# processors: [
|
2622
|
+
# {
|
2623
|
+
# type: "Lambda", # required, accepts Lambda
|
2624
|
+
# parameters: [
|
2625
|
+
# {
|
2626
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2627
|
+
# parameter_value: "ProcessorParameterValue", # required
|
2628
|
+
# },
|
2629
|
+
# ],
|
2630
|
+
# },
|
2631
|
+
# ],
|
2632
|
+
# },
|
2633
|
+
# cloud_watch_logging_options: {
|
2634
|
+
# enabled: false,
|
2635
|
+
# log_group_name: "LogGroupName",
|
2636
|
+
# log_stream_name: "LogStreamName",
|
2637
|
+
# },
|
2638
|
+
# }
|
2639
|
+
#
|
2640
|
+
# @!attribute [rw] hec_endpoint
|
2641
|
+
# The HTTP Event Collector (HEC) endpoint to which Kinesis Firehose
|
2642
|
+
# sends your data.
|
2643
|
+
# @return [String]
|
2644
|
+
#
|
2645
|
+
# @!attribute [rw] hec_endpoint_type
|
2646
|
+
# This type can be either "Raw" or "Event".
|
2647
|
+
# @return [String]
|
2648
|
+
#
|
2649
|
+
# @!attribute [rw] hec_token
|
2650
|
+
# This is a GUID you obtain from your Splunk cluster when you create a
|
2651
|
+
# new HEC endpoint.
|
2652
|
+
# @return [String]
|
2653
|
+
#
|
2654
|
+
# @!attribute [rw] hec_acknowledgment_timeout_in_seconds
|
2655
|
+
# The amount of time that Kinesis Firehose waits to receive an
|
2656
|
+
# acknowledgment from Splunk after it sends it data. At the end of the
|
2657
|
+
# timeout period Kinesis Firehose either tries to send the data again
|
2658
|
+
# or considers it an error, based on your retry settings.
|
2659
|
+
# @return [Integer]
|
2660
|
+
#
|
2661
|
+
# @!attribute [rw] retry_options
|
2662
|
+
# The retry behavior in case Kinesis Firehose is unable to deliver
|
2663
|
+
# data to Splunk or if it doesn't receive an acknowledgment of
|
2664
|
+
# receipt from Splunk.
|
2665
|
+
# @return [Types::SplunkRetryOptions]
|
2666
|
+
#
|
2667
|
+
# @!attribute [rw] s3_backup_mode
|
2668
|
+
# Defines how documents should be delivered to Amazon S3. When set to
|
2669
|
+
# `FailedDocumentsOnly`, Kinesis Firehose writes any data that could
|
2670
|
+
# not be indexed to the configured Amazon S3 destination. When set to
|
2671
|
+
# `AllDocuments`, Kinesis Firehose delivers all incoming records to
|
2672
|
+
# Amazon S3, and also writes failed documents to Amazon S3. Default
|
2673
|
+
# value is `FailedDocumentsOnly`.
|
2674
|
+
# @return [String]
|
2675
|
+
#
|
2676
|
+
# @!attribute [rw] s3_update
|
2677
|
+
# Your update to the configuration of the backup Amazon S3 location.
|
2678
|
+
# @return [Types::S3DestinationUpdate]
|
2679
|
+
#
|
2680
|
+
# @!attribute [rw] processing_configuration
|
2681
|
+
# The data processing configuration.
|
2682
|
+
# @return [Types::ProcessingConfiguration]
|
2683
|
+
#
|
2684
|
+
# @!attribute [rw] cloud_watch_logging_options
|
2685
|
+
# The CloudWatch logging options for your delivery stream.
|
2686
|
+
# @return [Types::CloudWatchLoggingOptions]
|
2687
|
+
#
|
2688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationUpdate AWS API Documentation
|
2689
|
+
#
|
2690
|
+
class SplunkDestinationUpdate < Struct.new(
|
2691
|
+
:hec_endpoint,
|
2692
|
+
:hec_endpoint_type,
|
2693
|
+
:hec_token,
|
2694
|
+
:hec_acknowledgment_timeout_in_seconds,
|
2695
|
+
:retry_options,
|
2696
|
+
:s3_backup_mode,
|
2697
|
+
:s3_update,
|
2698
|
+
:processing_configuration,
|
2699
|
+
:cloud_watch_logging_options)
|
2700
|
+
include Aws::Structure
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
# Configures retry behavior in case Kinesis Firehose is unable to
|
2704
|
+
# deliver documents to Splunk or if it doesn't receive an
|
2705
|
+
# acknowledgment from Splunk.
|
2706
|
+
#
|
2707
|
+
# @note When making an API call, you may pass SplunkRetryOptions
|
2708
|
+
# data as a hash:
|
2709
|
+
#
|
2710
|
+
# {
|
2711
|
+
# duration_in_seconds: 1,
|
2712
|
+
# }
|
2713
|
+
#
|
2714
|
+
# @!attribute [rw] duration_in_seconds
|
2715
|
+
# The total amount of time that Kinesis Firehose spends on retries.
|
2716
|
+
# This duration starts after the initial attempt to send data to
|
2717
|
+
# Splunk fails and doesn't include the periods during which Kinesis
|
2718
|
+
# Firehose waits for acknowledgment from Splunk after each attempt.
|
2719
|
+
# @return [Integer]
|
2720
|
+
#
|
2721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkRetryOptions AWS API Documentation
|
2722
|
+
#
|
2723
|
+
class SplunkRetryOptions < Struct.new(
|
2724
|
+
:duration_in_seconds)
|
2389
2725
|
include Aws::Structure
|
2390
2726
|
end
|
2391
2727
|
|
@@ -2444,7 +2780,7 @@ module Aws::Firehose
|
|
2444
2780
|
# type: "Lambda", # required, accepts Lambda
|
2445
2781
|
# parameters: [
|
2446
2782
|
# {
|
2447
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
2783
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2448
2784
|
# parameter_value: "ProcessorParameterValue", # required
|
2449
2785
|
# },
|
2450
2786
|
# ],
|
@@ -2515,7 +2851,7 @@ module Aws::Firehose
|
|
2515
2851
|
# type: "Lambda", # required, accepts Lambda
|
2516
2852
|
# parameters: [
|
2517
2853
|
# {
|
2518
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
2854
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2519
2855
|
# parameter_value: "ProcessorParameterValue", # required
|
2520
2856
|
# },
|
2521
2857
|
# ],
|
@@ -2591,7 +2927,57 @@ module Aws::Firehose
|
|
2591
2927
|
# type: "Lambda", # required, accepts Lambda
|
2592
2928
|
# parameters: [
|
2593
2929
|
# {
|
2594
|
-
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries
|
2930
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2931
|
+
# parameter_value: "ProcessorParameterValue", # required
|
2932
|
+
# },
|
2933
|
+
# ],
|
2934
|
+
# },
|
2935
|
+
# ],
|
2936
|
+
# },
|
2937
|
+
# cloud_watch_logging_options: {
|
2938
|
+
# enabled: false,
|
2939
|
+
# log_group_name: "LogGroupName",
|
2940
|
+
# log_stream_name: "LogStreamName",
|
2941
|
+
# },
|
2942
|
+
# },
|
2943
|
+
# splunk_destination_update: {
|
2944
|
+
# hec_endpoint: "HECEndpoint",
|
2945
|
+
# hec_endpoint_type: "Raw", # accepts Raw, Event
|
2946
|
+
# hec_token: "HECToken",
|
2947
|
+
# hec_acknowledgment_timeout_in_seconds: 1,
|
2948
|
+
# retry_options: {
|
2949
|
+
# duration_in_seconds: 1,
|
2950
|
+
# },
|
2951
|
+
# s3_backup_mode: "FailedEventsOnly", # accepts FailedEventsOnly, AllEvents
|
2952
|
+
# s3_update: {
|
2953
|
+
# role_arn: "RoleARN",
|
2954
|
+
# bucket_arn: "BucketARN",
|
2955
|
+
# prefix: "Prefix",
|
2956
|
+
# buffering_hints: {
|
2957
|
+
# size_in_m_bs: 1,
|
2958
|
+
# interval_in_seconds: 1,
|
2959
|
+
# },
|
2960
|
+
# compression_format: "UNCOMPRESSED", # accepts UNCOMPRESSED, GZIP, ZIP, Snappy
|
2961
|
+
# encryption_configuration: {
|
2962
|
+
# no_encryption_config: "NoEncryption", # accepts NoEncryption
|
2963
|
+
# kms_encryption_config: {
|
2964
|
+
# awskms_key_arn: "AWSKMSKeyARN", # required
|
2965
|
+
# },
|
2966
|
+
# },
|
2967
|
+
# cloud_watch_logging_options: {
|
2968
|
+
# enabled: false,
|
2969
|
+
# log_group_name: "LogGroupName",
|
2970
|
+
# log_stream_name: "LogStreamName",
|
2971
|
+
# },
|
2972
|
+
# },
|
2973
|
+
# processing_configuration: {
|
2974
|
+
# enabled: false,
|
2975
|
+
# processors: [
|
2976
|
+
# {
|
2977
|
+
# type: "Lambda", # required, accepts Lambda
|
2978
|
+
# parameters: [
|
2979
|
+
# {
|
2980
|
+
# parameter_name: "LambdaArn", # required, accepts LambdaArn, NumberOfRetries, RoleArn, BufferSizeInMBs, BufferIntervalInSeconds
|
2595
2981
|
# parameter_value: "ProcessorParameterValue", # required
|
2596
2982
|
# },
|
2597
2983
|
# ],
|
@@ -2640,6 +3026,10 @@ module Aws::Firehose
|
|
2640
3026
|
# Describes an update for a destination in Amazon ES.
|
2641
3027
|
# @return [Types::ElasticsearchDestinationUpdate]
|
2642
3028
|
#
|
3029
|
+
# @!attribute [rw] splunk_destination_update
|
3030
|
+
# Describes an update for a destination in Splunk.
|
3031
|
+
# @return [Types::SplunkDestinationUpdate]
|
3032
|
+
#
|
2643
3033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationInput AWS API Documentation
|
2644
3034
|
#
|
2645
3035
|
class UpdateDestinationInput < Struct.new(
|
@@ -2649,7 +3039,8 @@ module Aws::Firehose
|
|
2649
3039
|
:s3_destination_update,
|
2650
3040
|
:extended_s3_destination_update,
|
2651
3041
|
:redshift_destination_update,
|
2652
|
-
:elasticsearch_destination_update
|
3042
|
+
:elasticsearch_destination_update,
|
3043
|
+
:splunk_destination_update)
|
2653
3044
|
include Aws::Structure
|
2654
3045
|
end
|
2655
3046
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-firehose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -56,7 +56,9 @@ files:
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
57
57
|
licenses:
|
58
58
|
- Apache-2.0
|
59
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-firehose
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-firehose/CHANGELOG.md
|
60
62
|
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|