You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DynamoDB::Types::DeleteRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb

Overview

Note:

When making an API call, you may pass DeleteRequest data as a hash:

{
  key: { # required
    "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
  },
}

Represents a request to perform a DeleteItem operation on an item.

Instance Attribute Summary collapse

Instance Attribute Details

#keyHash<String,Types::AttributeValue>

A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

Returns:



1597
1598
1599
1600
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb', line 1597

class DeleteRequest < Struct.new(
  :key)
  include Aws::Structure
end