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.

BufferingHints

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

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

Describes hints for the buffering to perform before delivering data to the destination. These options are treated as hints, and therefore Kinesis Data Firehose might choose to use different values when it is optimal.

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.

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 BufferingHints) GoString() string

GoString returns the string representation

SetIntervalInSeconds

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

SetIntervalInSeconds sets the IntervalInSeconds field's value.

SetSizeInMBs

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

SetSizeInMBs sets the SizeInMBs field's value.

String

func (s BufferingHints) String() string

String returns the string representation

Validate

func (s *BufferingHints) Validate() error

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

On this page: