ResetImageAttribute From Amazon Elastic Compute Cloud: 2009-10-31 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=launchPermission Describes the launch permissions of the AMI. Type: String Default: None NoResponse ElementsNameDescriptionResetImageAttributeResponseTypeResetImageAttributeResponseType element. Type: ResetImageAttributeResponseType Ancestor: None Children: requestId, returnrequestId The ID of the request. Type: xsd:string Ancestor: ResetImageAttributeResponseType Children: None return Indicates whether the attribute successfully reset. Type: xsd:boolean Ancestor: ResetImageAttributeResponseType 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-10-31/"> <return>true</return> </ResetImageAttributeResponse> Related Operations ModifyImageAttribute DescribeImageAttribute previous page start next page