/**
  * Cancel Bundle Task 
  * CancelBundleTask operation cancels a pending or
  * in-progress bundling task. This is an asynchronous
  * call and it make take a while for the task to be cancelled.
  * If a task is cancelled while it is storing items,
  * there may be parts of the incomplete AMI stored in S3.
  * It is up to the caller to clean up these parts from S3.
  * 
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-CancelBundleTask.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_CancelBundleTaskRequest request
  * or Amazon_EC2_Model_CancelBundleTaskRequest object itself
  * @see Amazon_EC2_Model_CancelBundleTask
  * @return Amazon_EC2_Model_CancelBundleTaskResponse Amazon_EC2_Model_CancelBundleTaskResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function cancelBundleTask($request)
 {
     if (!$request instanceof Amazon_EC2_Model_CancelBundleTaskRequest) {
         require_once 'Amazon/EC2/Model/CancelBundleTaskRequest.php';
         $request = new Amazon_EC2_Model_CancelBundleTaskRequest($request);
     }
     require_once 'Amazon/EC2/Model/CancelBundleTaskResponse.php';
     return Amazon_EC2_Model_CancelBundleTaskResponse::fromXML($this->_invoke($this->_convertCancelBundleTask($request)));
 }
 /**
  * Cancel Bundle Task 
  * CancelBundleTask operation cancels a pending or
  * in-progress bundling task. This is an asynchronous
  * call and it make take a while for the task to be cancelled.
  * If a task is cancelled while it is storing items,
  * there may be parts of the incomplete AMI stored in S3.
  * It is up to the caller to clean up these parts from S3.
  *   
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-CancelBundleTask.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_CancelBundleTask request or Amazon_EC2_Model_CancelBundleTask object itself
  * @see Amazon_EC2_Model_CancelBundleTask
  * @return Amazon_EC2_Model_CancelBundleTaskResponse Amazon_EC2_Model_CancelBundleTaskResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function cancelBundleTask($request)
 {
     require_once 'Amazon/EC2/Model/CancelBundleTaskResponse.php';
     return Amazon_EC2_Model_CancelBundleTaskResponse::fromXML($this->_invoke('CancelBundleTask'));
 }