| Copyright | Soostone Inc |
|---|---|
| License | BSD3 |
| Maintainer | Ozgun Ataman <ozgun.ataman@soostone.com> |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Aws.DynamoDb.Commands.UpdateItem
Description
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.
Constructors
| UpdateItem | |
Fields
| |
Instances
Arguments
| :: Text | Table name |
| -> PrimaryKey | Primary key for item |
| -> [AttributeUpdate] | Updates for this item |
| -> UpdateItem |
Construct a minimal UpdateItem request.
data AttributeUpdate Source #
Constructors
| AttributeUpdate | |
Fields
| |
Instances
| Eq AttributeUpdate Source # | |
Defined in Aws.DynamoDb.Commands.UpdateItem Methods (==) :: AttributeUpdate -> AttributeUpdate -> Bool Source # (/=) :: AttributeUpdate -> AttributeUpdate -> Bool Source # | |
| Ord AttributeUpdate Source # | |
Defined in Aws.DynamoDb.Commands.UpdateItem Methods compare :: AttributeUpdate -> AttributeUpdate -> Ordering Source # (<) :: AttributeUpdate -> AttributeUpdate -> Bool Source # (<=) :: AttributeUpdate -> AttributeUpdate -> Bool Source # (>) :: AttributeUpdate -> AttributeUpdate -> Bool Source # (>=) :: AttributeUpdate -> AttributeUpdate -> Bool Source # max :: AttributeUpdate -> AttributeUpdate -> AttributeUpdate Source # min :: AttributeUpdate -> AttributeUpdate -> AttributeUpdate Source # | |
| Read AttributeUpdate Source # | |
Defined in Aws.DynamoDb.Commands.UpdateItem | |
| Show AttributeUpdate Source # | |
Defined in Aws.DynamoDb.Commands.UpdateItem | |
| DynSize AttributeUpdate Source # | |
Defined in Aws.DynamoDb.Commands.UpdateItem Methods dynSize :: AttributeUpdate -> Int Source # | |
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
Constructors
| 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 #
Constructors
| UpdateItemResponse | |
Fields
| |