Skip to content

MessageAttributeValue

Source code in docs_src/capo_sns/types/message_attribute_value.py
class MessageAttributeValue(TypedDict, closed=True):
    data_type: "capo_sns.types.string.String"
    """<p>Amazon SNS supports the following logical data types: String, String.Array, Number, and Binary. For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes">Message Attribute Data Types</a>.</p>"""
    string_value: NotRequired["capo_sns.types.string.String"]
    """<p>Strings are Unicode with UTF8 binary encoding. For a list of code values, see <a href="https://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">ASCII Printable Characters</a>.</p>"""
    binary_value: NotRequired["capo_sns.types.binary.Binary"]
    """<p>Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.</p>"""

binary_value instance-attribute

binary_value: NotRequired[Binary]

Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.

data_type instance-attribute

data_type: String

Amazon SNS supports the following logical data types: String, String.Array, Number, and Binary. For more information, see Message Attribute Data Types.

string_value instance-attribute

string_value: NotRequired[String]

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