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.

BatchResultErrorEntry

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

type BatchResultErrorEntry struct { Code *string `type:"string" required:"true"` Id *string `type:"string" required:"true"` Message *string `type:"string"` SenderFault *bool `type:"boolean" required:"true"` }

Gives a detailed description of the result of an action on each entry in the request.

Code

Type: *string

An error code representing why the action failed on this entry.

Code is a required field

Id

Type: *string

The Id of an entry in a batch request.

Id is a required field

Message

Type: *string

A message explaining why the action failed on this entry.

SenderFault

Type: *bool

Specifies whether the error happened due to the producer.

SenderFault is a required field

Method

GoString

func (s BatchResultErrorEntry) GoString() string

GoString returns the string representation

SetCode

func (s *BatchResultErrorEntry) SetCode(v string) *BatchResultErrorEntry

SetCode sets the Code field's value.

SetId

func (s *BatchResultErrorEntry) SetId(v string) *BatchResultErrorEntry

SetId sets the Id field's value.

SetMessage

func (s *BatchResultErrorEntry) SetMessage(v string) *BatchResultErrorEntry

SetMessage sets the Message field's value.

SetSenderFault

func (s *BatchResultErrorEntry) SetSenderFault(v bool) *BatchResultErrorEntry

SetSenderFault sets the SenderFault field's value.

String

func (s BatchResultErrorEntry) String() string

String returns the string representation

On this page: