/**
  * Deregister Image 
  * The DeregisterImage operation deregisters an AMI. Once deregistered, instances
  * of the AMI can no longer be launched.
  * 
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-DeregisterImage.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DeregisterImageRequest request
  * or Amazon_EC2_Model_DeregisterImageRequest object itself
  * @see Amazon_EC2_Model_DeregisterImage
  * @return Amazon_EC2_Model_DeregisterImageResponse Amazon_EC2_Model_DeregisterImageResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function deregisterImage($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DeregisterImageRequest) {
         require_once 'Amazon/EC2/Model/DeregisterImageRequest.php';
         $request = new Amazon_EC2_Model_DeregisterImageRequest($request);
     }
     require_once 'Amazon/EC2/Model/DeregisterImageResponse.php';
     return Amazon_EC2_Model_DeregisterImageResponse::fromXML($this->_invoke($this->_convertDeregisterImage($request)));
 }
 /**
  * Deregister Image 
  * The DeregisterImage operation deregisters an AMI. Once deregistered, instances
  * of the AMI can no longer be launched.
  *   
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-DeregisterImage.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DeregisterImage request or Amazon_EC2_Model_DeregisterImage object itself
  * @see Amazon_EC2_Model_DeregisterImage
  * @return Amazon_EC2_Model_DeregisterImageResponse Amazon_EC2_Model_DeregisterImageResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function deregisterImage($request)
 {
     require_once 'Amazon/EC2/Model/DeregisterImageResponse.php';
     return Amazon_EC2_Model_DeregisterImageResponse::fromXML($this->_invoke('DeregisterImage'));
 }