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