class Aws::SQS::Types::MessageAttributeValue
The user-specified message 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. All parts of the message attribute, including `Name`, `Type`, and `Value`, are part of the message size restriction (256 KB or 262,144 bytes).
@note When making an API call, you may pass MessageAttributeValue
data as a hash: { string_value: "String", binary_value: "data", string_list_values: ["String"], binary_list_values: ["data"], data_type: "String", # required }
@!attribute [rw] string_value
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see [ASCII Printable Characters][1]. [1]: http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters @return [String]
@!attribute [rw] binary_value
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images. @return [String]
@!attribute [rw] string_list_values
Not implemented. Reserved for future use. @return [Array<String>]
@!attribute [rw] binary_list_values
Not implemented. Reserved for future use. @return [Array<String>]
@!attribute [rw] data_type
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][1] in the *Amazon SQS Developer Guide*. [1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes @return [String]
@see docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/MessageAttributeValue AWS API Documentation
Constants
- SENSITIVE