class_docstr: Create a Debugger hook configuration object to save the tensor for debugging.
  
  DebuggerHookConfig provides options to customize how debugging
  information is emitted and saved. This high-level DebuggerHookConfig class
  runs based on the `smdebug.SaveConfig
  <https://github.com/awslabs/sagemaker-debugger/blob/master/docs/
  api.md#saveconfig>`_ class.
class_docstr_tok: ["Create","a","Debugger","hook","configuration","object","to","save","the","tensor","for","debugging",".","DebuggerHookConfig","provides","options","to","customize","how","debugging","information","is","emitted","and","saved",".","This","high-level","DebuggerHookConfig","class","runs","based","on","the","`","smdebug.SaveConfig","<","https",":","\/\/github.com\/awslabs\/sagemaker-debugger\/blob\/master\/docs\/","api.md","#","saveconfig",">","`","_","class","."]
docstr: Generate a request dictionary using the parameters 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 when initializing the object.
  
      Returns:
          dict: An portion of an API request as a dictionary.
  
      """
      debugger_hook_config_request = {
          "S3OutputPath": self.s3_output_path
      }
  
      if self.container_local_output_path is not None:
          debugger_hook_config_request[
              "LocalPath"
          ] = self.container_local_output_path
  
      if self.hook_parameters is not None:
          debugger_hook_config_request[
              "HookParameters"
          ] = self.hook_parameters
  
      if self.collection_configs is not None:
          debugger_hook_config_request["CollectionConfigurations"] = [
              collection_config._to_request_dict()
              for collection_config in self.collection_configs
          ]
  
      return debugger_hook_config_request
  
imports: from __future__ import absolute_import
  from abc import ABC
  from typing import Union, Optional, List, Dict
  import attr
  import smdebug_rulesconfig
  from sagemaker import image_uris
  from sagemaker.utils import build_dict, name_from_base
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.debugger.profiler_constants import DETAIL_PROF_PROCESSING_DEFAULT_INSTANCE_TYPE, DETAIL_PROF_PROCESSING_DEFAULT_VOLUME_SIZE
label_desc: Use image node_id 2 for calling the DebuggerHookConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: debugger_hook_config_request