code: def reset_image_attribute(self, image_id, attribute='launchPermission'):
          
          params = {'ImageId' : image_id,
                    'Attribute' : attribute}
          return self.get_status('ResetImageAttribute', params, verb='POST')
docs: Resets an attribute of an AMI to its default value.
  
          :type image_id: string
          :param image_id: ID of the AMI for which an attribute will be described
  
          :type attribute: string
          :param attribute: The attribute to reset
  
          :rtype: bool
          :return: Whether the operation succeeded or not