ResetImageAttribute From Amazon Elastic Compute Cloud: 2009-08-15 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 Valid Values: launchPermission | productCodes Default: None Response 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-08-15/"> <return>true</return> </ResetImageAttributeResponse> Related Operations ModifyImageAttribute DescribeImageAttribute previous page start next page