code: def get_athena_client(config):
      """Get an athena client using the current config settings
  
      Args:
          config (CLIConfig): Loaded StreamAlert config
  
      Returns:
          AthenaClient: instantiated client for performing athena actions
      """
      prefix = config["global"]["account"]["prefix"]
      athena_config = config["lambda"]["athena_partitioner_config"]
  
      db_name = get_database_name(config)
  
      # Get the S3 bucket to store Athena query results
      results_bucket = athena_config.get(
          "results_bucket",
          "s3://{}-streamalert-athena-results".format(prefix),
      )
  
      return AthenaClient(
          db_name,
          results_bucket,
          "streamalert_cli",
          region=config["global"]["account"]["region"],
      )
  
imports: from streamalert.shared.firehose import FirehoseClient
  from streamalert.shared.utils import get_database_name, get_data_file_format
  from streamalert.shared.alert import Alert
  from streamalert.shared.athena import AthenaClient
  from streamalert.shared.config import firehose_alerts_bucket, firehose_data_bucket
  from streamalert.shared.logger import get_logger
  from streamalert_cli.athena import helpers
  from streamalert_cli.helpers import continue_prompt, record_to_schema
  from streamalert_cli.utils import CLICommand, generate_subparser, set_parser_epilog, UniqueSortedListAction
label_desc: Use image node_id 1 for calling a global function with example usage: get_athena_client(config) and returns: AthenaClient