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.ExecuteTransaction

Description

This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL.

Synopsis

Creating a Request

data ExecuteTransaction Source #

See: newExecuteTransaction smart constructor.

Constructors

ExecuteTransaction' 

Fields

Instances

Instances details
Eq ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Read ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Show ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Generic ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Associated Types

type Rep ExecuteTransaction :: Type -> Type #

NFData ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Methods

rnf :: ExecuteTransaction -> () #

Hashable ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

ToJSON ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

AWSRequest ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Associated Types

type AWSResponse ExecuteTransaction #

ToHeaders ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

ToPath ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

ToQuery ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

type Rep ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

type Rep ExecuteTransaction = D1 ('MetaData "ExecuteTransaction" "Amazonka.DynamoDB.ExecuteTransaction" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ExecuteTransaction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transactStatements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ParameterizedStatement))))
type AWSResponse ExecuteTransaction Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

newExecuteTransaction Source #

Create a value of ExecuteTransaction 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:clientRequestToken:ExecuteTransaction', executeTransaction_clientRequestToken - Set this value to get remaining results, if NextToken was returned in the statement response.

$sel:transactStatements:ExecuteTransaction', executeTransaction_transactStatements - The list of PartiQL statements representing the transaction to run.

Request Lenses

executeTransaction_clientRequestToken :: Lens' ExecuteTransaction (Maybe Text) Source #

Set this value to get remaining results, if NextToken was returned in the statement response.

executeTransaction_transactStatements :: Lens' ExecuteTransaction (NonEmpty ParameterizedStatement) Source #

The list of PartiQL statements representing the transaction to run.

Destructuring the Response

data ExecuteTransactionResponse Source #

See: newExecuteTransactionResponse smart constructor.

Constructors

ExecuteTransactionResponse' 

Fields

Instances

Instances details
Eq ExecuteTransactionResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Read ExecuteTransactionResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Show ExecuteTransactionResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Generic ExecuteTransactionResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

Associated Types

type Rep ExecuteTransactionResponse :: Type -> Type #

NFData ExecuteTransactionResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

type Rep ExecuteTransactionResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ExecuteTransaction

type Rep ExecuteTransactionResponse = D1 ('MetaData "ExecuteTransactionResponse" "Amazonka.DynamoDB.ExecuteTransaction" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "ExecuteTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ItemResponse))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newExecuteTransactionResponse Source #

Create a value of ExecuteTransactionResponse 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:responses:ExecuteTransactionResponse', executeTransactionResponse_responses - The response to a PartiQL transaction.

$sel:httpStatus:ExecuteTransactionResponse', executeTransactionResponse_httpStatus - The response's http status code.

Response Lenses