| 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.SNS.Types.BatchResultErrorEntry
Description
Synopsis
- data BatchResultErrorEntry = BatchResultErrorEntry' {}
- newBatchResultErrorEntry :: Text -> Text -> Bool -> BatchResultErrorEntry
- batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text)
- batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text
- batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text
- batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool
Documentation
data BatchResultErrorEntry Source #
Gives a detailed description of failed messages in the batch.
See: newBatchResultErrorEntry smart constructor.
Constructors
| BatchResultErrorEntry' | |
Fields | |
Instances
newBatchResultErrorEntry Source #
Arguments
| :: Text | |
| -> Text | |
| -> Bool | |
| -> BatchResultErrorEntry |
Create a value of BatchResultErrorEntry 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:message:BatchResultErrorEntry', batchResultErrorEntry_message - A message explaining why the action failed on this entry.
$sel:id:BatchResultErrorEntry', batchResultErrorEntry_id - The Id of an entry in a batch request
$sel:code:BatchResultErrorEntry', batchResultErrorEntry_code - An error code representing why the action failed on this entry.
$sel:senderFault:BatchResultErrorEntry', batchResultErrorEntry_senderFault - Specifies whether the error happened due to the caller of the batch API
action.
batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text) Source #
A message explaining why the action failed on this entry.
batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text Source #
The Id of an entry in a batch request
batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text Source #
An error code representing why the action failed on this entry.
batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool Source #
Specifies whether the error happened due to the caller of the batch API action.