You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SQS::Types::SendMessageResult

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

Overview

The MD5OfMessageBody and MessageId elements.

Instance Attribute Summary collapse

Instance Attribute Details

#md5_of_message_attributesString

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

Returns:

  • (String)


1765
1766
1767
1768
1769
1770
1771
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 1765

class SendMessageResult < Struct.new(
  :md5_of_message_body,
  :md5_of_message_attributes,
  :message_id,
  :sequence_number)
  include Aws::Structure
end

#md5_of_message_bodyString

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

Returns:

  • (String)


1765
1766
1767
1768
1769
1770
1771
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 1765

class SendMessageResult < Struct.new(
  :md5_of_message_body,
  :md5_of_message_attributes,
  :message_id,
  :sequence_number)
  include Aws::Structure
end

#message_idString

An attribute containing the MessageId of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.

Returns:

  • (String)


1765
1766
1767
1768
1769
1770
1771
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 1765

class SendMessageResult < Struct.new(
  :md5_of_message_body,
  :md5_of_message_attributes,
  :message_id,
  :sequence_number)
  include Aws::Structure
end

#sequence_numberString

This parameter applies only to FIFO (first-in-first-out) queues.

The large, non-consecutive number that Amazon SQS assigns to each message.

The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for a particular MessageGroupId.

Returns:

  • (String)


1765
1766
1767
1768
1769
1770
1771
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/types.rb', line 1765

class SendMessageResult < Struct.new(
  :md5_of_message_body,
  :md5_of_message_attributes,
  :message_id,
  :sequence_number)
  include Aws::Structure
end