You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DynamoDB::Types::PutRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::PutRequest
- Defined in:
- (unknown)
Overview
When passing PutRequest as input to an Aws::Client method, you can use a vanilla 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.
Returned by:
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
that are part of an index key schema for the table, their types must
match the index key schema.