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.

Constant Summary collapse

SENSITIVE =
[]

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 that are part of an index key schema for the table, their types must match the index key schema.

Returns:


6305
6306
6307
6308
6309
# File 'lib/aws-sdk-dynamodb/types.rb', line 6305

class PutRequest < Struct.new(
  :item)
  SENSITIVE = []
  include Aws::Structure
end