amazonka-kinesis-firehose-2.0: Amazon Kinesis Firehose SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Firehose.Types.PutRecordBatchResponseEntry

Description

 
Synopsis

Documentation

data PutRecordBatchResponseEntry Source #

Contains the result for an individual record from a PutRecordBatch request. If the record is successfully added to your delivery stream, it receives a record ID. If the record fails to be added to your delivery stream, the result includes an error code and an error message.

See: newPutRecordBatchResponseEntry smart constructor.

Constructors

PutRecordBatchResponseEntry' 

Fields

Instances

Instances details
FromJSON PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

Generic PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

Associated Types

type Rep PutRecordBatchResponseEntry :: Type -> Type #

Read PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

Show PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

NFData PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

Eq PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

Hashable PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

type Rep PutRecordBatchResponseEntry Source # 
Instance details

Defined in Amazonka.Firehose.Types.PutRecordBatchResponseEntry

type Rep PutRecordBatchResponseEntry = D1 ('MetaData "PutRecordBatchResponseEntry" "Amazonka.Firehose.Types.PutRecordBatchResponseEntry" "amazonka-kinesis-firehose-2.0-6l1hHmh2UnHBvolxuQFkWB" 'False) (C1 ('MetaCons "PutRecordBatchResponseEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recordId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPutRecordBatchResponseEntry :: PutRecordBatchResponseEntry Source #

Create a value of PutRecordBatchResponseEntry 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:errorCode:PutRecordBatchResponseEntry', putRecordBatchResponseEntry_errorCode - The error code for an individual record result.

$sel:errorMessage:PutRecordBatchResponseEntry', putRecordBatchResponseEntry_errorMessage - The error message for an individual record result.

$sel:recordId:PutRecordBatchResponseEntry', putRecordBatchResponseEntry_recordId - The ID of the record.

putRecordBatchResponseEntry_errorCode :: Lens' PutRecordBatchResponseEntry (Maybe Text) Source #

The error code for an individual record result.

putRecordBatchResponseEntry_errorMessage :: Lens' PutRecordBatchResponseEntry (Maybe Text) Source #

The error message for an individual record result.