from typing import Dict
from typing import Any


def bundle_json_get_next_link(bundle_json: Dict[str, Any]) -> str:
    """get the 'next' link from a bundle, if it exists

    Args:
        bundle_json (Dict[str, Any]): the bundle to examine

    Returns:
        str: the url of the 'next' bundle or None
    """
    filtered_link = [link for link in bundle_json["link"] if link["relation"] == "next"]
    if len(filtered_link) > 0:
        return filtered_link[0]["url"]
    return ""