Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PutRecordBatchResponseEntry = PutRecordBatchResponseEntry' {}
- newPutRecordBatchResponseEntry :: PutRecordBatchResponseEntry
- putRecordBatchResponseEntry_recordId :: Lens' PutRecordBatchResponseEntry (Maybe Text)
- putRecordBatchResponseEntry_errorCode :: Lens' PutRecordBatchResponseEntry (Maybe Text)
- putRecordBatchResponseEntry_errorMessage :: 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.
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:recordId:PutRecordBatchResponseEntry'
, putRecordBatchResponseEntry_recordId
- The ID of the record.
$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.
putRecordBatchResponseEntry_recordId :: Lens' PutRecordBatchResponseEntry (Maybe Text) Source #
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.