code: def handler(event, _):
      """StreamAlert Alert Processor - entry point
  
      Args:
          event (dict): Contains either the entire Dynamo record or just the rule name and alert ID {
              'AlertID': str,  # UUID
              'RuleName': str,  # Non-empty rule name
  
              # Other data present only if the full record was sent
              'Record': ...,
              ...
          }
          context (AWSLambdaContext): Lambda invocation context
  
      Returns:
          dict: Maps output (str) to whether it sent successfully (bool).
              An empty dict is returned if the alert was improperly formatted.
      """
      return AlertProcessor.get_instance().run(event)
  
file_path: streamalert/streamalert/alert_processor/main.py
imports: from os import environ
  import backoff
  from botocore.exceptions import ClientError
  from streamalert.alert_processor.outputs.output_base import StreamAlertOutput
  from streamalert.shared import backoff_handlers, resources
  from streamalert.shared.alert import Alert, AlertCreationError
  from streamalert.shared.alert_table import AlertTable
  from streamalert.shared.config import load_config
  from streamalert.shared.logger import get_logger
  from streamalert.shared.normalize import Normalizer
label_desc: Use image node_id 1 for calling a global function with example usage: handler(event, _) and returns: AlertProcessor