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

Description

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

Synopsis

Creating a Request

data BatchExecuteStatement Source #

See: newBatchExecuteStatement smart constructor.

Constructors

BatchExecuteStatement' 

Fields

Instances

Instances details
Eq BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Read BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Show BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Generic BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatement :: Type -> Type #

NFData BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Methods

rnf :: BatchExecuteStatement -> () #

Hashable BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

ToJSON BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

AWSRequest BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Associated Types

type AWSResponse BatchExecuteStatement #

ToHeaders BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

ToPath BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

ToQuery BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

type Rep BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

type Rep BatchExecuteStatement = D1 ('MetaData "BatchExecuteStatement" "Amazonka.DynamoDB.BatchExecuteStatement" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "BatchExecuteStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty BatchStatementRequest))))
type AWSResponse BatchExecuteStatement Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

newBatchExecuteStatement Source #

Create a value of BatchExecuteStatement 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:statements:BatchExecuteStatement', batchExecuteStatement_statements - The list of PartiQL statements representing the batch to run.

Request Lenses

batchExecuteStatement_statements :: Lens' BatchExecuteStatement (NonEmpty BatchStatementRequest) Source #

The list of PartiQL statements representing the batch to run.

Destructuring the Response

data BatchExecuteStatementResponse Source #

See: newBatchExecuteStatementResponse smart constructor.

Constructors

BatchExecuteStatementResponse' 

Fields

Instances

Instances details
Eq BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Read BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Show BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Generic BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

Associated Types

type Rep BatchExecuteStatementResponse :: Type -> Type #

NFData BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

type Rep BatchExecuteStatementResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.BatchExecuteStatement

type Rep BatchExecuteStatementResponse = D1 ('MetaData "BatchExecuteStatementResponse" "Amazonka.DynamoDB.BatchExecuteStatement" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "BatchExecuteStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchStatementResponse])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchExecuteStatementResponse Source #

Create a value of BatchExecuteStatementResponse 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:BatchExecuteStatementResponse', batchExecuteStatementResponse_responses - The response to each PartiQL statement in the batch.

$sel:httpStatus:BatchExecuteStatementResponse', batchExecuteStatementResponse_httpStatus - The response's http status code.

Response Lenses