Ejemplo n.º 1
0
 /**
  * Delete Spot Datafeed Subscription 
  * Deletes the data feed for spot instances.
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DeleteSpotDatafeedSubscription.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionRequest request
  * or Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionRequest object itself
  * @see Amazon_EC2_Model_DeleteSpotDatafeedSubscription
  * @return Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionResponse Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function deleteSpotDatafeedSubscription($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionRequest) {
         require_once 'Amazon/EC2/Model/DeleteSpotDatafeedSubscriptionRequest.php';
         $request = new Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionRequest($request);
     }
     require_once 'Amazon/EC2/Model/DeleteSpotDatafeedSubscriptionResponse.php';
     return Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionResponse::fromXML($this->_invoke($this->_convertDeleteSpotDatafeedSubscription($request)));
 }
Ejemplo n.º 2
0
 /**
  * Delete Spot Datafeed Subscription 
  * Deletes the data feed for spot instances.  
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DeleteSpotDatafeedSubscription.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DeleteSpotDatafeedSubscription request or Amazon_EC2_Model_DeleteSpotDatafeedSubscription object itself
  * @see Amazon_EC2_Model_DeleteSpotDatafeedSubscription
  * @return Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionResponse Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function deleteSpotDatafeedSubscription($request)
 {
     require_once 'Amazon/EC2/Model/DeleteSpotDatafeedSubscriptionResponse.php';
     return Amazon_EC2_Model_DeleteSpotDatafeedSubscriptionResponse::fromXML($this->_invoke('DeleteSpotDatafeedSubscription'));
 }