def get_display_name_from_arn(record):
    """Get the display name for a version from its ARN.

    Args:

        record
            A record returned by AWS.

    Returns:
        A display name for the task definition version.

    """
    arn_parts = record.split(":")
    name = arn_parts[5]
    version = arn_parts[6]
    name_parts = name.split("/")
    family = name_parts[1]
    return str(family) + ":" + str(version)