Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.EC2.BundleInstance
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.
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
Arguments
:: Text | |
-> Storage | |
-> BundleInstance |
BundleInstance
constructor.
The fields accessible through corresponding lenses are:
Request lenses
biInstanceId :: Lens' BundleInstance Text Source
The ID of the instance to bundle.
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.