class
Amazonite::Sqs::MessageAttributeValue
- Amazonite::Sqs::MessageAttributeValue
- Reference
- Object
Overview
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 (1
MiB or 1,048,576 bytes).
Included Modules
- JSON::Serializable
Defined in:
sqs/message_attribute_value.crConstructors
- .new(pull : JSON::PullParser)
- .new(data_type : String, string_value : String | Nil = nil, binary_value : Bytes | Nil = nil, string_list_values : Array(String) | Nil = nil, binary_list_values : Array(Bytes) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#binary_list_values : Array(Bytes) | Nil
Not implemented.
-
#binary_list_values=(binary_list_values : Array(Bytes) | Nil)
Not implemented.
-
#binary_value : Bytes | Nil
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
-
#binary_value=(binary_value : Bytes | Nil)
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
-
#data_type : String
Amazon SQS supports the following logical data types:
String,Number, andBinary. -
#data_type=(data_type : String)
Amazon SQS supports the following logical data types:
String,Number, andBinary. -
#hash(hasher)
See
Object#hash(hasher) -
#string_list_values : Array(String) | Nil
Not implemented.
-
#string_list_values=(string_list_values : Array(String) | Nil)
Not implemented.
-
#string_value : String | Nil
Strings are Unicode with UTF-8 binary encoding.
-
#string_value=(string_value : String | Nil)
Strings are Unicode with UTF-8 binary encoding.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Not implemented. Reserved for future use.
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.
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.
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.
Not implemented. Reserved for future use.
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.