Exemplo n.º 1
0
 /**
  * Describe Dhcp Options 
  * Gives you information about one or more sets of DHCP options. You can specify
  * one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options).
  * The returned information consists of:
  * - The DHCP options set ID
  * - The options
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeDhcpOptions.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeDhcpOptionsRequest request
  * or Amazon_EC2_Model_DescribeDhcpOptionsRequest object itself
  * @see Amazon_EC2_Model_DescribeDhcpOptions
  * @return Amazon_EC2_Model_DescribeDhcpOptionsResponse Amazon_EC2_Model_DescribeDhcpOptionsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeDhcpOptions($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DescribeDhcpOptionsRequest) {
         require_once 'Amazon/EC2/Model/DescribeDhcpOptionsRequest.php';
         $request = new Amazon_EC2_Model_DescribeDhcpOptionsRequest($request);
     }
     require_once 'Amazon/EC2/Model/DescribeDhcpOptionsResponse.php';
     return Amazon_EC2_Model_DescribeDhcpOptionsResponse::fromXML($this->_invoke($this->_convertDescribeDhcpOptions($request)));
 }
Exemplo n.º 2
0
 /**
  * Describe Dhcp Options 
  * Gives you information about one or more sets of DHCP options. You can specify
  * one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options).
  * The returned information consists of:
  * - The DHCP options set ID
  * - The options  
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeDhcpOptions.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeDhcpOptions request or Amazon_EC2_Model_DescribeDhcpOptions object itself
  * @see Amazon_EC2_Model_DescribeDhcpOptions
  * @return Amazon_EC2_Model_DescribeDhcpOptionsResponse Amazon_EC2_Model_DescribeDhcpOptionsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeDhcpOptions($request)
 {
     require_once 'Amazon/EC2/Model/DescribeDhcpOptionsResponse.php';
     return Amazon_EC2_Model_DescribeDhcpOptionsResponse::fromXML($this->_invoke('DescribeDhcpOptions'));
 }