code: def get_rule_container_image_uri(name, region):
      """Return the Debugger rule image URI for the given AWS Region.
  
      For a full list of rule image URIs,
      see `Use Debugger Docker Images for Built-in or Custom Rules
      <https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-docker-images-rules.html>`_.
  
      Args:
          region (str): A string of AWS Region. For example, ``'us-east-1'``.
  
      Returns:
          str: Formatted image URI for the given AWS Region and the rule container type.
  
      """
      if name is not None and name.startswith(
          "DetailedProfilerProcessingJobConfig"
      ):
          # should have the format like "123456789012.dkr.ecr.us-west-2.amazonaws.com/detailed-profiler-processing:latest"
          return image_uris.retrieve(detailed_framework_name, region)
  
      return image_uris.retrieve(framework_name, region)
  
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 1 for calling a global function with example usage: get_rule_container_image_uri(name, region) and returns: image_uris, image_uris