amazonka-kinesis-firehose-2.0: Amazon Kinesis Firehose SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Firehose.Types.ElasticsearchBufferingHints

Description

 
Synopsis

Documentation

data ElasticsearchBufferingHints Source #

Describes the buffering to perform before delivering data to the Amazon ES destination.

See: newElasticsearchBufferingHints smart constructor.

Constructors

ElasticsearchBufferingHints' 

Fields

  • intervalInSeconds :: Maybe Natural

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

  • sizeInMBs :: Maybe Natural

    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.

Instances

Instances details
FromJSON ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

ToJSON ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

Generic ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

Associated Types

type Rep ElasticsearchBufferingHints :: Type -> Type #

Read ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

Show ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

NFData ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

Eq ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

Hashable ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

type Rep ElasticsearchBufferingHints Source # 
Instance details

Defined in Amazonka.Firehose.Types.ElasticsearchBufferingHints

type Rep ElasticsearchBufferingHints = D1 ('MetaData "ElasticsearchBufferingHints" "Amazonka.Firehose.Types.ElasticsearchBufferingHints" "amazonka-kinesis-firehose-2.0-6l1hHmh2UnHBvolxuQFkWB" 'False) (C1 ('MetaCons "ElasticsearchBufferingHints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "intervalInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "sizeInMBs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newElasticsearchBufferingHints :: ElasticsearchBufferingHints Source #

Create a value of ElasticsearchBufferingHints with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:intervalInSeconds:ElasticsearchBufferingHints', elasticsearchBufferingHints_intervalInSeconds - Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).

$sel:sizeInMBs:ElasticsearchBufferingHints', elasticsearchBufferingHints_sizeInMBs - 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.

elasticsearchBufferingHints_intervalInSeconds :: Lens' ElasticsearchBufferingHints (Maybe Natural) Source #

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

elasticsearchBufferingHints_sizeInMBs :: Lens' ElasticsearchBufferingHints (Maybe Natural) Source #

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.