Skip to content

MessageAttributeValueDict

Dictionary Type

MessageAttributeValueDict

Bases: TypedDict

Dictionary form of MessageAttributeValue.

Attributes

binary_value instance-attribute
binary_value: bytes | None

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

data_type instance-attribute
data_type: Required[str]

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: str | None

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