Skip to content

MessageAttributeValue

Source code in docs_src/capo_sqs/types/message_attribute_value.py
class MessageAttributeValue(TypedDict, closed=True):
    string_value: NotRequired["capo_sqs.types.string.String"]
    """<p>Strings are Unicode with UTF-8 binary encoding. For a list of code values, see <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">ASCII Printable Characters</a>.</p>"""
    binary_value: NotRequired["capo_sqs.types.binary.Binary"]
    """<p>Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.</p>"""
    string_list_values: NotRequired["capo_sqs.types.string_list.StringList"]
    """<p>Not implemented. Reserved for future use.</p>"""
    binary_list_values: NotRequired["capo_sqs.types.binary_list.BinaryList"]
    """<p>Not implemented. Reserved for future use.</p>"""
    data_type: "capo_sqs.types.string.String"
    """<p>Amazon SQS supports the following logical data types: <code>String</code>, <code>Number</code>, and <code>Binary</code>. For the <code>Number</code> data type, you must use <code>StringValue</code>.</p> <p>You can also append custom labels. For more information, see <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes">Amazon SQS Message Attributes</a> in the <i>Amazon SQS Developer Guide</i>.</p>"""

binary_list_values instance-attribute

binary_list_values: NotRequired[BinaryList]

Not implemented. Reserved for future use.

binary_value instance-attribute

binary_value: NotRequired[Binary]

Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.

data_type instance-attribute

data_type: String

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 in the Amazon SQS Developer Guide.

string_list_values instance-attribute

string_list_values: NotRequired[StringList]

Not implemented. Reserved for future use.

string_value instance-attribute

string_value: NotRequired[String]

Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.