Deregisters the specified AMI. Once deregistered,
the AMI cannot be used to launch new instances.
Declaration Syntax
C# |
public DeregisterImageResponse DeregisterImage( DeregisterImageRequest request )
Parameters
- request (DeregisterImageRequest)
- Deregister Image request
Return Value
Deregister Image Response from the service
Remarks
This command does not delete the AMI from Amazon S3.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |