ResetImageAttribute From Amazon Elastic Compute Cloud: 2009-04-04 previous page next page ResetImageAttributeDescriptionResets an attribute of an AMI to its default value. NoteThe productCodes attribute cannot be reset.Request ParametersNameDescriptionRequiredImageId ID of the AMI on which the attribute will be reset. Type: String Default: None YesAttribute Specifies the attribute to reset. Type: String Default: None Valid Values: launchPermission | productCodes Response ElementsNameDescriptionResetImageAttributeResponseResetImageAttributeResponse element. Type: ResetImageAttributeResponse Ancestor: None Children: requestId, imageIdrequestId The ID of the request. Type: xsd:string Ancestor: ResetImageAttributeResponse Children: None imageId Unique ID of the newly registered machine image. Type: xsd:string Ancestor: ResetImageAttributeResponse Children: None Examples Example Request This example resets the launchPermission attribute. https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams Example Response <ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <return>true</return> </ResetImageAttributeResponse> Related Operations ModifyImageAttribute DescribeImageAttribute previous page start next page