|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| bundle ($instanceId, $s3Bucket, $s3Prefix, $uploadExpiration=1440) | |
| cancelBundle ($bundleId) | |
| describeBundle ($bundleId= '') | |
Protected Member Functions | |
| _getS3UploadPolicy ($bucketName, $prefix, $expireInMinutes=1440) | |
| _signS3UploadPolicy ($policy) | |
Definition at line 48 of file Windows.php.
| _getS3UploadPolicy | ( | $ | bucketName, |
| $ | prefix, | ||
| $ | expireInMinutes = 1440 |
||
| ) | [protected] |
Generates the S3 Upload Policy Information
| 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) |
Definition at line 173 of file Windows.php.

| _signS3UploadPolicy | ( | $ | policy | ) | [protected] |
Signed S3 Upload Policy
| string | $policy | Base64 Encoded string that is the upload policy |
Definition at line 190 of file Windows.php.


| bundle | ( | $ | instanceId, |
| $ | s3Bucket, | ||
| $ | s3Prefix, | ||
| $ | uploadExpiration = 1440 |
||
| ) |
Bundles an Amazon EC2 instance running Windows
| 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) |
Definition at line 60 of file Windows.php.

| cancelBundle | ( | $ | bundleId | ) |
Cancels an Amazon EC2 bundling operation
| string | $bundleId | The ID of the bundle task to cancel |
Definition at line 95 of file Windows.php.

| describeBundle | ( | $ | bundleId = '' | ) |
Describes current bundling tasks
| string | array | $bundleId | A single or a list of bundle tasks that you want to find information for. |
Definition at line 125 of file Windows.php.
