DeregisterImage
Description
Deregisters the specified AMI. Once deregistered, the AMI cannot be used to launch new instances.
Note | |
---|---|
This command does not delete the AMI from Amazon S3. |
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: imageId
imageId
Unique ID of the AMI which was assigned during registration. To register an AMI, use
Type: xsd:string
Default: None
Ancestor: DeregisterImage
Children: None
Yes
Response Elements
Name | Description |
---|---|
|
Type: DeregisterImageResponse Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Returns Type: xsd:boolean Ancestor: Children: None |
Examples
Example Request
This example deregisters the ami-4fa54026
AMI.
<DeregisterImage xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <imageId>ami-4fa54026</imageId> </DeregisterImage>
Example Response
<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <return>true</return> </DeregisterImageResponse>