class Amazonite::Sqs::MessageSystemAttributeValue

Overview

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.

Included Modules

Defined in:

sqs/message_system_attribute_value.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def binary_list_values : Array(Bytes) | Nil #

Not implemented. Reserved for future use.


[View source]
def binary_list_values=(binary_list_values : Array(Bytes) | Nil) #

Not implemented. Reserved for future use.


[View source]
def binary_value : Bytes | Nil #

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


[View source]
def binary_value=(binary_value : Bytes | Nil) #

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


[View source]
def data_type : String #

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.


[View source]
def data_type=(data_type : String) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def string_list_values : Array(String) | Nil #

Not implemented. Reserved for future use.


[View source]
def string_list_values=(string_list_values : Array(String) | Nil) #

Not implemented. Reserved for future use.


[View source]
def string_value : String | Nil #

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


[View source]
def string_value=(string_value : String | Nil) #

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


[View source]
def validate! : Nil #

[View source]