class_docstr: Client of an MLflow Model Registry Server that creates and manages registered
  models and model versions.
docstr: Update registered model name.
  
  :param name: Name of the registered model to update.
  :param new_name: New proposed name for the registered model.
  
  :return: A single updated :py:class:`mlflow.entities.model_registry.RegisteredModel` object.
docstr_tok: ["Update","registered","model","name",".",":","param","name",":","Name","of","the","registered","model","to","update",".",":","param","new_name",":","New","proposed","name","for","the","registered","model",".",":","return",":","A","single","updated",":","py",":","class",":","`","mlflow.entities.model_registry.RegisteredModel","`","object","."]
code: def rename_registered_model(self, name, new_name):
      """
      Update registered model name.
  
      :param name: Name of the registered model to update.
      :param new_name: New proposed name for the registered model.
  
      :return: A single updated :py:class:`mlflow.entities.model_registry.RegisteredModel` object.
      """
      if new_name.strip() == "":
          raise MlflowException("The name must not be an empty string.")
      return self.store.rename_registered_model(
          name=name, new_name=new_name
      )
  
imports: import logging
  from mlflow.entities.model_registry import ModelVersionTag, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.store.model_registry import SEARCH_MODEL_VERSION_MAX_RESULTS_DEFAULT, SEARCH_REGISTERED_MODEL_MAX_RESULTS_DEFAULT
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS, utils
  from mlflow.utils.arguments_utils import _get_arg_names
label_desc: Use image node_id 5 for calling the ModelRegistryClient obj's underlying member method code with example usage: obj.rename_registered_model(name, new_name) and returns: self