Resets an attribute of an AMI to its default value.
The productCodes attribute cannot be reset.
ImageId
ID of the AMI on which the attribute will be reset.
Type: String
Default: None
Yes
Attribute
Specifies the attribute to reset.
Valid Values: launchPermission | productCodes
launchPermission
productCodes
ResetImageAttributeResponse
ResetImageAttributeResponse element.
Type:
Ancestor: None
Children: requestId, imageId
requestId
imageId
The ID of the request.
Type: xsd:string
Ancestor: ResetImageAttributeResponse
Children: None
Unique ID of the newly registered machine image.
This example resets the launchPermission attribute.
https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams
<ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <return>true</return> </ResetImageAttributeResponse>
ModifyImageAttribute
DescribeImageAttribute
Submit feedback about this site to: