Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka.com> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data WriteRequest Source #
Represents an operation to perform - either DeleteItem
or PutItem
.
You can only request one of these operations, not both, in a single
WriteRequest
. If you do need to perform both of these operations, you
need to provide two separate WriteRequest
objects.
For more information, see WriteRequest in the Amazon DynamoDB Developer Guide.
DeleteRequest (Map Text AttributeValue) | A request to perform a A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. |
PutRequest (Map Text AttributeValue) | A request to perform a A map of attribute name to attribute values, representing the primary
key of an item to be processed by |