code: def handler(event, context):  # pylint: disable=W0613
      
      # De-serialize the records:
      records = deserialize_records(event['Records'])
  
      for record in records:
          process_dynamodb_differ_record(record, CurrentSecurityGroupModel, DurableSecurityGroupModel)
docs: Historical security group event differ.
  
      Listens to the Historical current table and determines if there are differences that need to be persisted in the
      historical record.