![]() |
![]()
| ![]() |
![]()
NAMEAmazon::SimpleDB::Response - a class representing a generic response from the SimpleDB service. DESCRIPTIONThis 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. METHODSAmazon::SimpleDB::Response->new($args)Constructs an appropriate SimpleDB response object based on the HTTP::Response object provided. This method takes a required HASHREF with two required keys:
$res->typeA string defining the response type that is determined by the root element of the XML document that was returned. $res->http_responseReturns the HTTP::Response object used to construct this response object. $res->http_statusReturns the HTTP status code for the underlying response. $res->contentThe parsed XML contents of the response. $res->request_id$res->box_usage$res->is_success$res->is_errorSEE ALSOAmazon::SimpleDB::ErrorResponse, Amazon::SimpleDB::GetAttributesResponse, Amazon::SimpleDB::ListDomainsResponse, Amazon::SimpleDB::QueryResponse AUTHOR & COPYRIGHTPlease see the Amazon::SimpleDB manpage for author, copyright, and license information.
|