Skip to content

MessageSystemAttributeValue

Structure Class

MessageSystemAttributeValue dataclass

Bases: _SerdeShape

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.

Attributes

binary_list_values class-attribute instance-attribute
binary_list_values: list[bytes] | None = ...

Not implemented. Reserved for future use.

binary_value class-attribute instance-attribute
binary_value: bytes | None = ...

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

data_type instance-attribute
data_type: str

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 class-attribute instance-attribute
string_list_values: list[str] | None = ...

Not implemented. Reserved for future use.

string_value class-attribute instance-attribute
string_value: str | None = ...

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