AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ElasticsearchBufferingHints

import "github.com/aws/aws-sdk-go/service/firehose"

type ElasticsearchBufferingHints struct { IntervalInSeconds *int64 `min:"60" type:"integer"` SizeInMBs *int64 `min:"1" type:"integer"` }

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

IntervalInSeconds

Type: *int64

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

Type: *int64

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.

Method

GoString

func (s ElasticsearchBufferingHints) GoString() string

GoString returns the string representation

SetIntervalInSeconds

func (s *ElasticsearchBufferingHints) SetIntervalInSeconds(v int64) *ElasticsearchBufferingHints

SetIntervalInSeconds sets the IntervalInSeconds field's value.

SetSizeInMBs

func (s *ElasticsearchBufferingHints) SetSizeInMBs(v int64) *ElasticsearchBufferingHints

SetSizeInMBs sets the SizeInMBs field's value.

String

func (s ElasticsearchBufferingHints) String() string

String returns the string representation

Validate

func (s *ElasticsearchBufferingHints) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: