code: def show_detailed_monitoring(name=None, instance_id=None, call=None, quiet=False):
      '''
      Show the details from EC2 regarding cloudwatch detailed monitoring.
      '''
      if call != 'action':
          raise SaltCloudSystemExit(
              'The show_detailed_monitoring action must be called with -a or --action.'
          )
      location = get_location()
      if six.text_type(name).startswith('i-') and (len(name) == 10 or len(name) == 19):
          instance_id = name
  
      if not name and not instance_id:
          raise SaltCloudSystemExit(
              'The show_detailed_monitoring action must be provided with a name or instance\
   ID'
          )
      matched = _get_node(name=name, instance_id=instance_id, location=location)
      log.log(
          logging.DEBUG if quiet is True else logging.INFO,
          'Detailed Monitoring is %s for %s', matched['monitoring'], name
      )
      return matched['monitoring'f show_detailed_monitoring(name=None, instance_id=None, call=None, quiet=False):
      '''
      Show the details from EC2 regarding cloudwatch detailed monitoring.
      '''
      if call != 'action':
          raise SaltCloudSystemExit(
              'The show_detailed_monitoring action must be called with -a or --action.'
          )
      location = get_location()
      if six.text_type(name).startswith('i-') and (len(name) == 10 or len(name) == 19):
          instance_id = name
  
      if not name and not instance_id:
          raise SaltCloudSystemExit(
              'The show_detailed_monitoring action must be provided with a name or instance\
   ID'
          )
      matched = _get_node(name=name, instance_id=instance_id, location=location)
      log.log(
          logging.DEBUG if quiet is True else logging.INFO,
          'Detailed Monitoring is %s for %s', matched['monitoring'], name
      )
      return matched['monitoring']
docs: Show the details from EC2 regarding cloudwatch detailed monitoring.