class_docstr: SQSClient for sending batches of classified records to the Rules Engine function
class_docstr_tok: ["SQSClient","for","sending","batches","of","classified","records","to","the","Rules","Engine","function"]
docstr: Send a list of records from payloads to SQS, segmenting as necessary
  
  Args:
      payloads (list): Payloads containing records to be sent to SQS for
          consumption by the rules engine
  
  Raises:
      SQSClientError: Exception if something went wrong during sending messages to SQS
docstr_tok: ["Send","a","list","of","records","from","payloads","to","SQS",",","segmenting","as","necessary","Args",":","payloads","(","list",")",":","Payloads","containing","records","to","be","sent","to","SQS","for","consumption","by","the","rules","engine","Raises",":","SQSClientError",":","Exception","if","something","went","wrong","during","sending","messages","to","SQS"]
code: def send(self, payloads):
      """Send a list of records from payloads to SQS, segmenting as necessary
  
      Args:
          payloads (list): Payloads containing records to be sent to SQS for
              consumption by the rules engine
  
      Raises:
          SQSClientError: Exception if something went wrong during sending messages to SQS
      """
      records = self._payload_messages(payloads)
      for records, count in self._segment_records(records):
          LOGGER.info(
              "Sending %d record(s) to %s", count, self.queue.url
          )
          response = self._send_message(records)
          self._finalize(response, count)
  
imports: import json
  import os
  import backoff
  import boto3
  from botocore.exceptions import ClientError, HTTPClientError
  from botocore.exceptions import ConnectionError
  from streamalert.shared import CLASSIFIER_FUNCTION_NAME
  from streamalert.shared.helpers import 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 7 for calling the SQSClient obj's underlying member method code with example usage: obj.send(payloads) without return types