Пример #1
0
 /**
  * Delete Dhcp Options 
  * Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the
  * set of options you specify is currently associated with a VPC. You can disassociate
  * the set of options by associating either a new set of options or the default options with the VPC.
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DeleteDhcpOptions.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DeleteDhcpOptionsRequest request
  * or Amazon_EC2_Model_DeleteDhcpOptionsRequest object itself
  * @see Amazon_EC2_Model_DeleteDhcpOptions
  * @return Amazon_EC2_Model_DeleteDhcpOptionsResponse Amazon_EC2_Model_DeleteDhcpOptionsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function deleteDhcpOptions($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DeleteDhcpOptionsRequest) {
         require_once 'Amazon/EC2/Model/DeleteDhcpOptionsRequest.php';
         $request = new Amazon_EC2_Model_DeleteDhcpOptionsRequest($request);
     }
     require_once 'Amazon/EC2/Model/DeleteDhcpOptionsResponse.php';
     return Amazon_EC2_Model_DeleteDhcpOptionsResponse::fromXML($this->_invoke($this->_convertDeleteDhcpOptions($request)));
 }
Пример #2
0
 /**
  * Delete Dhcp Options 
  * Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the
  * set of options you specify is currently associated with a VPC. You can disassociate
  * the set of options by associating either a new set of options or the default options with the VPC.  
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DeleteDhcpOptions.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DeleteDhcpOptions request or Amazon_EC2_Model_DeleteDhcpOptions object itself
  * @see Amazon_EC2_Model_DeleteDhcpOptions
  * @return Amazon_EC2_Model_DeleteDhcpOptionsResponse Amazon_EC2_Model_DeleteDhcpOptionsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function deleteDhcpOptions($request)
 {
     require_once 'Amazon/EC2/Model/DeleteDhcpOptionsResponse.php';
     return Amazon_EC2_Model_DeleteDhcpOptionsResponse::fromXML($this->_invoke('DeleteDhcpOptions'));
 }