Zend Framework  1.12
Public Member Functions | List of all members
Zend_Service_Amazon_Ec2_Instance_Reserved Class Reference

Public Member Functions

 describeInstances ($instanceId)
 Describes Reserved Instances that you purchased.
 
 describeOfferings ()
 Describes Reserved Instance offerings that are available for purchase.
 
 purchaseOffering ($offeringId, $intanceCount=1)
 Purchases a Reserved Instance for use with your account.
 
- Public Member Functions inherited from Zend_Service_Amazon_Ec2_Abstract
 __construct ($accessKey=null, $secretKey=null, $region=null)
 Create Amazon client.
 
- Public Member Functions inherited from Zend_Service_Amazon_Abstract
 __construct ($accessKey=null, $secretKey=null)
 Create Amazon client.
 

Additional Inherited Members

- Static Public Member Functions inherited from Zend_Service_Amazon_Ec2_Abstract
static setRegion ($region)
 Set which region you are working in.
 
- Protected Member Functions inherited from Zend_Service_Amazon_Ec2_Abstract
 _getRegion ()
 Method to fetch the AWS Region.
 
 sendRequest (array $params=array())
 Sends a HTTP request to the queue service using Zend_Http_Client.
 
 addRequiredParameters (array $parameters)
 Adds required authentication and version parameters to an array of parameters.
 
 signParameters (array $paramaters)
 Computes the RFC 2104-compliant HMAC signature for request parameters.
 
- Protected Attributes inherited from Zend_Service_Amazon_Ec2_Abstract
 $_ec2Endpoint = 'ec2.amazonaws.com'
 The HTTP query server.
 
 $_ec2ApiVersion = '2009-04-04'
 The API version to use.
 
 $_ec2SignatureVersion = '2'
 Signature Version.
 
 $_ec2SignatureMethod = 'HmacSHA256'
 Signature Encoding Method.
 
 $_httpTimeout = 10
 Period after which HTTP request will timeout in seconds.
 
 $_region
 
- Static Protected Attributes inherited from Zend_Service_Amazon_Ec2_Abstract
static $_defaultRegion = null
 
static $_validEc2Regions = array('eu-west-1', 'us-east-1')
 

Member Function Documentation

describeInstances (   $instanceId)

Describes Reserved Instances that you purchased.

Parameters
string | array$instanceIdIDs of the Reserved Instance to describe.
Returns
array
describeOfferings ( )

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.

Returns
array
purchaseOffering (   $offeringId,
  $intanceCount = 1 
)

Purchases a Reserved Instance for use with your account.

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.

Parameters
string$offeringIdThe offering ID of the Reserved Instance to purchase
integer$intanceCountThe number of Reserved Instances to purchase.
Returns
string The ID of the purchased Reserved Instances.