def get_namespace_by_name(namespace_name: str, client) -> str:
    """ Returns namespace id of a namespace with name <namespace_name> """
    namespaces = client.list_namespaces()
    for n in namespaces.get("Namespaces"):
        if n.get("Name") == namespace_name:
            return n.get("Id")
    raise RuntimeError(f"Namespace {namespace_name} not found")