Class Zend_Service_Amazon_Ec2_Instance_Windows

Description

An Amazon EC2 interface that allows yout to run, terminate, reboot and describe Amazon Ec2 Instances.

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Service/Amazon/Ec2/Instance/Windows.php (line 48)

Zend_Service_Abstract
   |
   --Zend_Service_Amazon_Abstract
      |
      --Zend_Service_Amazon_Ec2_Abstract
         |
         --Zend_Service_Amazon_Ec2_Instance_Windows
Method Summary
 array bundle (string $instanceId, string $s3Bucket, string $s3Prefix, [integer $uploadExpiration = 1440])
 array cancelBundle (string $bundleId)
 array describeBundle ([string|array $bundleId = ''])
 string _getS3UploadPolicy (string $bucketName, string $prefix, [integer $expireInMinutes = 1440])
 string _signS3UploadPolicy (string $policy)
Variables
Methods
bundle (line 60)

Bundles an Amazon EC2 instance running Windows

  • return: containing the information on the new bundle operation
  • access: public
array bundle (string $instanceId, string $s3Bucket, string $s3Prefix, [integer $uploadExpiration = 1440])
  • string $instanceId: The instance you want to bundle
  • string $s3Bucket: Where you want the ami to live on S3
  • string $s3Prefix: The prefix you want to assign to the AMI on S3
  • integer $uploadExpiration: The expiration of the upload policy. Amazon recommends 12 hours or longer. This is based in nubmer of minutes. Default is 1440 minutes (24 hours)
cancelBundle (line 95)

Cancels an Amazon EC2 bundling operation

  • return: Information on the bundle task
  • access: public
array cancelBundle (string $bundleId)
  • string $bundleId: The ID of the bundle task to cancel
describeBundle (line 125)

Describes current bundling tasks

  • return: Information for the task that you requested
  • access: public
array describeBundle ([string|array $bundleId = ''])
  • string|array $bundleId: A single or a list of bundle tasks that you want to find information for.
_getS3UploadPolicy (line 173)

Generates the S3 Upload Policy Information

  • return: Base64 encoded string that is the upload policy
  • access: protected
string _getS3UploadPolicy (string $bucketName, string $prefix, [integer $expireInMinutes = 1440])
  • string $bucketName: Which bucket you want the ami to live in on S3
  • string $prefix: The prefix you want to assign to the AMI on S3
  • integer $expireInMinutes: The expiration of the upload policy. Amazon recommends 12 hours or longer. This is based in nubmer of minutes. Default is 1440 minutes (24 hours)
_signS3UploadPolicy (line 190)

Signed S3 Upload Policy

  • return: SHA1 encoded S3 Upload Policy
  • access: protected
string _signS3UploadPolicy (string $policy)
  • string $policy: Base64 Encoded string that is the upload policy

Inherited Methods

Inherited From Zend_Service_Amazon_Ec2_Abstract

 Zend_Service_Amazon_Ec2_Abstract::__construct()
 Zend_Service_Amazon_Ec2_Abstract::addRequiredParameters()
 Zend_Service_Amazon_Ec2_Abstract::sendRequest()
 Zend_Service_Amazon_Ec2_Abstract::setRegion()
 Zend_Service_Amazon_Ec2_Abstract::signParameters()
 Zend_Service_Amazon_Ec2_Abstract::_getRegion()

Inherited From Zend_Service_Amazon_Abstract

 Zend_Service_Amazon_Abstract::__construct()
 Zend_Service_Amazon_Abstract::setKeys()
 Zend_Service_Amazon_Abstract::_getAccessKey()
 Zend_Service_Amazon_Abstract::_getSecretKey()

Inherited From Zend_Service_Abstract

 Zend_Service_Abstract::getHttpClient()
 Zend_Service_Abstract::setHttpClient()

Documentation generated on Mon, 21 Jun 2010 15:52:55 -0400 by phpDocumentor 1.4.3