Class: Aws::DynamoDB::Types::PutRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::PutRequest
- 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
-
#item ⇒ Hash<String,Types::AttributeValue>
A map of attribute name to attribute values, representing the primary key of an item to be processed by ‘PutItem`.
Instance Attribute Details
#item ⇒ Hash<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.
4840 4841 4842 4843 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 4840 class PutRequest < Struct.new( :item) include Aws::Structure end |