code: def create_delete_model(record):
      
      data = cloudwatch.get_historical_base_info(record)
  
      vpc_id = cloudwatch.filter_request_parameters('vpcId', record)
  
      arn = get_arn(vpc_id, cloudwatch.get_region(record), record['account'])
  
      LOG.debug(F'[-] Deleting Dynamodb Records. Hash Key: {arn}')
  
      # tombstone these records so that the deletion event time can be accurately tracked.
      data.update({
          'configuration': {}
      })
  
      items = list(CurrentVPCModel.query(arn, limit=1))
  
      if items:
          model_dict = items[0].__dict__['attribute_values'].copy()
          model_dict.update(data)
          model = CurrentVPCModel(**model_dict)
          model.save()
          return model
  
      return None
docs: Create a vpc model from a record.