Skip to content

Message

async_boto.validation.sqs.data_types.message

Message

Bases: BaseModel

An Amazon SQS message.

ATTRIBUTE DESCRIPTION
Attributes

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 in milliseconds.

TYPE: Optional[Dict[str, str]]

Body

The message's contents (not URL-encoded).

TYPE: Optional[str]

MD5OfBody

An MD5 digest of the non-URL-encoded message body string.

TYPE: Optional[str]

MD5OfMessageAttributes

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.

TYPE: Optional[str]

MessageAttributes

Each message attribute consists of a Name, Type, and Value.

TYPE: Optional[Dict[str, MessageAttributeValue]]

MessageId

A unique identifier for the message. A MessageId is considered unique across all AWS accounts for an extended period of time.

TYPE: Optional[str]

ReceiptHandle

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.

TYPE: Optional[str]

Attributes class-attribute instance-attribute

Attributes = None

Body class-attribute instance-attribute

Body = None

MD5OfBody class-attribute instance-attribute

MD5OfBody = None

MD5OfMessageAttributes class-attribute instance-attribute

MD5OfMessageAttributes = None

MessageAttributes class-attribute instance-attribute

MessageAttributes = None

MessageId class-attribute instance-attribute

MessageId = None

ReceiptHandle class-attribute instance-attribute

ReceiptHandle = None