Ejemplo n.º 1
0
 /**
  * Delete Domain 
  * The DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain
  * are deleted as well. The DeleteDomain operation may take 10 or more seconds to complete.
  * 
  * @see http://docs.amazonwebservices.com/AmazonSimpleDB/2009-04-15/DeveloperGuide/SDB_API_DeleteDomain.html
  * @param mixed $request array of parameters for Amazon_SimpleDB_Model_DeleteDomainRequest request
  * or Amazon_SimpleDB_Model_DeleteDomainRequest object itself
  * @see Amazon_SimpleDB_Model_DeleteDomain
  * @return Amazon_SimpleDB_Model_DeleteDomainResponse Amazon_SimpleDB_Model_DeleteDomainResponse
  *
  * @throws Amazon_SimpleDB_Exception
  */
 public function deleteDomain($request)
 {
     if (!$request instanceof Amazon_SimpleDB_Model_DeleteDomainRequest) {
         require_once 'Amazon/SimpleDB/Model/DeleteDomainRequest.php';
         $request = new Amazon_SimpleDB_Model_DeleteDomainRequest($request);
     }
     require_once 'Amazon/SimpleDB/Model/DeleteDomainResponse.php';
     return Amazon_SimpleDB_Model_DeleteDomainResponse::fromXML($this->_invoke($this->_convertDeleteDomain($request)));
 }
Ejemplo n.º 2
0
 /**
  * Delete Domain 
  * The DeleteDomain operation deletes a domain. Any items (and their attributes) in the domain
  * are deleted as well. The DeleteDomain operation may take 10 or more seconds to complete.
  *   
  * @see http://docs.amazonwebservices.com/AmazonSimpleDB/2009-04-15/DeveloperGuide/SDB_API_DeleteDomain.html      
  * @param mixed $request array of parameters for Amazon_SimpleDB_Model_DeleteDomain request or Amazon_SimpleDB_Model_DeleteDomain object itself
  * @see Amazon_SimpleDB_Model_DeleteDomain
  * @return Amazon_SimpleDB_Model_DeleteDomainResponse Amazon_SimpleDB_Model_DeleteDomainResponse
  *
  * @throws Amazon_SimpleDB_Exception
  */
 public function deleteDomain($request)
 {
     require_once 'Amazon/SimpleDB/Model/DeleteDomainResponse.php';
     return Amazon_SimpleDB_Model_DeleteDomainResponse::fromXML($this->_invoke('DeleteDomain'));
 }