[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/Amazon/Ec2/Instance/ -> Windows.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 195 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Amazon_Ec2_Instance_Windows:: (5 methods):
  bundle()
  cancelBundle()
  describeBundle()
  _getS3UploadPolicy()
  _signS3UploadPolicy()


Class: Zend_Service_Amazon_Ec2_Instance_Windows  - X-Ref

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

bundle($instanceId, $s3Bucket, $s3Prefix, $uploadExpiration = 1440)   X-Ref
Bundles an Amazon EC2 instance running Windows

param: string $instanceId        The instance you want to bundle
param: string $s3Bucket          Where you want the ami to live on S3
param: string $s3Prefix          The prefix you want to assign to the AMI on S3
param: integer $uploadExpiration The expiration of the upload policy.  Amazon recommends 12 hours or longer.
return: array                    containing the information on the new bundle operation

cancelBundle($bundleId)   X-Ref
Cancels an Amazon EC2 bundling operation

param: string $bundleId          The ID of the bundle task to cancel
return: array                    Information on the bundle task

describeBundle($bundleId = '')   X-Ref
Describes current bundling tasks

param: string|array $bundleId            A single or a list of bundle tasks that you want
return: array                            Information for the task that you requested

_getS3UploadPolicy($bucketName, $prefix, $expireInMinutes = 1440)   X-Ref
Generates the S3 Upload Policy Information

param: string $bucketName        Which bucket you want the ami to live in on S3
param: string $prefix            The prefix you want to assign to the AMI on S3
param: integer $expireInMinutes  The expiration of the upload policy.  Amazon recommends 12 hours or longer.
return: string                   Base64 encoded string that is the upload policy

_signS3UploadPolicy($policy)   X-Ref
Signed S3 Upload Policy

param: string $policy            Base64 Encoded string that is the upload policy
return: string                   SHA1 encoded S3 Upload Policy



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1