Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data BundleInstance
- bundleInstance :: Text -> Storage -> BundleInstance
- biDryRun :: Lens' BundleInstance (Maybe Bool)
- biInstanceId :: Lens' BundleInstance Text
- biStorage :: Lens' BundleInstance Storage
- data BundleInstanceResponse
- bundleInstanceResponse :: BundleInstanceResponse
- birBundleTask :: Lens' BundleInstanceResponse (Maybe BundleTask)
Request
data BundleInstance Source
Request constructor
BundleInstance
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.