Copyright | Soostone Inc |
---|---|
License | BSD3 |
Maintainer | Ozgun Ataman <ozgun.ataman@soostone.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data UpdateItem = UpdateItem {}
- updateItem :: Text -> PrimaryKey -> [AttributeUpdate] -> UpdateItem
- data AttributeUpdate = AttributeUpdate {}
- au :: Attribute -> AttributeUpdate
- data UpdateAction
- data UpdateItemResponse = UpdateItemResponse {}
Documentation
data UpdateItem Source #
An UpdateItem
request.
UpdateItem | |
|
Instances
:: Text | Table name |
-> PrimaryKey | Primary key for item |
-> [AttributeUpdate] | Updates for this item |
-> UpdateItem |
Construct a minimal UpdateItem
request.
data AttributeUpdate Source #
AttributeUpdate | |
|
Instances
au :: Attribute -> AttributeUpdate Source #
Shorthand for the AttributeUpdate
constructor. Defaults to PUT
for the update action.
data UpdateAction Source #
Type of attribute update to perform.
See AWS docs at:
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html
UPut | Simpley write, overwriting any previous value |
UAdd | Numerical add or add to set. |
UDelete | Empty value: remove; Set value: Subtract from set. |
Instances
data UpdateItemResponse Source #
UpdateItemResponse | |
|