| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Firehose.Types.PutRecordBatchResponseEntry
Description
Synopsis
- data PutRecordBatchResponseEntry = PutRecordBatchResponseEntry' {}
- newPutRecordBatchResponseEntry :: PutRecordBatchResponseEntry
- putRecordBatchResponseEntry_errorCode :: Lens' PutRecordBatchResponseEntry (Maybe Text)
- putRecordBatchResponseEntry_errorMessage :: Lens' PutRecordBatchResponseEntry (Maybe Text)
- putRecordBatchResponseEntry_recordId :: Lens' PutRecordBatchResponseEntry (Maybe Text)
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' | |
Instances
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.
putRecordBatchResponseEntry_recordId :: Lens' PutRecordBatchResponseEntry (Maybe Text) Source #
The ID of the record.