libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DynamoDB.Types.TransactWriteItem

Description

 
Synopsis

Documentation

data TransactWriteItem Source #

A list of requests that can perform update, put, delete, or check operations on multiple items in one or more tables atomically.

See: newTransactWriteItem smart constructor.

Constructors

TransactWriteItem' 

Fields

Instances

Instances details
Eq TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

Read TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

Show TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

Generic TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

Associated Types

type Rep TransactWriteItem :: Type -> Type #

NFData TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

Methods

rnf :: TransactWriteItem -> () #

Hashable TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

ToJSON TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

type Rep TransactWriteItem Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.TransactWriteItem

type Rep TransactWriteItem = D1 ('MetaData "TransactWriteItem" "Amazonka.DynamoDB.Types.TransactWriteItem" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "TransactWriteItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "conditionCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConditionCheck)) :*: S1 ('MetaSel ('Just "put") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Put))) :*: (S1 ('MetaSel ('Just "delete'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Delete)) :*: S1 ('MetaSel ('Just "update") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Update)))))

newTransactWriteItem :: TransactWriteItem Source #

Create a value of TransactWriteItem with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:conditionCheck:TransactWriteItem', transactWriteItem_conditionCheck - A request to perform a check item operation.

$sel:put:TransactWriteItem', transactWriteItem_put - A request to perform a PutItem operation.

$sel:delete':TransactWriteItem', transactWriteItem_delete - A request to perform a DeleteItem operation.

$sel:update:TransactWriteItem', transactWriteItem_update - A request to perform an UpdateItem operation.

transactWriteItem_conditionCheck :: Lens' TransactWriteItem (Maybe ConditionCheck) Source #

A request to perform a check item operation.

transactWriteItem_put :: Lens' TransactWriteItem (Maybe Put) Source #

A request to perform a PutItem operation.

transactWriteItem_delete :: Lens' TransactWriteItem (Maybe Delete) Source #

A request to perform a DeleteItem operation.

transactWriteItem_update :: Lens' TransactWriteItem (Maybe Update) Source #

A request to perform an UpdateItem operation.