code: def create_delete_model(record):
      
      data = cloudwatch.get_historical_base_info(record)
  
      # TODO get tech ID
      # Example::
      #    group_id = cloudwatch.filter_request_parameters('groupId', record)
      #    vpc_id = cloudwatch.filter_request_parameters('vpcId', record)
      #    group_name = cloudwatch.filter_request_parameters('groupName', record)
  
      tech_id = None
      arn = get_arn(tech_id, record['account'])
  
      log.debug('Deleting Dynamodb Records. Hash Key: {arn}'.format(arn=arn))
  
      # tombstone these records so that the deletion event time can be accurately tracked.
      data.update({
          'configuration': {}
      })
  
      items = list(Current{{cookiecutter.technology_slug | titlecase}}Model.query(arn, limit=1))
  
      if items:
          model_dict = items[0].__dict__['attribute_values'].copy()
          model_dict.update(data)
          model = Current{{cookiecutter.technology_slug | titlecase }}Model(**model_dict)
          model.save()
          return model
docs: Create a {{cookiecutter.technology_name}} model from a record.