class_docstr: Batcher class to handle segmenting large messages going to the classifier lambda function
docstr: Public method to send the logs to the classifier function
  
  Args:
      source_function (str): The app function name from which the logs came
      logs (list): List of the logs that have been gathered
code: def send_logs(self, logs):
      """Public method to send the logs to the classifier function
  
      Args:
          source_function (str): The app function name from which the logs came
          logs (list): List of the logs that have been gathered
      """
      LOGGER.info(
          "Starting batch send of %d logs to the classifier function",
          len(logs),
      )
  
      # Try to send all of the logs in one fell swoop
      if self._send_logs_to_lambda(logs):
          return
  
      # Fall back on segmenting the list of logs into multiple requests
      # if they could not be sent at once
      self._segment_and_send(logs)
  
      LOGGER.info(
          "Finished batch send of %d logs to the classifier function",
          len(logs),
      )
  
file_path: streamalert/streamalert/apps/batcher.py
imports: import json
  import math
  import boto3
  from botocore.exceptions import ClientError
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 2 for calling the Batcher obj's underlying member method code with example usage: obj.send_logs(logs) without return types