Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances.
This command does not delete the AMI.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeregisterImage.html
Request
data DeregisterImage Source
Request constructor
Request lenses
diDryRun :: Lens' DeregisterImage (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
.
diImageId :: Lens' DeregisterImage Text Source
The ID of the AMI.