class_docstr: Run queries to generate statistics on alerts.
code: def __init__(self):
      self._config = load_config()
      prefix = self._config["global"]["account"]["prefix"]
  
      # Create the rule table class for getting staging information
      self._rule_table = RuleTable(
          "{}_streamalert_rules".format(prefix)
      )
  
      athena_config = self._config["lambda"][
          "athena_partitioner_config"
      ]
  
      # Get the name of the athena database to access
      db_name = athena_config.get(
          "database_name", get_database_name(self._config)
      )
  
      # Get the S3 bucket to store Athena query results
      results_bucket = athena_config.get(
          "results_bucket",
          "s3://{}-streamalert-athena-results".format(prefix),
      )
  
      self._athena_client = AthenaClient(
          db_name, results_bucket, self.ATHENA_S3_PREFIX
      )
      self._current_time = datetime.utcnow()
      self._staging_stats = dict()
  
file_path: streamalert/streamalert/rule_promotion/promoter.py
imports: from datetime import datetime
  from streamalert.rule_promotion.publisher import StatsPublisher
  from streamalert.rule_promotion.statistic import StagingStatistic
  from streamalert.shared.utils import get_database_name
  from streamalert.shared.athena import AthenaClient
  from streamalert.shared.config import load_config
  from streamalert.shared.logger import get_logger
  from streamalert.shared.rule_table import RuleTable
label_desc: Use image node_id 1 to create a new RulePromoter object  with example: obj = RulePromoter()