'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
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.
:rtype: bool
:return: Whether the operation succeeded or not'

def reset_image_attribute(self, image_id, attribute='launchPermission', dry_run=False):

    params = {'ImageId': image_id, 'Attribute': attribute}
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_status('ResetImageAttribute', params, verb='POST')
