libZSservicesZSamazonka-honeycodeZSamazonka-honeycode
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.HoneyCode.Types.FailedBatchItem

Description

 
Synopsis

Documentation

data FailedBatchItem Source #

A single item in a batch that failed to perform the intended action because of an error preventing it from succeeding.

See: newFailedBatchItem smart constructor.

Constructors

FailedBatchItem' 

Fields

  • id :: Text

    The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.

  • errorMessage :: Text

    The error message that indicates why the batch item failed.

Instances

Instances details
Eq FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

Read FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

Show FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

Generic FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

Associated Types

type Rep FailedBatchItem :: Type -> Type #

NFData FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

Methods

rnf :: FailedBatchItem -> () #

Hashable FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

FromJSON FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

type Rep FailedBatchItem Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.FailedBatchItem

type Rep FailedBatchItem = D1 ('MetaData "FailedBatchItem" "Amazonka.HoneyCode.Types.FailedBatchItem" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "FailedBatchItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newFailedBatchItem Source #

Create a value of FailedBatchItem 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:id:FailedBatchItem', failedBatchItem_id - The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.

$sel:errorMessage:FailedBatchItem', failedBatchItem_errorMessage - The error message that indicates why the batch item failed.

failedBatchItem_id :: Lens' FailedBatchItem Text Source #

The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.

failedBatchItem_errorMessage :: Lens' FailedBatchItem Text Source #

The error message that indicates why the batch item failed.