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.

SendMessageOutput

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

type SendMessageOutput struct { MD5OfMessageAttributes *string `type:"string"` MD5OfMessageBody *string `type:"string"` MessageId *string `type:"string"` SequenceNumber *string `type:"string"` }

The MD5OfMessageBody and MessageId elements.

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).

MessageId

Type: *string

An attribute containing the MessageId of the message sent to the queue. For more information, see Queue and Message Identifiers (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html) in the Amazon Simple Queue Service Developer Guide.

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. SequenceNumber continues to increase for a particular MessageGroupId.

Method

GoString

func (s SendMessageOutput) GoString() string

GoString returns the string representation

SetMD5OfMessageAttributes

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

SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value.

SetMD5OfMessageBody

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

SetMD5OfMessageBody sets the MD5OfMessageBody field's value.

SetMessageId

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

SetMessageId sets the MessageId field's value.

SetSequenceNumber

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

SetSequenceNumber sets the SequenceNumber field's value.

String

func (s SendMessageOutput) String() string

String returns the string representation

On this page: