class_docstr: Handles preparing and sending data from the classifier function to Kinesis Firehose
docstr: Send artifacts to artifacts Firehose delievery stream
  Args:
      artifacts (list(dict)): A list of artifacts extracted from normalized records.
      stream_name (str): Stream name of destination Firehose.
docstr_tok: ["Send","artifacts","to","artifacts","Firehose","delievery","stream","Args",":","artifacts","(","list","(","dict",")",")",":","A","list","of","artifacts","extracted","from","normalized","records",".","stream_name","(","str",")",":","Stream","name","of","destination","Firehose","."]
code: def send_artifacts(self, artifacts, stream_name):
      """Send artifacts to artifacts Firehose delievery stream
      Args:
          artifacts (list(dict)): A list of artifacts extracted from normalized records.
          stream_name (str): Stream name of destination Firehose.
      """
      for artifact_batch in self._record_batches(
          artifacts, CLASSIFIER_FUNCTION_NAME
      ):
          batch_size = len(artifact_batch)
          response = self._send_batch(
              stream_name, artifact_batch, CLASSIFIER_FUNCTION_NAME
          )
          self._finalize(
              response,
              stream_name,
              batch_size,
              CLASSIFIER_FUNCTION_NAME,
          )
  
imports: from collections import defaultdict
  import json
  import hashlib
  import re
  import backoff
  import boto3
  from botocore.exceptions import ClientError, HTTPClientError
  from botocore.exceptions import ConnectionError
  from streamalert.shared import CLASSIFIER_FUNCTION_NAME
  import streamalert.shared.helpers.boto
  from streamalert.shared.logger import get_logger
  from streamalert.shared.metrics import MetricLogger
  from streamalert.shared.backoff_handlers import backoff_handler, giveup_handler, success_handler
label_desc: Use image node_id 18 for calling the FirehoseClient obj's underlying member method code with example usage: obj.send_artifacts(artifacts, stream_name) without return types