class_docstr: Provides convenience methods for accessing and modifying the alerts table.
docstr: Get a single alert record from the alerts table.
  
  Args:
      rule_name (str): Name of the rule the alert triggered on
      alert_id (str): Alert UUID
  
  Returns:
      (dict): Dynamo record corresponding to this alert, or None if the alert was not found.
docstr_tok: ["Get","a","single","alert","record","from","the","alerts","table",".","Args",":","rule_name","(","str",")",":","Name","of","the","rule","the","alert","triggered","on","alert_id","(","str",")",":","Alert","UUID","Returns",":","(","dict",")",":","Dynamo","record","corresponding","to","this","alert",",","or","None","if","the","alert","was","not","found","."]
code: def get_alert_record(self, rule_name, alert_id):
      """Get a single alert record from the alerts table.
  
      Args:
          rule_name (str): Name of the rule the alert triggered on
          alert_id (str): Alert UUID
  
      Returns:
          (dict): Dynamo record corresponding to this alert, or None if the alert was not found.
      """
      kwargs = {
          "ConsistentRead": True,
          "KeyConditionExpression": Key("RuleName").eq(rule_name)
          & Key("AlertID").eq(alert_id),
      }
      items = list(self._paginate(self._table.query, kwargs))
      return items[0] if items else {}
  
file_path: streamalert/streamalert/shared/alert_table.py
imports: from datetime import datetime, timedelta
  import boto3
  from boto3.dynamodb.conditions import Attr, Key
  from streamalert.shared.alert import Alert
  from streamalert.shared.helpers.dynamodb import ignore_conditional_failure
label_desc: Use image node_id 6 for calling the AlertTable obj's underlying member method code with example usage: obj.get_alert_record(rule_name, alert_id) and returns: unknown