aws-sdk-firehose 1.60.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c0b25abb2923866f98bdee7a6f88a59bc909e7e1e3e3c7fea4a48c4f3da60c5
4
- data.tar.gz: e5e26c2ea8493aa92dbc2f8c13377ba7d86a4ba8d7b371d42c98a38de8f89b81
3
+ metadata.gz: d649fe25e85cfd84c7bf5448d960d1623ba321450b8517493809a4bea242bdd2
4
+ data.tar.gz: e7ef5ee406b038d406fab7790e6059da6a4b1db9f0ad9df4f84e92c3185a32a0
5
5
  SHA512:
6
- metadata.gz: a2a9e845e904d6897dc307cc4aff231674ba172166efd14cca743b4dea7f52d9049a1fe96ade8f9bee19f8975194f3bfcd00545eba3f1c96e79d1d04b3163ec8
7
- data.tar.gz: a5ad9f30c97e3d92c5d92b8ecc4acfc92f2f2536080517de92da73dd2c66156f7aa74b2921d106a232f0f994cd0e9ae2984e5c6b49eddac42859343bdd71d0c2
6
+ metadata.gz: ce40396d763a5c6db8f25e0e57dcefe29519cfe3f0843416e286f0ffa8e1ca049c9dd2f576933c0ecb68176f31198440aeaa174d8dc2d69e98ca56ee5a02efb1
7
+ data.tar.gz: 0ab9fb1d17078e0dbe7ea81fd063282ec4ee6ef2c4c6f6672bd0d6782b3abc2daf3e4a7bfebe874513150ac4f04f5394f8bab7740f55010e36f5da311acac6e2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.61.0 (2023-12-14)
5
+ ------------------
6
+
7
+ * Feature - This release, 1) adds configurable buffering hints for the Splunk destination, and 2) reduces the minimum configurable buffering interval for supported destinations
8
+
4
9
  1.60.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.61.0
@@ -968,6 +968,10 @@ module Aws::Firehose
968
968
  # log_group_name: "LogGroupName",
969
969
  # log_stream_name: "LogStreamName",
970
970
  # },
971
+ # buffering_hints: {
972
+ # interval_in_seconds: 1,
973
+ # size_in_m_bs: 1,
974
+ # },
971
975
  # },
972
976
  # http_endpoint_destination_configuration: {
973
977
  # endpoint_configuration: { # required
@@ -1456,6 +1460,8 @@ module Aws::Firehose
1456
1460
  # resp.delivery_stream_description.destinations[0].splunk_destination_description.cloud_watch_logging_options.enabled #=> Boolean
1457
1461
  # resp.delivery_stream_description.destinations[0].splunk_destination_description.cloud_watch_logging_options.log_group_name #=> String
1458
1462
  # resp.delivery_stream_description.destinations[0].splunk_destination_description.cloud_watch_logging_options.log_stream_name #=> String
1463
+ # resp.delivery_stream_description.destinations[0].splunk_destination_description.buffering_hints.interval_in_seconds #=> Integer
1464
+ # resp.delivery_stream_description.destinations[0].splunk_destination_description.buffering_hints.size_in_m_bs #=> Integer
1459
1465
  # resp.delivery_stream_description.destinations[0].http_endpoint_destination_description.endpoint_configuration.url #=> String
1460
1466
  # resp.delivery_stream_description.destinations[0].http_endpoint_destination_description.endpoint_configuration.name #=> String
1461
1467
  # resp.delivery_stream_description.destinations[0].http_endpoint_destination_description.buffering_hints.size_in_m_bs #=> Integer
@@ -2536,6 +2542,10 @@ module Aws::Firehose
2536
2542
  # log_group_name: "LogGroupName",
2537
2543
  # log_stream_name: "LogStreamName",
2538
2544
  # },
2545
+ # buffering_hints: {
2546
+ # interval_in_seconds: 1,
2547
+ # size_in_m_bs: 1,
2548
+ # },
2539
2549
  # },
2540
2550
  # http_endpoint_destination_update: {
2541
2551
  # endpoint_configuration: {
@@ -2680,7 +2690,7 @@ module Aws::Firehose
2680
2690
  params: params,
2681
2691
  config: config)
2682
2692
  context[:gem_name] = 'aws-sdk-firehose'
2683
- context[:gem_version] = '1.60.0'
2693
+ context[:gem_version] = '1.61.0'
2684
2694
  Seahorse::Client::Request.new(handlers, context)
2685
2695
  end
2686
2696
 
@@ -133,6 +133,7 @@ module Aws::Firehose
133
133
  IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
134
134
  InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
135
135
  InvalidKMSResourceException = Shapes::StructureShape.new(name: 'InvalidKMSResourceException')
136
+ InvalidSourceException = Shapes::StructureShape.new(name: 'InvalidSourceException')
136
137
  KMSEncryptionConfig = Shapes::StructureShape.new(name: 'KMSEncryptionConfig')
137
138
  KeyType = Shapes::StringShape.new(name: 'KeyType')
138
139
  KinesisStreamARN = Shapes::StringShape.new(name: 'KinesisStreamARN')
@@ -209,6 +210,9 @@ module Aws::Firehose
209
210
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
210
211
  SizeInMBs = Shapes::IntegerShape.new(name: 'SizeInMBs')
211
212
  SourceDescription = Shapes::StructureShape.new(name: 'SourceDescription')
213
+ SplunkBufferingHints = Shapes::StructureShape.new(name: 'SplunkBufferingHints')
214
+ SplunkBufferingIntervalInSeconds = Shapes::IntegerShape.new(name: 'SplunkBufferingIntervalInSeconds')
215
+ SplunkBufferingSizeInMBs = Shapes::IntegerShape.new(name: 'SplunkBufferingSizeInMBs')
212
216
  SplunkDestinationConfiguration = Shapes::StructureShape.new(name: 'SplunkDestinationConfiguration')
213
217
  SplunkDestinationDescription = Shapes::StructureShape.new(name: 'SplunkDestinationDescription')
214
218
  SplunkDestinationUpdate = Shapes::StructureShape.new(name: 'SplunkDestinationUpdate')
@@ -622,6 +626,10 @@ module Aws::Firehose
622
626
  InvalidKMSResourceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
623
627
  InvalidKMSResourceException.struct_class = Types::InvalidKMSResourceException
624
628
 
629
+ InvalidSourceException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
630
+ InvalidSourceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
631
+ InvalidSourceException.struct_class = Types::InvalidSourceException
632
+
625
633
  KMSEncryptionConfig.add_member(:awskms_key_arn, Shapes::ShapeRef.new(shape: AWSKMSKeyARN, required: true, location_name: "AWSKMSKeyARN"))
626
634
  KMSEncryptionConfig.struct_class = Types::KMSEncryptionConfig
627
635
 
@@ -846,6 +854,10 @@ module Aws::Firehose
846
854
  SourceDescription.add_member(:msk_source_description, Shapes::ShapeRef.new(shape: MSKSourceDescription, location_name: "MSKSourceDescription"))
847
855
  SourceDescription.struct_class = Types::SourceDescription
848
856
 
857
+ SplunkBufferingHints.add_member(:interval_in_seconds, Shapes::ShapeRef.new(shape: SplunkBufferingIntervalInSeconds, location_name: "IntervalInSeconds"))
858
+ SplunkBufferingHints.add_member(:size_in_m_bs, Shapes::ShapeRef.new(shape: SplunkBufferingSizeInMBs, location_name: "SizeInMBs"))
859
+ SplunkBufferingHints.struct_class = Types::SplunkBufferingHints
860
+
849
861
  SplunkDestinationConfiguration.add_member(:hec_endpoint, Shapes::ShapeRef.new(shape: HECEndpoint, required: true, location_name: "HECEndpoint"))
850
862
  SplunkDestinationConfiguration.add_member(:hec_endpoint_type, Shapes::ShapeRef.new(shape: HECEndpointType, required: true, location_name: "HECEndpointType"))
851
863
  SplunkDestinationConfiguration.add_member(:hec_token, Shapes::ShapeRef.new(shape: HECToken, required: true, location_name: "HECToken"))
@@ -855,6 +867,7 @@ module Aws::Firehose
855
867
  SplunkDestinationConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DestinationConfiguration, required: true, location_name: "S3Configuration"))
856
868
  SplunkDestinationConfiguration.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
857
869
  SplunkDestinationConfiguration.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
870
+ SplunkDestinationConfiguration.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: SplunkBufferingHints, location_name: "BufferingHints"))
858
871
  SplunkDestinationConfiguration.struct_class = Types::SplunkDestinationConfiguration
859
872
 
860
873
  SplunkDestinationDescription.add_member(:hec_endpoint, Shapes::ShapeRef.new(shape: HECEndpoint, location_name: "HECEndpoint"))
@@ -866,6 +879,7 @@ module Aws::Firehose
866
879
  SplunkDestinationDescription.add_member(:s3_destination_description, Shapes::ShapeRef.new(shape: S3DestinationDescription, location_name: "S3DestinationDescription"))
867
880
  SplunkDestinationDescription.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
868
881
  SplunkDestinationDescription.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
882
+ SplunkDestinationDescription.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: SplunkBufferingHints, location_name: "BufferingHints"))
869
883
  SplunkDestinationDescription.struct_class = Types::SplunkDestinationDescription
870
884
 
871
885
  SplunkDestinationUpdate.add_member(:hec_endpoint, Shapes::ShapeRef.new(shape: HECEndpoint, location_name: "HECEndpoint"))
@@ -877,6 +891,7 @@ module Aws::Firehose
877
891
  SplunkDestinationUpdate.add_member(:s3_update, Shapes::ShapeRef.new(shape: S3DestinationUpdate, location_name: "S3Update"))
878
892
  SplunkDestinationUpdate.add_member(:processing_configuration, Shapes::ShapeRef.new(shape: ProcessingConfiguration, location_name: "ProcessingConfiguration"))
879
893
  SplunkDestinationUpdate.add_member(:cloud_watch_logging_options, Shapes::ShapeRef.new(shape: CloudWatchLoggingOptions, location_name: "CloudWatchLoggingOptions"))
894
+ SplunkDestinationUpdate.add_member(:buffering_hints, Shapes::ShapeRef.new(shape: SplunkBufferingHints, location_name: "BufferingHints"))
880
895
  SplunkDestinationUpdate.struct_class = Types::SplunkDestinationUpdate
881
896
 
882
897
  SplunkRetryOptions.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: SplunkRetryDurationInSeconds, location_name: "DurationInSeconds"))
@@ -1019,6 +1034,7 @@ module Aws::Firehose
1019
1034
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1020
1035
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1021
1036
  o.errors << Shapes::ShapeRef.new(shape: InvalidKMSResourceException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSourceException)
1022
1038
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1023
1039
  end)
1024
1040
 
@@ -1031,6 +1047,7 @@ module Aws::Firehose
1031
1047
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1032
1048
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1033
1049
  o.errors << Shapes::ShapeRef.new(shape: InvalidKMSResourceException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSourceException)
1034
1051
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1035
1052
  end)
1036
1053
 
@@ -32,7 +32,7 @@ module Aws::Firehose
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://firehose-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -30,6 +30,7 @@ module Aws::Firehose
30
30
  # * {ConcurrentModificationException}
31
31
  # * {InvalidArgumentException}
32
32
  # * {InvalidKMSResourceException}
33
+ # * {InvalidSourceException}
33
34
  # * {LimitExceededException}
34
35
  # * {ResourceInUseException}
35
36
  # * {ResourceNotFoundException}
@@ -91,6 +92,26 @@ module Aws::Firehose
91
92
  end
92
93
  end
93
94
 
95
+ class InvalidSourceException < ServiceError
96
+
97
+ # @param [Seahorse::Client::RequestContext] context
98
+ # @param [String] message
99
+ # @param [Aws::Firehose::Types::InvalidSourceException] data
100
+ def initialize(context, message, data = Aws::EmptyStructure.new)
101
+ super(context, message, data)
102
+ end
103
+
104
+ # @return [String]
105
+ def code
106
+ @code || @data[:code]
107
+ end
108
+
109
+ # @return [String]
110
+ def message
111
+ @message || @data[:message]
112
+ end
113
+ end
114
+
94
115
  class LimitExceededException < ServiceError
95
116
 
96
117
  # @param [Seahorse::Client::RequestContext] context
@@ -2506,6 +2506,24 @@ module Aws::Firehose
2506
2506
  include Aws::Structure
2507
2507
  end
2508
2508
 
2509
+ # Only requests from CloudWatch Logs are supported when CloudWatch Logs
2510
+ # decompression is enabled.
2511
+ #
2512
+ # @!attribute [rw] code
2513
+ # @return [String]
2514
+ #
2515
+ # @!attribute [rw] message
2516
+ # @return [String]
2517
+ #
2518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/InvalidSourceException AWS API Documentation
2519
+ #
2520
+ class InvalidSourceException < Struct.new(
2521
+ :code,
2522
+ :message)
2523
+ SENSITIVE = []
2524
+ include Aws::Structure
2525
+ end
2526
+
2509
2527
  # Describes an encryption key for a destination in Amazon S3.
2510
2528
  #
2511
2529
  # @!attribute [rw] awskms_key_arn
@@ -3830,6 +3848,29 @@ module Aws::Firehose
3830
3848
  include Aws::Structure
3831
3849
  end
3832
3850
 
3851
+ # The buffering options. If no value is specified, the default values
3852
+ # for Splunk are used.
3853
+ #
3854
+ # @!attribute [rw] interval_in_seconds
3855
+ # Buffer incoming data for the specified period of time, in seconds,
3856
+ # before delivering it to the destination. The default value is 60 (1
3857
+ # minute).
3858
+ # @return [Integer]
3859
+ #
3860
+ # @!attribute [rw] size_in_m_bs
3861
+ # Buffer incoming data to the specified size, in MBs, before
3862
+ # delivering it to the destination. The default value is 5.
3863
+ # @return [Integer]
3864
+ #
3865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkBufferingHints AWS API Documentation
3866
+ #
3867
+ class SplunkBufferingHints < Struct.new(
3868
+ :interval_in_seconds,
3869
+ :size_in_m_bs)
3870
+ SENSITIVE = []
3871
+ include Aws::Structure
3872
+ end
3873
+
3833
3874
  # Describes the configuration of a destination in Splunk.
3834
3875
  #
3835
3876
  # @!attribute [rw] hec_endpoint
@@ -3884,6 +3925,11 @@ module Aws::Firehose
3884
3925
  # The Amazon CloudWatch logging options for your delivery stream.
3885
3926
  # @return [Types::CloudWatchLoggingOptions]
3886
3927
  #
3928
+ # @!attribute [rw] buffering_hints
3929
+ # The buffering options. If no value is specified, the default values
3930
+ # for Splunk are used.
3931
+ # @return [Types::SplunkBufferingHints]
3932
+ #
3887
3933
  # @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationConfiguration AWS API Documentation
3888
3934
  #
3889
3935
  class SplunkDestinationConfiguration < Struct.new(
@@ -3895,7 +3941,8 @@ module Aws::Firehose
3895
3941
  :s3_backup_mode,
3896
3942
  :s3_configuration,
3897
3943
  :processing_configuration,
3898
- :cloud_watch_logging_options)
3944
+ :cloud_watch_logging_options,
3945
+ :buffering_hints)
3899
3946
  SENSITIVE = []
3900
3947
  include Aws::Structure
3901
3948
  end
@@ -3950,6 +3997,11 @@ module Aws::Firehose
3950
3997
  # The Amazon CloudWatch logging options for your delivery stream.
3951
3998
  # @return [Types::CloudWatchLoggingOptions]
3952
3999
  #
4000
+ # @!attribute [rw] buffering_hints
4001
+ # The buffering options. If no value is specified, the default values
4002
+ # for Splunk are used.
4003
+ # @return [Types::SplunkBufferingHints]
4004
+ #
3953
4005
  # @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationDescription AWS API Documentation
3954
4006
  #
3955
4007
  class SplunkDestinationDescription < Struct.new(
@@ -3961,7 +4013,8 @@ module Aws::Firehose
3961
4013
  :s3_backup_mode,
3962
4014
  :s3_destination_description,
3963
4015
  :processing_configuration,
3964
- :cloud_watch_logging_options)
4016
+ :cloud_watch_logging_options,
4017
+ :buffering_hints)
3965
4018
  SENSITIVE = []
3966
4019
  include Aws::Structure
3967
4020
  end
@@ -4020,6 +4073,11 @@ module Aws::Firehose
4020
4073
  # The Amazon CloudWatch logging options for your delivery stream.
4021
4074
  # @return [Types::CloudWatchLoggingOptions]
4022
4075
  #
4076
+ # @!attribute [rw] buffering_hints
4077
+ # The buffering options. If no value is specified, the default values
4078
+ # for Splunk are used.
4079
+ # @return [Types::SplunkBufferingHints]
4080
+ #
4023
4081
  # @see http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationUpdate AWS API Documentation
4024
4082
  #
4025
4083
  class SplunkDestinationUpdate < Struct.new(
@@ -4031,7 +4089,8 @@ module Aws::Firehose
4031
4089
  :s3_backup_mode,
4032
4090
  :s3_update,
4033
4091
  :processing_configuration,
4034
- :cloud_watch_logging_options)
4092
+ :cloud_watch_logging_options,
4093
+ :buffering_hints)
4035
4094
  SENSITIVE = []
4036
4095
  include Aws::Structure
4037
4096
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-firehose/customizations'
52
52
  # @!group service
53
53
  module Aws::Firehose
54
54
 
55
- GEM_VERSION = '1.60.0'
55
+ GEM_VERSION = '1.61.0'
56
56
 
57
57
  end
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.60.0
4
+ version: 1.61.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: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core