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: Prepare a list of all records from the payload to send to SQS
  
  Args:
      payloads (list): List of PayloadRecord items that include parsed records
  
  Returns:
      list<dict>: All messages formatted for ingestion by the Rules Engine function
docstr_tok: ["Prepare","a","list","of","all","records","from","the","payload","to","send","to","SQS","Args",":","payloads","(","list",")",":","List","of","PayloadRecord","items","that","include","parsed","records","Returns",":","list","<","dict",">",":","All","messages","formatted","for","ingestion","by","the","Rules","Engine","function"]
code: def _payload_messages(payloads):
      """Prepare a list of all records from the payload to send to SQS
  
      Args:
          payloads (list): List of PayloadRecord items that include parsed records
  
      Returns:
          list<dict>: All messages formatted for ingestion by the Rules Engine function
      """
      return [
          json.dumps(message, separators=(",", ":"))
          for payload in payloads
          for message in payload.sqs_messages
      ]
  
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 6 for calling the SQSClient obj's underlying member method code with example usage: obj._payload_messages(payloads) and returns: unknown