예제 #1
0
 /**
  * Describe Bundle Tasks 
  * The DescribeBundleTasks operation describes in-progress
  * and recent bundle tasks. Complete and failed tasks are
  * removed from the list a short time after completion.
  * If no bundle ids are given, all bundle tasks are returned.
  * 
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-DescribeBundleTasks.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeBundleTasksRequest request
  * or Amazon_EC2_Model_DescribeBundleTasksRequest object itself
  * @see Amazon_EC2_Model_DescribeBundleTasks
  * @return Amazon_EC2_Model_DescribeBundleTasksResponse Amazon_EC2_Model_DescribeBundleTasksResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeBundleTasks($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DescribeBundleTasksRequest) {
         require_once 'Amazon/EC2/Model/DescribeBundleTasksRequest.php';
         $request = new Amazon_EC2_Model_DescribeBundleTasksRequest($request);
     }
     require_once 'Amazon/EC2/Model/DescribeBundleTasksResponse.php';
     return Amazon_EC2_Model_DescribeBundleTasksResponse::fromXML($this->_invoke($this->_convertDescribeBundleTasks($request)));
 }
예제 #2
0
 /**
  * Describe Bundle Tasks 
  * The DescribeBundleTasks operation describes in-progress
  * and recent bundle tasks. Complete and failed tasks are
  * removed from the list a short time after completion.
  * If no bundle ids are given, all bundle tasks are returned.
  *   
  * @see http://docs.amazonwebservices.com/AWSEC2/2008-12-01/DeveloperGuide/ApiReference-Query-DescribeBundleTasks.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeBundleTasks request or Amazon_EC2_Model_DescribeBundleTasks object itself
  * @see Amazon_EC2_Model_DescribeBundleTasks
  * @return Amazon_EC2_Model_DescribeBundleTasksResponse Amazon_EC2_Model_DescribeBundleTasksResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeBundleTasks($request)
 {
     require_once 'Amazon/EC2/Model/DescribeBundleTasksResponse.php';
     return Amazon_EC2_Model_DescribeBundleTasksResponse::fromXML($this->_invoke('DescribeBundleTasks'));
 }