def get_keys_from_response(response):
    try:
        return map((lambda x: x['Key']), response['Contents'])
    except KeyError:
        return []
def get_keys_from_response(response):
    try:
        return map((lambda x: x['Key']), response['Contents'])
    except KeyError:
        return []