Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them.
When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI.
Creating a Request
Creates a value of DeregisterImage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeregisterImage Source #
Contains the parameters for DeregisterImage.
See: deregisterImage
smart constructor.
Instances
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
.
Destructuring the Response
deregisterImageResponse :: DeregisterImageResponse Source #
Creates a value of DeregisterImageResponse
with the minimum fields required to make a request.
data DeregisterImageResponse Source #
See: deregisterImageResponse
smart constructor.