Method: AWS::SQS::ReceivedSNSMessage#raw_message

Defined in:
lib/aws/sqs/received_sns_message.rb

#raw_messageString

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.

Returns:

  • (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.



36
37
38
# File 'lib/aws/sqs/received_sns_message.rb', line 36

def raw_message
  @body
end