Class: Aws::DynamoDB::Types::PutRequest

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

Overview

Note:

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

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

Represents a request to perform a ‘PutItem` operation on an item.

Instance Attribute Summary collapse

Instance Attribute Details

#itemHash<String,Types::AttributeValue>

A map of attribute name to attribute values, representing the primary key of an item to be processed by ‘PutItem`. All of the table’s primary key attributes must be specified, and their data types must match those of the table’s key schema. If any attributes are present in the item which are part of an index key schema for the table, their types must match the index key schema.

Returns:



4829
4830
4831
4832
# File 'lib/aws-sdk-dynamodb/types.rb', line 4829

class PutRequest < Struct.new(
  :item)
  include Aws::Structure
end