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"]
code: def __init__(self):
      queue_url = os.environ.get("SQS_QUEUE_URL", "")
      if not queue_url:
          raise SQSClientError(
              "No queue URL found in environment variables"
          )
  
      # Only recreate the queue resource if it's not already cached
      SQSClient._queue = SQSClient._queue or boto3.resource(
          "sqs", config=boto.default_config()
      ).Queue(queue_url)
  
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 1 to create a new SQSClient object  with example: obj = SQSClient()