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

Fields

Instances

Instances details
Eq UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Methods

(==) :: UpdateItem -> UpdateItem -> Bool

(/=) :: UpdateItem -> UpdateItem -> Bool

Ord UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Read UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Methods

readsPrec :: Int -> ReadS UpdateItem

readList :: ReadS [UpdateItem]

readPrec :: ReadPrec UpdateItem

readListPrec :: ReadPrec [UpdateItem]

Show UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Methods

showsPrec :: Int -> UpdateItem -> ShowS

show :: UpdateItem -> String

showList :: [UpdateItem] -> ShowS

ToJSON UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

SignQuery UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Associated Types

type ServiceConfiguration UpdateItem :: Type -> Type Source #

Transaction UpdateItem UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ServiceConfiguration UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.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

Instances details
Eq UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Ord UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Read UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Show UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Methods

showsPrec :: Int -> UpdateItemResponse -> ShowS

show :: UpdateItemResponse -> String

showList :: [UpdateItemResponse] -> ShowS

FromJSON UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

AsMemoryResponse UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Transaction UpdateItem UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

ResponseConsumer r UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type MemoryResponse UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ResponseMetadata UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem