Class: Aws::SQS::Types::MessageSystemAttributeValue

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sqs/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#binary_list_valuesArray<String>

Not implemented. Reserved for future use.

Returns:

  • (Array<String>)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'lib/aws-sdk-sqs/types.rb', line 1538

class MessageSystemAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :string_list_values,
  :binary_list_values,
  :data_type)
  SENSITIVE = []
  include Aws::Structure
end

#binary_valueString

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

Returns:

  • (String)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'lib/aws-sdk-sqs/types.rb', line 1538

class MessageSystemAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :string_list_values,
  :binary_list_values,
  :data_type)
  SENSITIVE = []
  include Aws::Structure
end

#data_typeString

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*.

[1]: docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes

Returns:

  • (String)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'lib/aws-sdk-sqs/types.rb', line 1538

class MessageSystemAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :string_list_values,
  :binary_list_values,
  :data_type)
  SENSITIVE = []
  include Aws::Structure
end

#string_list_valuesArray<String>

Not implemented. Reserved for future use.

Returns:

  • (Array<String>)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'lib/aws-sdk-sqs/types.rb', line 1538

class MessageSystemAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :string_list_values,
  :binary_list_values,
  :data_type)
  SENSITIVE = []
  include Aws::Structure
end

#string_valueString

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

[1]: en.wikipedia.org/wiki/ASCII#ASCII_printable_characters

Returns:

  • (String)


1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'lib/aws-sdk-sqs/types.rb', line 1538

class MessageSystemAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :string_list_values,
  :binary_list_values,
  :data_type)
  SENSITIVE = []
  include Aws::Structure
end