package types
import "github.com/aws/aws-sdk-go-v2/service/sqs/types"
Index ¶
- type BatchEntryIdsNotDistinct
- func (e *BatchEntryIdsNotDistinct) Error() string
- func (e *BatchEntryIdsNotDistinct) ErrorCode() string
- func (e *BatchEntryIdsNotDistinct) ErrorFault() smithy.ErrorFault
- func (e *BatchEntryIdsNotDistinct) ErrorMessage() string
- type BatchRequestTooLong
- func (e *BatchRequestTooLong) Error() string
- func (e *BatchRequestTooLong) ErrorCode() string
- func (e *BatchRequestTooLong) ErrorFault() smithy.ErrorFault
- func (e *BatchRequestTooLong) ErrorMessage() string
- type BatchResultErrorEntry
- type ChangeMessageVisibilityBatchRequestEntry
- type ChangeMessageVisibilityBatchResultEntry
- type DeleteMessageBatchRequestEntry
- type DeleteMessageBatchResultEntry
- type EmptyBatchRequest
- func (e *EmptyBatchRequest) Error() string
- func (e *EmptyBatchRequest) ErrorCode() string
- func (e *EmptyBatchRequest) ErrorFault() smithy.ErrorFault
- func (e *EmptyBatchRequest) ErrorMessage() string
- type InvalidAttributeName
- func (e *InvalidAttributeName) Error() string
- func (e *InvalidAttributeName) ErrorCode() string
- func (e *InvalidAttributeName) ErrorFault() smithy.ErrorFault
- func (e *InvalidAttributeName) ErrorMessage() string
- type InvalidBatchEntryId
- func (e *InvalidBatchEntryId) Error() string
- func (e *InvalidBatchEntryId) ErrorCode() string
- func (e *InvalidBatchEntryId) ErrorFault() smithy.ErrorFault
- func (e *InvalidBatchEntryId) ErrorMessage() string
- type InvalidIdFormat
- func (e *InvalidIdFormat) Error() string
- func (e *InvalidIdFormat) ErrorCode() string
- func (e *InvalidIdFormat) ErrorFault() smithy.ErrorFault
- func (e *InvalidIdFormat) ErrorMessage() string
- type InvalidMessageContents
- func (e *InvalidMessageContents) Error() string
- func (e *InvalidMessageContents) ErrorCode() string
- func (e *InvalidMessageContents) ErrorFault() smithy.ErrorFault
- func (e *InvalidMessageContents) ErrorMessage() string
- type Message
- type MessageAttributeValue
- type MessageNotInflight
- func (e *MessageNotInflight) Error() string
- func (e *MessageNotInflight) ErrorCode() string
- func (e *MessageNotInflight) ErrorFault() smithy.ErrorFault
- func (e *MessageNotInflight) ErrorMessage() string
- type MessageSystemAttributeName
- type MessageSystemAttributeNameForSends
- type MessageSystemAttributeValue
- type OverLimit
- func (e *OverLimit) Error() string
- func (e *OverLimit) ErrorCode() string
- func (e *OverLimit) ErrorFault() smithy.ErrorFault
- func (e *OverLimit) ErrorMessage() string
- type PurgeQueueInProgress
- func (e *PurgeQueueInProgress) Error() string
- func (e *PurgeQueueInProgress) ErrorCode() string
- func (e *PurgeQueueInProgress) ErrorFault() smithy.ErrorFault
- func (e *PurgeQueueInProgress) ErrorMessage() string
- type QueueAttributeName
- type QueueDeletedRecently
- func (e *QueueDeletedRecently) Error() string
- func (e *QueueDeletedRecently) ErrorCode() string
- func (e *QueueDeletedRecently) ErrorFault() smithy.ErrorFault
- func (e *QueueDeletedRecently) ErrorMessage() string
- type QueueDoesNotExist
- func (e *QueueDoesNotExist) Error() string
- func (e *QueueDoesNotExist) ErrorCode() string
- func (e *QueueDoesNotExist) ErrorFault() smithy.ErrorFault
- func (e *QueueDoesNotExist) ErrorMessage() string
- type QueueNameExists
- func (e *QueueNameExists) Error() string
- func (e *QueueNameExists) ErrorCode() string
- func (e *QueueNameExists) ErrorFault() smithy.ErrorFault
- func (e *QueueNameExists) ErrorMessage() string
- type ReceiptHandleIsInvalid
- func (e *ReceiptHandleIsInvalid) Error() string
- func (e *ReceiptHandleIsInvalid) ErrorCode() string
- func (e *ReceiptHandleIsInvalid) ErrorFault() smithy.ErrorFault
- func (e *ReceiptHandleIsInvalid) ErrorMessage() string
- type SendMessageBatchRequestEntry
- type SendMessageBatchResultEntry
- type TooManyEntriesInBatchRequest
- func (e *TooManyEntriesInBatchRequest) Error() string
- func (e *TooManyEntriesInBatchRequest) ErrorCode() string
- func (e *TooManyEntriesInBatchRequest) ErrorFault() smithy.ErrorFault
- func (e *TooManyEntriesInBatchRequest) ErrorMessage() string
- type UnsupportedOperation
Types ¶
type BatchEntryIdsNotDistinct ¶
type BatchEntryIdsNotDistinct struct { Message *string }
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 }
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 }
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 }
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 }
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 }
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 }
Encloses the Id of an entry in DeleteMessageBatch.
type EmptyBatchRequest ¶
type EmptyBatchRequest struct { Message *string }
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 }
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 }
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 }
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 }
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-attributes.html) // in the Amazon Simple Queue Service Developer Guide. MessageAttributes map[string]*MessageAttributeValue // A unique identifier for the message. A MessageIdis considered unique across all // AWS 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 }
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-attributes.html) // in the Amazon Simple Queue Service 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 }
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 }
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
type MessageSystemAttributeNameForSends ¶
type MessageSystemAttributeNameForSends string
const ( MessageSystemAttributeNameForSendsAwstraceheader MessageSystemAttributeNameForSends = "AWSTraceHeader" )
Enum values for MessageSystemAttributeNameForSends
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-attributes.html) // in the Amazon Simple Queue Service 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 }
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 }
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 (*OverLimit) ErrorCode ¶
func (*OverLimit) ErrorFault ¶
func (e *OverLimit) ErrorFault() smithy.ErrorFault
func (*OverLimit) ErrorMessage ¶
type PurgeQueueInProgress ¶
type PurgeQueueInProgress struct { Message *string }
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" )
Enum values for QueueAttributeName
type QueueDeletedRecently ¶
type QueueDeletedRecently struct { Message *string }
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 }
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 }
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 }
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-attributes.html) // in the Amazon Simple Queue Service 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.html#FIFO-queues-exactly-once-processing) // in the Amazon Simple Queue Service 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 Simple Queue Service 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 Simple Queue Service 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 AWS 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 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 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). // // 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 }
Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch.
type TooManyEntriesInBatchRequest ¶
type TooManyEntriesInBatchRequest struct { Message *string }
The batch request contains more entries than permissible.
func (*TooManyEntriesInBatchRequest) Error ¶
func (e *TooManyEntriesInBatchRequest) Error() string
func (*TooManyEntriesInBatchRequest) ErrorCode ¶
func (e *TooManyEntriesInBatchRequest) ErrorCode() string
func (*TooManyEntriesInBatchRequest) ErrorFault ¶
func (e *TooManyEntriesInBatchRequest) ErrorFault() smithy.ErrorFault
func (*TooManyEntriesInBatchRequest) ErrorMessage ¶
func (e *TooManyEntriesInBatchRequest) ErrorMessage() string
type UnsupportedOperation ¶
type UnsupportedOperation struct { Message *string }
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
Source Files ¶
- Version
- v0.27.0
- Published
- Oct 17, 2020
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 7 hours ago –
Tools for package owners.