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 user profile name format.
docstr_tok: ["Validate","user","profile","name","format","."]
code: def _validate_user_profile_name(self):
      """Validate user profile name format."""
      user_profile_name_regex = "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}"
      if self._user_profile_name is None or not re.fullmatch(
          user_profile_name_regex, self._user_profile_name
      ):
          return False
      return True
  
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 8 for calling the DetailProfilerApp obj's underlying member method code with example usage: obj._validate_user_profile_name() and returns: True, False