def get_display_name(record):
    """Get the display name for a record.

    Args:

        record
            A record returned by AWS.

    Returns:
        A display name for the task.

    """
    name = record.get("startedBy")
    if not name:
        name = "Unnamed"
    return str(name) + " (" + str(record["taskArn"]) + ")"