Packagecom.amazonaws.services.sqs.model
Classpublic class SendMessageResult
InheritanceSendMessageResult Inheritance AmazonWebServiceResult Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : February 1. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Container for the 'SendMessage operation' response parameters.



Public Properties
 PropertyDefined By
 InheritedrawData : Object
Gets received raw data (XML format).
AmazonWebServiceResult
Public Methods
 MethodDefined By
  
SendMessageResult
  
An MD5 digest of the non-URL-encoded message body string.
SendMessageResult
  
getMessageId():String
The message ID of the message sent to the queue.
SendMessageResult
 Inherited
getRequestId():String
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
parse(data:Object = null):ResponseResult
[override] Returns parsed XML data from AWS response.
SendMessageResult
  
setMD5OfMessageBody(mD5OfMessageBody:String):void
An MD5 digest of the non-URL-encoded message body string.
SendMessageResult
  
setMessageId(messageId:String):void
The message ID of the message sent to the queue.
SendMessageResult
 Inherited
setRequestId(requestId:String):void
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
  
toString():String
[override] Returns a string representation of this object; useful for testing and debugging.
SendMessageResult
  
withMD5OfMessageBody(mD5OfMessageBody:String):SendMessageResult
An MD5 digest of the non-URL-encoded message body string.
SendMessageResult
  
The message ID of the message sent to the queue.
SendMessageResult
 Inherited
withRawData(rawData:Object):ResponseResult
Sets new raw data.
AmazonWebServiceResult
 Inherited
withRequestId(requestId:String):ResponseResult
The AWS request ID that uniquely identifies the service request the caller made.
AmazonWebServiceResult
Constructor Detail
SendMessageResult()Constructor
public function SendMessageResult()

Method Detail
getMD5OfMessageBody()method
public function getMD5OfMessageBody():String

An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.

Returns
String — An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.

See also

getMessageId()method 
public function getMessageId():String

The message ID of the message sent to the queue.

Returns
String — The message ID of the message sent to the queue.
parse()method 
override public final function parse(data:Object = null):ResponseResult

Returns parsed XML data from AWS response.

Parameters

data:Object (default = null) — data raw data to be parsed

Returns
ResponseResult — A reference to this updated object so that method calls can be chained together.

Throws
SyntaxError — if AWS namespace not available in XML response
setMD5OfMessageBody()method 
public function setMD5OfMessageBody(mD5OfMessageBody:String):void

An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.

Parameters

mD5OfMessageBody:String — An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.

See also

setMessageId()method 
public function setMessageId(messageId:String):void

The message ID of the message sent to the queue.

Parameters

messageId:String — The message ID of the message sent to the queue.

toString()method 
override public function toString():String

Returns a string representation of this object; useful for testing and debugging.

Returns
String — A string representation of this object.
withMD5OfMessageBody()method 
public function withMD5OfMessageBody(mD5OfMessageBody:String):SendMessageResult

An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html. Returns a reference to this object so that method calls can be chained together.

Parameters

mD5OfMessageBody:String — An MD5 digest of the non-URL-encoded message body string. This can be used to verify that SQS received the message correctly. SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://faqs.org/rfcs/rfc1321.html.

Returns
SendMessageResult — A reference to this updated object so that method calls can be chained together.

See also

withMessageId()method 
public function withMessageId(messageId:String):SendMessageResult

The message ID of the message sent to the queue. Returns a reference to this object so that method calls can be chained together.

Parameters

messageId:String — The message ID of the message sent to the queue.

Returns
SendMessageResult — A reference to this updated object so that method calls can be chained together.