| Amazon-SimpleDB documentation | view source | Contained in the Amazon-SimpleDB distribution. |
Amazon::SimpleDB::Response - a class representing a generic response from the SimpleDB service.
This is code is in the early stages of development. Do not consider it stable. Feedback and patches welcome.
This is a generic response class for the results of any request that does not require special handling. The class is the base class to specialized response classes such as Amazon::ErrorResponse and Amazon::QueryResponse.
Constructs an appropriate SimpleDB response object based on the HTTP::Response object provided. This method takes a required HASHREF with two required keys:
A HTTP::Response object or subclass this response from a request to the service.
A reference to the Amazon::SimpleDB account object this response is associated to.
A string defining the response type that is determined by the root element of the XML document that was returned.
Returns the HTTP::Response object used to construct this response object.
Returns the HTTP status code for the underlying response.
The parsed XML contents of the response.
Amazon::SimpleDB::ErrorResponse, Amazon::SimpleDB::GetAttributesResponse, Amazon::SimpleDB::ListDomainsResponse, Amazon::SimpleDB::QueryResponse
Please see the Amazon::SimpleDB manpage for author, copyright, and license information.
| Amazon-SimpleDB documentation | view source | Contained in the Amazon-SimpleDB distribution. |