Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data PutRequest Source #
Represents a request to perform a PutItem
operation on an item.
See: newPutRequest
smart constructor.
PutRequest' | |
|
Instances
newPutRequest :: PutRequest Source #
Create a value of PutRequest
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:item:PutRequest'
, putRequest_item
- 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.
putRequest_item :: Lens' PutRequest (HashMap Text AttributeValue) Source #
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.