ResetImageAttribute
The ResetImageAttribute
operation resets an attribute
of an AMI to its default value.
Note | |
---|---|
The productCodes attribute cannot be reset. |
The following table describes the request parameters for
ResetImageAttribute
. Parameter names are case
sensitive.
Name | Description | Required |
---|---|---|
|
ID of the AMI on which the attribute will be reset. Type: xsd:string |
Yes |
|
Resets the AMI's launch permissions. All public and explicit launch permissions for the AMI are revoked. Type: ec2:EmptyElementType |
Yes |
The following table describes the default response tags included
in ResetImageAttribute
responses.
Name | Description |
---|---|
|
Type: xsd:boolean |
<ResetImageAttribute xmlns="http://ec2.amazonaws.com/doc/2007-08-29"> <imageId>ami-61a54008</imageId> <launchPermission /> </ResetImageAttribute>
<ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2007-08-29"> <return>true</return> </ResetImageAttributeResponse>