class_docstr: Provides convenience methods for accessing and modifying the rules table.
class_docstr_tok: ["Provides","convenience","methods","for","accessing","and","modifying","the","rules","table","."]
docstr: Load the given table to be used for rule information updates
  
  Args:
      table_name (str): The name of the DynamoDB table from which to load
          rule info
      rule_import_paths (str): Variable number of paths to import rules
          from. Useful for using this as a standalone class. Items for this
          can be ommitted if instantiated from a caller that has already
          loaded the rules files.
docstr_tok: ["Load","the","given","table","to","be","used","for","rule","information","updates","Args",":","table_name","(","str",")",":","The","name","of","the","DynamoDB","table","from","which","to","load","rule","info","rule_import_paths","(","str",")",":","Variable","number","of","paths","to","import","rules","from",".","Useful","for","using","this","as","a","standalone","class",".","Items","for","this","can","be","ommitted","if","instantiated","from","a","caller","that","has","already","loaded","the","rules","files","."]
code: def __init__(self, table_name, *rule_import_paths):
      """Load the given table to be used for rule information updates
  
      Args:
          table_name (str): The name of the DynamoDB table from which to load
              rule info
          rule_import_paths (str): Variable number of paths to import rules
              from. Useful for using this as a standalone class. Items for this
              can be ommitted if instantiated from a caller that has already
              loaded the rules files.
      """
      self._table = boto3.resource("dynamodb").Table(table_name)
      import_folders(*rule_import_paths)
      self._remote_rule_info = None
  
imports: from datetime import datetime, timedelta
  import boto3
  from streamalert.shared.helpers.dynamodb import ignore_conditional_failure
  from streamalert.shared.importer import import_folders
  from streamalert.shared.logger import get_logger
  from streamalert.shared.rule import Rule
label_desc: Use image node_id 1 to create a new RuleTable object  with example: obj = RuleTable(table_name)