class_docstr: Class for creating/accessing a DetailProfiler app hosted on SageMaker.
class_docstr_tok: ["Class","for","creating\/accessing","a","DetailProfiler","app","hosted","on","SageMaker","."]
docstr: Validate training job name format.
docstr_tok: ["Validate","training","job","name","format","."]
code: def _validate_job_name(self, job_name: str):
      """Validate training job name format."""
      job_name_regex = "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}"
      if not re.fullmatch(job_name_regex, job_name):
          raise ValueError(
              f"Invalid job name. "
              f"Job name must match regular expression {job_name_regex}"
          )
  
file_path: sagemaker-python-sdk/src/sagemaker/interactive_apps/detail_profiler_app.py
imports: from __future__ import absolute_import
  import json
  import logging
  import os
  import re
  from typing import Optional
  from sagemaker.session import Session, NOTEBOOK_METADATA_FILE
label_desc: Use image node_id 6 for calling the DetailProfilerApp obj's underlying member method code with example usage: obj._validate_job_name(job_name) without return types