Class AWS::SQS::ReceivedSNSMessage
In: lib/aws/sqs/received_sns_message.rb
Parent: Object

Represents message published from an {SNS::Topic} to an {SQS::Queue}.

Methods

Included Modules

Core::Model

Public Class methods

@param [String] body The SQS message body

  from a message published by SNS.

@param [Hash] options

Public Instance methods

@return[String] Returns the decoded message as was published.

@return [Hash] Returns the decoded message body as a hash.

@return [String] Returns the unique id of the SNS message.

@return [String] Returns the message type.

@return [Time] Returns the time the message was published at by SNS.

  by SNS.

@return [String] Returns the JSON hash (as a string) as was

  published by SNS.  See {#body} to get the decoded message
  or {#to_h} to get the decoded JSON hash as a ruby hash.

@return [String] Returns the calculated signature for the message.

@return [String] Returns the signature version.

@return [String] Returns the url for the signing cert.

@return [Hash] Returns the decoded message as a hash.

@return [SNS::Topic] Returns the topic that published this message.

@return [String] Returns the ARN for the topic that published this

  message.

@return [String] Returns the url you can request to unsubscribe message

  from this queue.

[Validate]