Zend Framework
1.12
|
Public Member Functions | |
create ($keyName) | |
Creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. | |
describe ($keyName=null) | |
Returns information about key pairs available to you. | |
delete ($keyName) | |
Deletes a key pair. | |
![]() | |
__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') |
create | ( | $keyName | ) |
Creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances.
string | $keyName | A unique name for the key pair. |
Zend_Service_Amazon_Ec2_Exception |
delete | ( | $keyName | ) |
Deletes a key pair.
string | $keyName | Name of the key pair to delete. |
Zend_Service_Amazon_Ec2_Exception |
describe | ( | $keyName = null | ) |
Returns information about key pairs available to you.
If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.
string | rarray | $keyName | Key pair IDs to describe. |