class_docstr: Run queries to generate statistics on alerts.
docstr: Publish the alert statistics message to SNS
  
  Args:
      stats (list<StagingStatistic>): Group of rule staging statistics
          that are being reported on
docstr_tok: ["Publish","the","alert","statistics","message","to","SNS","Args",":","stats","(","list","<","StagingStatistic",">",")",":","Group","of","rule","staging","statistics","that","are","being","reported","on"]
code: def _publish_message(self, stats):
      """Publish the alert statistics message to SNS
  
      Args:
          stats (list<StagingStatistic>): Group of rule staging statistics
              that are being reported on
      """
      LOGGER.info(
          "Sending daily message digest at %s", self._current_time
      )
  
      sns_client = boto3.resource("sns").Topic(self._topic_arn)
  
      subject = (
          "Alert statistics for {} staged rule(s) [{} UTC]".format(
              len(stats), self._current_time
          )
      )
  
      sns_client.publish(
          Message=self._format_digest(stats), Subject=subject
      )
  
file_path: streamalert/streamalert/rule_promotion/publisher.py
imports: import boto3
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 5 for calling the StatsPublisher obj's underlying member method code with example usage: obj._publish_message(stats) without return types