from typing import Dict
from typing import List
import json


def _pluck_listen_ids(aws_event: Dict) -> List[str]:
    """Pluck the listen ids from a batched sqs event.

    >>> _pluck_listen_ids({'Records': [{'body': '{"listen_id": "5"}'}]})
    ['5']
    """
    message_bodies = [json.loads(record['body']) for record in aws_event['Records']]
    return [message_body['listen_id'] for message_body in message_bodies]