aws-0.11: Amazon Web Services (AWS) for Haskell

CopyrightSoostone Inc
LicenseBSD3
MaintainerOzgun Ataman <ozgun.ataman@soostone.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Aws.DynamoDb.Commands.UpdateItem

Description

 

Synopsis

Documentation

updateItem Source

Arguments

:: Text

Table name

-> PrimaryKey

Primary key for item

-> [AttributeUpdate]

Updates for this item

-> UpdateItem 

Construct a minimal UpdateItem request.

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.