types

package
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 305

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchEntryIdsNotDistinct

type BatchEntryIdsNotDistinct struct {
	Message *string
	// contains filtered or unexported fields
}

Two or more batch entries in the request have the same Id.

func (*BatchEntryIdsNotDistinct) Error

func (e *BatchEntryIdsNotDistinct) Error() string

func (*BatchEntryIdsNotDistinct) ErrorCode

func (e *BatchEntryIdsNotDistinct) ErrorCode() string

func (*BatchEntryIdsNotDistinct) ErrorFault

func (e *BatchEntryIdsNotDistinct) ErrorFault() smithy.ErrorFault

func (*BatchEntryIdsNotDistinct) ErrorMessage

func (e *BatchEntryIdsNotDistinct) ErrorMessage() string

type BatchRequestTooLong

type BatchRequestTooLong struct {
	Message *string
	// contains filtered or unexported fields
}

The length of all the messages put together is more than the limit.

func (*BatchRequestTooLong) Error

func (e *BatchRequestTooLong) Error() string

func (*BatchRequestTooLong) ErrorCode

func (e *BatchRequestTooLong) ErrorCode() string

func (*BatchRequestTooLong) ErrorFault

func (e *BatchRequestTooLong) ErrorFault() smithy.ErrorFault

func (*BatchRequestTooLong) ErrorMessage

func (e *BatchRequestTooLong) ErrorMessage() string

type BatchResultErrorEntry

type BatchResultErrorEntry struct {

	// An error code representing why the action failed on this entry.
	//
	// This member is required.
	Code *string

	// The Id of an entry in a batch request.
	//
	// This member is required.
	Id *string

	// Specifies whether the error happened due to the caller of the batch API action.
	//
	// This member is required.
	SenderFault bool

	// A message explaining why the action failed on this entry.
	Message *string
	// contains filtered or unexported fields
}

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

type ChangeMessageVisibilityBatchRequestEntry

type ChangeMessageVisibilityBatchRequestEntry struct {

	// An identifier for this particular receipt handle used to communicate the result.
	// The Ids of a batch request need to be unique within a request. This identifier
	// can have up to 80 characters. The following characters are accepted:
	// alphanumeric characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// A receipt handle.
	//
	// This member is required.
	ReceiptHandle *string

	// The new value (in seconds) for the message's visibility timeout.
	VisibilityTimeout int32
	// contains filtered or unexported fields
}

Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch. All of the following list parameters must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n, where n is an integer value starting with 1. For example, a parameter list for this action might look like this: &ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2

&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=your_receipt_handle

&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45

type ChangeMessageVisibilityBatchResultEntry

type ChangeMessageVisibilityBatchResultEntry struct {

	// Represents a message whose visibility timeout has been changed successfully.
	//
	// This member is required.
	Id *string
	// contains filtered or unexported fields
}

Encloses the Id of an entry in ChangeMessageVisibilityBatch.

type DeleteMessageBatchRequestEntry

type DeleteMessageBatchRequestEntry struct {

	// An identifier for this particular receipt handle. This is used to communicate
	// the result. The Ids of a batch request need to be unique within a request. This
	// identifier can have up to 80 characters. The following characters are accepted:
	// alphanumeric characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// A receipt handle.
	//
	// This member is required.
	ReceiptHandle *string
	// contains filtered or unexported fields
}

Encloses a receipt handle and an identifier for it.

type DeleteMessageBatchResultEntry

type DeleteMessageBatchResultEntry struct {

	// Represents a successfully deleted message.
	//
	// This member is required.
	Id *string
	// contains filtered or unexported fields
}

Encloses the Id of an entry in DeleteMessageBatch.

type EmptyBatchRequest

type EmptyBatchRequest struct {
	Message *string
	// contains filtered or unexported fields
}

The batch request doesn't contain any entries.

func (*EmptyBatchRequest) Error

func (e *EmptyBatchRequest) Error() string

func (*EmptyBatchRequest) ErrorCode

func (e *EmptyBatchRequest) ErrorCode() string

func (*EmptyBatchRequest) ErrorFault

func (e *EmptyBatchRequest) ErrorFault() smithy.ErrorFault

func (*EmptyBatchRequest) ErrorMessage

func (e *EmptyBatchRequest) ErrorMessage() string

type InvalidAttributeName

type InvalidAttributeName struct {
	Message *string
	// contains filtered or unexported fields
}

The specified attribute doesn't exist.

func (*InvalidAttributeName) Error

func (e *InvalidAttributeName) Error() string

func (*InvalidAttributeName) ErrorCode

func (e *InvalidAttributeName) ErrorCode() string

func (*InvalidAttributeName) ErrorFault

func (e *InvalidAttributeName) ErrorFault() smithy.ErrorFault

func (*InvalidAttributeName) ErrorMessage

func (e *InvalidAttributeName) ErrorMessage() string

type InvalidBatchEntryId

type InvalidBatchEntryId struct {
	Message *string
	// contains filtered or unexported fields
}

The Id of a batch entry in a batch request doesn't abide by the specification.

func (*InvalidBatchEntryId) Error

func (e *InvalidBatchEntryId) Error() string

func (*InvalidBatchEntryId) ErrorCode

func (e *InvalidBatchEntryId) ErrorCode() string

func (*InvalidBatchEntryId) ErrorFault

func (e *InvalidBatchEntryId) ErrorFault() smithy.ErrorFault

func (*InvalidBatchEntryId) ErrorMessage

func (e *InvalidBatchEntryId) ErrorMessage() string

type InvalidIdFormat

type InvalidIdFormat struct {
	Message *string
	// contains filtered or unexported fields
}

The specified receipt handle isn't valid for the current version.

func (*InvalidIdFormat) Error

func (e *InvalidIdFormat) Error() string

func (*InvalidIdFormat) ErrorCode

func (e *InvalidIdFormat) ErrorCode() string

func (*InvalidIdFormat) ErrorFault

func (e *InvalidIdFormat) ErrorFault() smithy.ErrorFault

func (*InvalidIdFormat) ErrorMessage

func (e *InvalidIdFormat) ErrorMessage() string

type InvalidMessageContents

type InvalidMessageContents struct {
	Message *string
	// contains filtered or unexported fields
}

The message contains characters outside the allowed set.

func (*InvalidMessageContents) Error

func (e *InvalidMessageContents) Error() string

func (*InvalidMessageContents) ErrorCode

func (e *InvalidMessageContents) ErrorCode() string

func (*InvalidMessageContents) ErrorFault

func (e *InvalidMessageContents) ErrorFault() smithy.ErrorFault

func (*InvalidMessageContents) ErrorMessage

func (e *InvalidMessageContents) ErrorMessage() string

type Message

type Message struct {

	// A map of the attributes requested in ReceiveMessage to their respective values.
	// Supported attributes:
	//
	// * ApproximateReceiveCount
	//
	// *
	// ApproximateFirstReceiveTimestamp
	//
	// * MessageDeduplicationId
	//
	// * MessageGroupId
	//
	// *
	// SenderId
	//
	// * SentTimestamp
	//
	// * SequenceNumber
	//
	// ApproximateFirstReceiveTimestamp
	// and SentTimestamp are each returned as an integer representing the epoch time
	// (http://en.wikipedia.org/wiki/Unix_time) in milliseconds.
	Attributes map[string]string

	// The message's contents (not URL-encoded).
	Body *string

	// An MD5 digest of the non-URL-encoded message body string.
	MD5OfBody *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).
	MD5OfMessageAttributes *string

	// Each message attribute consists of a Name, Type, and Value. For more
	// information, see Amazon SQS message attributes
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes)
	// in the Amazon SQS Developer Guide.
	MessageAttributes map[string]MessageAttributeValue

	// A unique identifier for the message. A MessageIdis considered unique across all
	// Amazon Web Services accounts for an extended period of time.
	MessageId *string

	// An identifier associated with the act of receiving the message. A new receipt
	// handle is returned every time you receive a message. When deleting a message,
	// you provide the last received receipt handle to delete the message.
	ReceiptHandle *string
	// contains filtered or unexported fields
}

An Amazon SQS message.

type MessageAttributeValue

type MessageAttributeValue struct {

	// Amazon SQS supports the following logical data types: String, Number, and
	// Binary. For the Number data type, you must use StringValue. You can also append
	// custom labels. For more information, see Amazon SQS Message Attributes
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes)
	// in the Amazon SQS Developer Guide.
	//
	// This member is required.
	DataType *string

	// Not implemented. Reserved for future use.
	BinaryListValues [][]byte

	// Binary type attributes can store any binary data, such as compressed data,
	// encrypted data, or images.
	BinaryValue []byte

	// Not implemented. Reserved for future use.
	StringListValues []string

	// Strings are Unicode with UTF-8 binary encoding. For a list of code values, see
	// ASCII Printable Characters
	// (http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters).
	StringValue *string
	// contains filtered or unexported fields
}

The user-specified message attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.Name, type, value and the message body must not be empty or null. All parts of the message attribute, including Name, Type, and Value, are part of the message size restriction (256 KB or 262,144 bytes).

type MessageNotInflight

type MessageNotInflight struct {
	Message *string
	// contains filtered or unexported fields
}

The specified message isn't in flight.

func (*MessageNotInflight) Error

func (e *MessageNotInflight) Error() string

func (*MessageNotInflight) ErrorCode

func (e *MessageNotInflight) ErrorCode() string

func (*MessageNotInflight) ErrorFault

func (e *MessageNotInflight) ErrorFault() smithy.ErrorFault

func (*MessageNotInflight) ErrorMessage

func (e *MessageNotInflight) ErrorMessage() string

type MessageSystemAttributeName

type MessageSystemAttributeName string
const (
	MessageSystemAttributeNameSenderId                         MessageSystemAttributeName = "SenderId"
	MessageSystemAttributeNameSentTimestamp                    MessageSystemAttributeName = "SentTimestamp"
	MessageSystemAttributeNameApproximateReceiveCount          MessageSystemAttributeName = "ApproximateReceiveCount"
	MessageSystemAttributeNameApproximateFirstReceiveTimestamp MessageSystemAttributeName = "ApproximateFirstReceiveTimestamp"
	MessageSystemAttributeNameSequenceNumber                   MessageSystemAttributeName = "SequenceNumber"
	MessageSystemAttributeNameMessageDeduplicationId           MessageSystemAttributeName = "MessageDeduplicationId"
	MessageSystemAttributeNameMessageGroupId                   MessageSystemAttributeName = "MessageGroupId"
	MessageSystemAttributeNameAWSTraceHeader                   MessageSystemAttributeName = "AWSTraceHeader"
)

Enum values for MessageSystemAttributeName

func (MessageSystemAttributeName) Values added in v0.29.0

Values returns all known values for MessageSystemAttributeName. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type MessageSystemAttributeNameForSends

type MessageSystemAttributeNameForSends string
const (
	MessageSystemAttributeNameForSendsAWSTraceHeader MessageSystemAttributeNameForSends = "AWSTraceHeader"
)

Enum values for MessageSystemAttributeNameForSends

func (MessageSystemAttributeNameForSends) Values added in v0.29.0

Values returns all known values for MessageSystemAttributeNameForSends. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type MessageSystemAttributeValue

type MessageSystemAttributeValue struct {

	// Amazon SQS supports the following logical data types: String, Number, and
	// Binary. For the Number data type, you must use StringValue. You can also append
	// custom labels. For more information, see Amazon SQS Message Attributes
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes)
	// in the Amazon SQS Developer Guide.
	//
	// This member is required.
	DataType *string

	// Not implemented. Reserved for future use.
	BinaryListValues [][]byte

	// Binary type attributes can store any binary data, such as compressed data,
	// encrypted data, or images.
	BinaryValue []byte

	// Not implemented. Reserved for future use.
	StringListValues []string

	// Strings are Unicode with UTF-8 binary encoding. For a list of code values, see
	// ASCII Printable Characters
	// (http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters).
	StringValue *string
	// contains filtered or unexported fields
}

The user-specified message system attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.Name, type, value and the message body must not be empty or null.

type OverLimit

type OverLimit struct {
	Message *string
	// contains filtered or unexported fields
}

The specified action violates a limit. For example, ReceiveMessage returns this error if the maximum number of inflight messages is reached and AddPermission returns this error if the maximum number of permissions for the queue is reached.

func (*OverLimit) Error

func (e *OverLimit) Error() string

func (*OverLimit) ErrorCode

func (e *OverLimit) ErrorCode() string

func (*OverLimit) ErrorFault

func (e *OverLimit) ErrorFault() smithy.ErrorFault

func (*OverLimit) ErrorMessage

func (e *OverLimit) ErrorMessage() string

type PurgeQueueInProgress

type PurgeQueueInProgress struct {
	Message *string
	// contains filtered or unexported fields
}

Indicates that the specified queue previously received a PurgeQueue request within the last 60 seconds (the time it can take to delete the messages in the queue).

func (*PurgeQueueInProgress) Error

func (e *PurgeQueueInProgress) Error() string

func (*PurgeQueueInProgress) ErrorCode

func (e *PurgeQueueInProgress) ErrorCode() string

func (*PurgeQueueInProgress) ErrorFault

func (e *PurgeQueueInProgress) ErrorFault() smithy.ErrorFault

func (*PurgeQueueInProgress) ErrorMessage

func (e *PurgeQueueInProgress) ErrorMessage() string

type QueueAttributeName

type QueueAttributeName string
const (
	QueueAttributeNameAll                                   QueueAttributeName = "All"
	QueueAttributeNamePolicy                                QueueAttributeName = "Policy"
	QueueAttributeNameVisibilityTimeout                     QueueAttributeName = "VisibilityTimeout"
	QueueAttributeNameMaximumMessageSize                    QueueAttributeName = "MaximumMessageSize"
	QueueAttributeNameMessageRetentionPeriod                QueueAttributeName = "MessageRetentionPeriod"
	QueueAttributeNameApproximateNumberOfMessages           QueueAttributeName = "ApproximateNumberOfMessages"
	QueueAttributeNameApproximateNumberOfMessagesNotVisible QueueAttributeName = "ApproximateNumberOfMessagesNotVisible"
	QueueAttributeNameCreatedTimestamp                      QueueAttributeName = "CreatedTimestamp"
	QueueAttributeNameLastModifiedTimestamp                 QueueAttributeName = "LastModifiedTimestamp"
	QueueAttributeNameQueueArn                              QueueAttributeName = "QueueArn"
	QueueAttributeNameApproximateNumberOfMessagesDelayed    QueueAttributeName = "ApproximateNumberOfMessagesDelayed"
	QueueAttributeNameDelaySeconds                          QueueAttributeName = "DelaySeconds"
	QueueAttributeNameReceiveMessageWaitTimeSeconds         QueueAttributeName = "ReceiveMessageWaitTimeSeconds"
	QueueAttributeNameRedrivePolicy                         QueueAttributeName = "RedrivePolicy"
	QueueAttributeNameFifoQueue                             QueueAttributeName = "FifoQueue"
	QueueAttributeNameContentBasedDeduplication             QueueAttributeName = "ContentBasedDeduplication"
	QueueAttributeNameKmsMasterKeyId                        QueueAttributeName = "KmsMasterKeyId"
	QueueAttributeNameKmsDataKeyReusePeriodSeconds          QueueAttributeName = "KmsDataKeyReusePeriodSeconds"
	QueueAttributeNameDeduplicationScope                    QueueAttributeName = "DeduplicationScope"
	QueueAttributeNameFifoThroughputLimit                   QueueAttributeName = "FifoThroughputLimit"
	QueueAttributeNameRedriveAllowPolicy                    QueueAttributeName = "RedriveAllowPolicy"
	QueueAttributeNameSqsManagedSseEnabled                  QueueAttributeName = "SqsManagedSseEnabled"
)

Enum values for QueueAttributeName

func (QueueAttributeName) Values added in v0.29.0

Values returns all known values for QueueAttributeName. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type QueueDeletedRecently

type QueueDeletedRecently struct {
	Message *string
	// contains filtered or unexported fields
}

You must wait 60 seconds after deleting a queue before you can create another queue with the same name.

func (*QueueDeletedRecently) Error

func (e *QueueDeletedRecently) Error() string

func (*QueueDeletedRecently) ErrorCode

func (e *QueueDeletedRecently) ErrorCode() string

func (*QueueDeletedRecently) ErrorFault

func (e *QueueDeletedRecently) ErrorFault() smithy.ErrorFault

func (*QueueDeletedRecently) ErrorMessage

func (e *QueueDeletedRecently) ErrorMessage() string

type QueueDoesNotExist

type QueueDoesNotExist struct {
	Message *string
	// contains filtered or unexported fields
}

The specified queue doesn't exist.

func (*QueueDoesNotExist) Error

func (e *QueueDoesNotExist) Error() string

func (*QueueDoesNotExist) ErrorCode

func (e *QueueDoesNotExist) ErrorCode() string

func (*QueueDoesNotExist) ErrorFault

func (e *QueueDoesNotExist) ErrorFault() smithy.ErrorFault

func (*QueueDoesNotExist) ErrorMessage

func (e *QueueDoesNotExist) ErrorMessage() string

type QueueNameExists

type QueueNameExists struct {
	Message *string
	// contains filtered or unexported fields
}

A queue with this name already exists. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.

func (*QueueNameExists) Error

func (e *QueueNameExists) Error() string

func (*QueueNameExists) ErrorCode

func (e *QueueNameExists) ErrorCode() string

func (*QueueNameExists) ErrorFault

func (e *QueueNameExists) ErrorFault() smithy.ErrorFault

func (*QueueNameExists) ErrorMessage

func (e *QueueNameExists) ErrorMessage() string

type ReceiptHandleIsInvalid

type ReceiptHandleIsInvalid struct {
	Message *string
	// contains filtered or unexported fields
}

The specified receipt handle isn't valid.

func (*ReceiptHandleIsInvalid) Error

func (e *ReceiptHandleIsInvalid) Error() string

func (*ReceiptHandleIsInvalid) ErrorCode

func (e *ReceiptHandleIsInvalid) ErrorCode() string

func (*ReceiptHandleIsInvalid) ErrorFault

func (e *ReceiptHandleIsInvalid) ErrorFault() smithy.ErrorFault

func (*ReceiptHandleIsInvalid) ErrorMessage

func (e *ReceiptHandleIsInvalid) ErrorMessage() string

type SendMessageBatchRequestEntry

type SendMessageBatchRequestEntry struct {

	// An identifier for a message in this batch used to communicate the result. The
	// Ids of a batch request need to be unique within a request. This identifier can
	// have up to 80 characters. The following characters are accepted: alphanumeric
	// characters, hyphens(-), and underscores (_).
	//
	// This member is required.
	Id *string

	// The body of the message.
	//
	// This member is required.
	MessageBody *string

	// The length of time, in seconds, for which a specific message is delayed. Valid
	// values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds
	// value become available for processing after the delay period is finished. If you
	// don't specify a value, the default value for the queue is applied. When you set
	// FifoQueue, you can't set DelaySeconds per message. You can set this parameter
	// only on a queue level.
	DelaySeconds int32

	// Each message attribute consists of a Name, Type, and Value. For more
	// information, see Amazon SQS message attributes
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes)
	// in the Amazon SQS Developer Guide.
	MessageAttributes map[string]MessageAttributeValue

	// This parameter applies only to FIFO (first-in-first-out) queues. The token used
	// for deduplication of messages within a 5-minute minimum deduplication interval.
	// If a message with a particular MessageDeduplicationId is sent successfully,
	// subsequent messages with the same MessageDeduplicationId are accepted
	// successfully but aren't delivered. For more information, see  Exactly-once
	// processing
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-exactly-once-processing.html)
	// in the Amazon SQS Developer Guide.
	//
	// * Every message must have a unique
	// MessageDeduplicationId,
	//
	// * You may provide a MessageDeduplicationId
	// explicitly.
	//
	// * If you aren't able to provide a MessageDeduplicationId and you
	// enable ContentBasedDeduplication for your queue, Amazon SQS uses a SHA-256 hash
	// to generate the MessageDeduplicationId using the body of the message (but not
	// the attributes of the message).
	//
	// * If you don't provide a MessageDeduplicationId
	// and the queue doesn't have ContentBasedDeduplication set, the action fails with
	// an error.
	//
	// * If the queue has ContentBasedDeduplication set, your
	// MessageDeduplicationId overrides the generated one.
	//
	// * When
	// ContentBasedDeduplication is in effect, messages with identical content sent
	// within the deduplication interval are treated as duplicates and only one copy of
	// the message is delivered.
	//
	// * If you send one message with
	// ContentBasedDeduplication enabled and then another message with a
	// MessageDeduplicationId that is the same as the one generated for the first
	// MessageDeduplicationId, the two messages are treated as duplicates and only one
	// copy of the message is delivered.
	//
	// The MessageDeduplicationId is available to
	// the consumer of the message (this can be useful for troubleshooting delivery
	// issues). If a message is sent successfully but the acknowledgement is lost and
	// the message is resent with the same MessageDeduplicationId after the
	// deduplication interval, Amazon SQS can't detect duplicate messages. Amazon SQS
	// continues to keep track of the message deduplication ID even after the message
	// is received and deleted. The length of MessageDeduplicationId is 128 characters.
	// MessageDeduplicationId can contain alphanumeric characters (a-z, A-Z, 0-9) and
	// punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using
	// MessageDeduplicationId, see Using the MessageDeduplicationId Property
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html)
	// in the Amazon SQS Developer Guide.
	MessageDeduplicationId *string

	// This parameter applies only to FIFO (first-in-first-out) queues. The tag that
	// specifies that a message belongs to a specific message group. Messages that
	// belong to the same message group are processed in a FIFO manner (however,
	// messages in different message groups might be processed out of order). To
	// interleave multiple ordered streams within a single queue, use MessageGroupId
	// values (for example, session data for multiple users). In this scenario,
	// multiple consumers can process the queue, but the session data of each user is
	// processed in a FIFO fashion.
	//
	// * You must associate a non-empty MessageGroupId
	// with a message. If you don't provide a MessageGroupId, the action fails.
	//
	// *
	// ReceiveMessage might return messages with multiple MessageGroupId values. For
	// each MessageGroupId, the messages are sorted by time sent. The caller can't
	// specify a MessageGroupId.
	//
	// The length of MessageGroupId is 128 characters. Valid
	// values: alphanumeric characters and punctuation
	// (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). For best practices of using MessageGroupId,
	// see Using the MessageGroupId Property
	// (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagegroupid-property.html)
	// in the Amazon SQS Developer Guide. MessageGroupId is required for FIFO queues.
	// You can't use it for Standard queues.
	MessageGroupId *string

	// The message system attribute to send Each message system attribute consists of a
	// Name, Type, and Value.
	//
	// * Currently, the only supported message system attribute
	// is AWSTraceHeader. Its type must be String and its value must be a correctly
	// formatted X-Ray trace header string.
	//
	// * The size of a message system attribute
	// doesn't count towards the total size of a message.
	MessageSystemAttributes map[string]MessageSystemAttributeValue
	// contains filtered or unexported fields
}

Contains the details of a single Amazon SQS message along with an Id.

type SendMessageBatchResultEntry

type SendMessageBatchResultEntry struct {

	// An identifier for the message in this batch.
	//
	// This member is required.
	Id *string

	// An MD5 digest of the non-URL-encoded message body 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).
	//
	// This member is required.
	MD5OfMessageBody *string

	// An identifier for the message.
	//
	// This member is required.
	MessageId *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).
	MD5OfMessageAttributes *string

	// An MD5 digest of the non-URL-encoded message system 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).
	MD5OfMessageSystemAttributes *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.
	SequenceNumber *string
	// contains filtered or unexported fields
}

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

type TooManyEntriesInBatchRequest

type TooManyEntriesInBatchRequest struct {
	Message *string
	// contains filtered or unexported fields
}

The batch request contains more entries than permissible.

func (*TooManyEntriesInBatchRequest) Error

func (*TooManyEntriesInBatchRequest) ErrorCode

func (e *TooManyEntriesInBatchRequest) ErrorCode() string

func (*TooManyEntriesInBatchRequest) ErrorFault

func (*TooManyEntriesInBatchRequest) ErrorMessage

func (e *TooManyEntriesInBatchRequest) ErrorMessage() string

type UnsupportedOperation

type UnsupportedOperation struct {
	Message *string
	// contains filtered or unexported fields
}

Error code 400. Unsupported operation.

func (*UnsupportedOperation) Error

func (e *UnsupportedOperation) Error() string

func (*UnsupportedOperation) ErrorCode

func (e *UnsupportedOperation) ErrorCode() string

func (*UnsupportedOperation) ErrorFault

func (e *UnsupportedOperation) ErrorFault() smithy.ErrorFault

func (*UnsupportedOperation) ErrorMessage

func (e *UnsupportedOperation) ErrorMessage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL