def hpo_job_describe(sm_client, tuning_job_name):
  """API call to describe a hyperparameter tuning job."""
  try:
    response = sm_client.describe_hyper_parameter_tuning_job(
      HyperParameterTuningJobName=tuning_job_name
    )
    return response
  except sm_client.exceptions.ResourceNotFound:
    raise Exception(f"Hyperparameter job not found: '{tuning_job_name}'")