class_docstr: Configuration for collecting system and framework metrics of SageMaker training jobs.
  
  SageMaker Debugger collects system and framework profiling
  information of training jobs and identify performance bottlenecks.
class_docstr_tok: ["Configuration","for","collecting","system","and","framework","metrics","of","SageMaker","training","jobs",".","SageMaker","Debugger","collects","system","and","framework","profiling","information","of","training","jobs","and","identify","performance","bottlenecks","."]
docstr: Generate a request dictionary using the parameters provided when initializing the object.
  
  Returns:
      dict: An portion of an API request as a dictionary.
docstr_tok: ["Generate","a","request","dictionary","using","the","parameters","provided","when","initializing","the","object",".","Returns",":","dict",":","An","portion","of","an","API","request","as","a","dictionary","."]
code: def _to_request_dict(self):
      """Generate a request dictionary using the parameters provided when initializing the object.
  
      Returns:
          dict: An portion of an API request as a dictionary.
  
      """
      profiler_config_request = {}
  
      if (
          self.s3_output_path is not None
          and self.disable_profiler is not None
          and self.disable_profiler is False
      ):
          profiler_config_request["S3OutputPath"] = self.s3_output_path
  
      profiler_config_request["DisableProfiler"] = self.disable_profiler
  
      if self.system_monitor_interval_millis is not None:
          profiler_config_request[
              "ProfilingIntervalInMilliseconds"
          ] = self.system_monitor_interval_millis
  
      if self.framework_profile_params is not None:
          profiler_config_request[
              "ProfilingParameters"
          ] = self.framework_profile_params.profiling_parameters
  
      if self.profile_params is not None:
          profiler_config_request[
              "ProfilingParameters"
          ] = self.profile_params.profiling_parameters
  
      return profiler_config_request
  
file_path: sagemaker-python-sdk/src/sagemaker/debugger/profiler_config.py
imports: from __future__ import absolute_import
  import logging
  from typing import Optional, Union
  from sagemaker.debugger.framework_profile import FrameworkProfile
  from sagemaker.debugger.profiler import Profiler
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.deprecations import deprecation_warn_base
label_desc: Use image node_id 2 for calling the ProfilerConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: profiler_config_request