class_docstr: Run queries to generate statistics on alerts.
docstr: Execute a query for all alerts for a rule so the user can be sent the results
  
  Args:
      rule_name (str): Name of the rule to query for alert results
  
  Returns:
      str: Execution ID for running Athena query
docstr_tok: ["Execute","a","query","for","all","alerts","for","a","rule","so","the","user","can","be","sent","the","results","Args",":","rule_name","(","str",")",":","Name","of","the","rule","to","query","for","alert","results","Returns",":","str",":","Execution","ID","for","running","Athena","query"]
code: def _query_alerts(self, stat):
      """Execute a query for all alerts for a rule so the user can be sent the results
  
      Args:
          rule_name (str): Name of the rule to query for alert results
  
      Returns:
          str: Execution ID for running Athena query
      """
      info_statement = stat.sql_info_statement
      LOGGER.debug(
          "Querying alert info for rule '%s': %s",
          stat.rule_name,
          info_statement,
      )
  
      response = self._athena_client.run_async_query(info_statement)
  
      return response["QueryExecutionId"]
  
file_path: streamalert/streamalert/rule_promotion/publisher.py
imports: import boto3
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 4 for calling the StatsPublisher obj's underlying member method code with example usage: obj._query_alerts(stat) and returns: response