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

Description

 
Synopsis

Documentation

data BatchStatementError Source #

An error associated with a statement in a PartiQL batch that was run.

See: newBatchStatementError smart constructor.

Constructors

BatchStatementError' 

Fields

Instances

Instances details
Eq BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

Read BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

Show BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

Generic BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

Associated Types

type Rep BatchStatementError :: Type -> Type #

NFData BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

Methods

rnf :: BatchStatementError -> () #

Hashable BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

FromJSON BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

type Rep BatchStatementError Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.BatchStatementError

type Rep BatchStatementError = D1 ('MetaData "BatchStatementError" "Amazonka.DynamoDB.Types.BatchStatementError" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "BatchStatementError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchStatementErrorCodeEnum)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBatchStatementError :: BatchStatementError Source #

Create a value of BatchStatementError 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:code:BatchStatementError', batchStatementError_code - The error code associated with the failed PartiQL batch statement.

$sel:message:BatchStatementError', batchStatementError_message - The error message associated with the PartiQL batch resposne.

batchStatementError_code :: Lens' BatchStatementError (Maybe BatchStatementErrorCodeEnum) Source #

The error code associated with the failed PartiQL batch statement.

batchStatementError_message :: Lens' BatchStatementError (Maybe Text) Source #

The error message associated with the PartiQL batch resposne.