Zend Framework
1.12
|
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. | |
![]() | |
__construct ($accessKey=null, $secretKey=null, $region=null) | |
Create Amazon client. | |
![]() | |
__construct ($accessKey=null, $secretKey=null) | |
Create Amazon client. | |
Additional Inherited Members | |
![]() | |
static | setRegion ($region) |
Set which region you are working in. | |
![]() | |
_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. | |
![]() | |
$_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 | $_defaultRegion = null |
static | $_validEc2Regions = array('eu-west-1', 'us-east-1') |
describeInstances | ( | $instanceId | ) |
Describes Reserved Instances that you purchased.
string | array | $instanceId | IDs of the Reserved Instance to describe. |
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.
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.
string | $offeringId | The offering ID of the Reserved Instance to purchase |
integer | $intanceCount | The number of Reserved Instances to purchase. |