code: def capture_delete_records(records):
      
      for r in records:
          model = create_delete_model(r)
          if model:
              try:
                  model.delete(eventTime__le=r['detail']['eventTime'])
              except DeleteError as e:
                  log.warning('Unable to delete {{cookiecutter.technology_name}}. {{cookiecutter.technology_name}} does not exist. Record: {record}'.format(
                      record=r
                  ))
          else:
              log.warning('Unable to delete {{cookiecutter.technology_name}}. {{cookiecutter.technology_name}} does not exist. Record: {record}'.format(
                  record=r
              ))
docs: Writes all of our delete events to DynamoDB.