vendor/bundle/ruby/2.7.0/gems/aws-record-2.6.0/lib/aws-record/record/item_operations.rb
# Deletes the item instance that matches the key values of this item
# instance in Amazon DynamoDB. Uses the
# {http://docs.aws.amazon.com/sdkforruby/api/Aws/DynamoDB/Client.html#delete_item-instance_method Aws::DynamoDB::Client#delete_item}
# API.
Deletes the item instance that matches the key values of this item
instance in Amazon DynamoDB.
Deletes the item instance that matches the key values of this item instance in Amazon DynamoDB .
def delete!
        dynamodb_client.delete_item(
          table_name: self.class.table_name,
          key: key_values
        )
        self.instance_variable_get("@data").destroyed = true
      end
def delete! dynamodb_client . delete_item ( table_name : self . class . table_name , key : key_values ) self . instance_variable_get ( "@data" ) . destroyed = true end
Deletes the item instance that matches the key values of this item
instance in Amazon DynamoDB.
Deletes the item instance that matches the key values of this item instance in Amazon DynamoDB .