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.

SendMessageBatchResultEntry

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

type SendMessageBatchResultEntry struct { Id *string `type:"string" required:"true"` MD5OfMessageAttributes *string `type:"string"` MD5OfMessageBody *string `type:"string" required:"true"` MessageId *string `type:"string" required:"true"` SequenceNumber *string `type:"string"` }

Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch.

Id

Type: *string

An identifier for the message in this batch.

Id is a required field

MD5OfMessageAttributes

Type: *string

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).

MD5OfMessageBody

Type: *string

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).

MD5OfMessageBody is a required field

MessageId

Type: *string

An identifier for the message.

MessageId is a required field

SequenceNumber

Type: *string

This parameter applies only to FIFO (first-in-first-out) queues.

The large, non-consecutive number that Amazon SQS assigns to each message.

The length of SequenceNumber is 128 bits. As SequenceNumber continues to increase for a particular MessageGroupId.

Method

GoString

func (s SendMessageBatchResultEntry) GoString() string

GoString returns the string representation

SetId

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

SetId sets the Id field's value.

SetMD5OfMessageAttributes

func (s *SendMessageBatchResultEntry) SetMD5OfMessageAttributes(v string) *SendMessageBatchResultEntry

SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value.

SetMD5OfMessageBody

func (s *SendMessageBatchResultEntry) SetMD5OfMessageBody(v string) *SendMessageBatchResultEntry

SetMD5OfMessageBody sets the MD5OfMessageBody field's value.

SetMessageId

func (s *SendMessageBatchResultEntry) SetMessageId(v string) *SendMessageBatchResultEntry

SetMessageId sets the MessageId field's value.

SetSequenceNumber

func (s *SendMessageBatchResultEntry) SetSequenceNumber(v string) *SendMessageBatchResultEntry

SetSequenceNumber sets the SequenceNumber field's value.

String

func (s SendMessageBatchResultEntry) String() string

String returns the string representation

On this page: