'Resets an attribute of an instance to its default value.
:type instance_id: string
:param instance_id: ID of the instance
:type attribute: string
:param attribute: The attribute to reset. Valid values are:
kernel|ramdisk
: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_instance_attribute(self, instance_id, attribute, dry_run=False):

    params = {'InstanceId': instance_id, 'Attribute': attribute}
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_status('ResetInstanceAttribute', params, verb='POST')
