You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Firehose::Types::BufferingHints

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb

Overview

Note:

When making an API call, you may pass BufferingHints data as a hash:

{
  size_in_m_bs: 1,
  interval_in_seconds: 1,
}

Describes hints for the buffering to perform before delivering data to the destination. Please note that these options are treated as hints, and therefore Firehose may choose to use different values when it is optimal.

Instance Attribute Summary collapse

Instance Attribute Details

#interval_in_secondsInteger

Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300.

Returns:

  • (Integer)


41
42
43
44
45
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 41

class BufferingHints < Struct.new(
  :size_in_m_bs,
  :interval_in_seconds)
  include Aws::Structure
end

#size_in_m_bsInteger

Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.

We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.

Returns:

  • (Integer)


41
42
43
44
45
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 41

class BufferingHints < Struct.new(
  :size_in_m_bs,
  :interval_in_seconds)
  include Aws::Structure
end