code: def __init__(self, name, config=None, logger=None):
      if logger is not None:
          self.logger = logger
      else:
          self.logger = logs.get_logger("SQSQueue")
          self.logger.setLevel(get_storage_verbose_level())
  
      self.name = name
      self.is_persistent = False
  
      self.credentials = self._setup_from_config(config)
  
      aws_access_key_id = self.credentials.get_key()
      aws_secret_access_key = self.credentials.get_secret_key()
  
      if self.credentials.get_profile() is not None:
          # If profile name is specified, for whatever reason
          # boto3 API will barf if (key, secret key) pair
          # is also defined.
          aws_access_key_id = None
          aws_secret_access_key = None
  
      self._session = boto3.session.Session(
          aws_access_key_id=aws_access_key_id,
          aws_secret_access_key=aws_secret_access_key,
          aws_session_token=None,
          region_name=self.credentials.get_region(),
          profile_name=self.credentials.get_profile(),
      )
      self._client = self._session.client("sqs")
  
      create_q_response = self._client.create_queue(QueueName=name)
  
      self.queue_url = create_q_response["QueueUrl"]
      self.logger.info("Creating SQS queue with name %s", name)
      self.logger.info("Queue url = %s", self.queue_url)
  
file_path: studio/studio/queues/sqs_queue.py
imports: import time
  from typing import Dict
  import boto3
  from studio.credentials.credentials import Credentials, KEY_CREDENTIALS
  from studio.storage.storage_setup import get_storage_verbose_level
  from studio.util import logs, util
label_desc: Use image node_id 1 to create a new SQSQueue object  with example: obj = SQSQueue(name, config, logger)