ec2-reset-image-attribute AMI -l
Resets an attribute for the specified AMI.
The productCodes attribute cannot be reset.
A table containing the following information is returned:
Attribute type identifier
ID of the AMI on which the attribute is being reset
Action identifier ("RESET")
Errors are displayed on stderr.
-l
launchPermission
$ ec2-reset-image-attribute ami-6ba54002 -l launchPermission ami-6ba54002 RESET
$
ec2-reset-image-attribute ami-6ba54002 -l
launchPermission ami-6ba54002 RESET
ResetImageAttribute
ec2-modify-image-attribute
ec2-describe-image-attribute
Sharing AMIs