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.

PutRecordBatchOutput

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

type PutRecordBatchOutput struct { Encrypted *bool `type:"boolean"` FailedPutCount *int64 `type:"integer" required:"true"` RequestResponses []*PutRecordBatchResponseEntry `min:"1" type:"list" required:"true"` }

Encrypted

Type: *bool

Indicates whether server-side encryption (SSE) was enabled during this operation.

FailedPutCount

Type: *int64

The number of records that might have failed processing. This number might be greater than 0 even if the PutRecordBatch call succeeds. Check FailedPutCount to determine whether there are records that you need to resend.

FailedPutCount is a required field

RequestResponses

Contains the result for an individual record from a PutRecordBatch request. If the record is successfully added to your delivery stream, it receives a record ID. If the record fails to be added to your delivery stream, the result includes an error code and an error message.

Method

GoString

func (s PutRecordBatchOutput) GoString() string

GoString returns the string representation

SetEncrypted

func (s *PutRecordBatchOutput) SetEncrypted(v bool) *PutRecordBatchOutput

SetEncrypted sets the Encrypted field's value.

SetFailedPutCount

func (s *PutRecordBatchOutput) SetFailedPutCount(v int64) *PutRecordBatchOutput

SetFailedPutCount sets the FailedPutCount field's value.

SetRequestResponses

func (s *PutRecordBatchOutput) SetRequestResponses(v []*PutRecordBatchResponseEntry) *PutRecordBatchOutput

SetRequestResponses sets the RequestResponses field's value.

String

func (s PutRecordBatchOutput) String() string

String returns the string representation

On this page: