aws-0.20: 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

data UpdateItem Source #

An UpdateItem request.

Constructors

UpdateItem 

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.

data UpdateItemResponse Source #

Constructors

UpdateItemResponse 

Fields

Instances

Eq UpdateItemResponse Source # 
Ord UpdateItemResponse Source # 
Read UpdateItemResponse Source # 
Show UpdateItemResponse Source # 
FromJSON UpdateItemResponse Source # 
AsMemoryResponse UpdateItemResponse Source # 
Transaction UpdateItem UpdateItemResponse Source # 
ResponseConsumer r UpdateItemResponse Source # 
type MemoryResponse UpdateItemResponse Source # 
type ResponseMetadata UpdateItemResponse Source #