def pretty_print_ec2_res_where(res):
    """ Pretty-print zonal placement of an EC2 reservation """
    if res['Scope'] == 'Region':
        return '(region)'
    elif res['Scope'] == 'Availability Zone':
        return res['AvailabilityZone']
    else:
        raise Exception('unknown where %r' % res)