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
ResetImageAttributeResponseType
ResetImageAttributeResponseType element.
Type:
Ancestor: None
Children: requestId, return
requestId
return
The ID of the request.
Type: xsd:string
Ancestor: ResetImageAttributeResponseType
Children: None
Indicates whether the attribute successfully reset.
Type: xsd:boolean
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-08-15/"> <return>true</return> </ResetImageAttributeResponse>
ModifyImageAttribute
DescribeImageAttribute
Submit feedback about this site to: