Esempio n. 1
0
 /**
  * Describe Reserved Instances Offerings 
  * The DescribeReservedInstancesOfferings operation describes Reserved
  * Instance offerings that are available for purchase. With Amazon EC2
  * Reserved Instances, you purchase the right to launch Amazon EC2 instances
  * for a period of time (without getting insufficient capacity errors) and
  * pay a lower usage rate for the actual time used.
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeReservedInstancesOfferings.html
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeReservedInstancesOfferingsRequest request
  * or Amazon_EC2_Model_DescribeReservedInstancesOfferingsRequest object itself
  * @see Amazon_EC2_Model_DescribeReservedInstancesOfferings
  * @return Amazon_EC2_Model_DescribeReservedInstancesOfferingsResponse Amazon_EC2_Model_DescribeReservedInstancesOfferingsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeReservedInstancesOfferings($request)
 {
     if (!$request instanceof Amazon_EC2_Model_DescribeReservedInstancesOfferingsRequest) {
         require_once 'Amazon/EC2/Model/DescribeReservedInstancesOfferingsRequest.php';
         $request = new Amazon_EC2_Model_DescribeReservedInstancesOfferingsRequest($request);
     }
     require_once 'Amazon/EC2/Model/DescribeReservedInstancesOfferingsResponse.php';
     return Amazon_EC2_Model_DescribeReservedInstancesOfferingsResponse::fromXML($this->_invoke($this->_convertDescribeReservedInstancesOfferings($request)));
 }
Esempio n. 2
0
 /**
  * Describe Reserved Instances Offerings 
  * The DescribeReservedInstancesOfferings operation describes Reserved
  * Instance offerings that are available for purchase. With Amazon EC2
  * Reserved Instances, you purchase the right to launch Amazon EC2 instances
  * for a period of time (without getting insufficient capacity errors) and
  * pay a lower usage rate for the actual time used.  
  * @see http://docs.amazonwebservices.com/AWSEC2/2009-11-30/DeveloperGuide/ApiReference-Query-DescribeReservedInstancesOfferings.html      
  * @param mixed $request array of parameters for Amazon_EC2_Model_DescribeReservedInstancesOfferings request or Amazon_EC2_Model_DescribeReservedInstancesOfferings object itself
  * @see Amazon_EC2_Model_DescribeReservedInstancesOfferings
  * @return Amazon_EC2_Model_DescribeReservedInstancesOfferingsResponse Amazon_EC2_Model_DescribeReservedInstancesOfferingsResponse
  *
  * @throws Amazon_EC2_Exception
  */
 public function describeReservedInstancesOfferings($request)
 {
     require_once 'Amazon/EC2/Model/DescribeReservedInstancesOfferingsResponse.php';
     return Amazon_EC2_Model_DescribeReservedInstancesOfferingsResponse::fromXML($this->_invoke('DescribeReservedInstancesOfferings'));
 }