amazonka-ec2-0.3.6.1: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.BundleInstance

Contents

Description

Bundles an Amazon instance store-backed Windows instance.

During bundling, only the root device volume (C:) is bundled. Data on other instance store volumes is not preserved.

This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.

For more information, see Creating an Instance Store-Backed Windows AMI.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-BundleInstance.html

Synopsis

Request

Request constructor

bundleInstance Source

BundleInstance constructor.

The fields accessible through corresponding lenses are:

Request lenses

biDryRun :: Lens' BundleInstance (Maybe Bool) Source

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

biInstanceId :: Lens' BundleInstance Text Source

The ID of the instance to bundle.

Type: String

Default: None

Required: Yes

biStorage :: Lens' BundleInstance Storage Source

The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

Response

Response constructor

bundleInstanceResponse :: BundleInstanceResponse Source

BundleInstanceResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

birBundleTask :: Lens' BundleInstanceResponse (Maybe BundleTask) Source

Information about the bundle task.