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 BatchResultErrorEntry = BatchResultErrorEntry' {}
- newBatchResultErrorEntry :: Text -> Bool -> Text -> BatchResultErrorEntry
- batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text)
- batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text
- batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool
- batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text
Documentation
data BatchResultErrorEntry Source #
Gives a detailed description of the result of an action on each entry in the request.
See: newBatchResultErrorEntry
smart constructor.
Instances
newBatchResultErrorEntry Source #
:: Text | |
-> Bool | |
-> Text | |
-> 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:senderFault:BatchResultErrorEntry'
, batchResultErrorEntry_senderFault
- Specifies whether the error happened due to the caller of the batch API
action.
$sel:code:BatchResultErrorEntry'
, batchResultErrorEntry_code
- An error code representing why the action failed on this entry.
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_senderFault :: Lens' BatchResultErrorEntry Bool Source #
Specifies whether the error happened due to the caller of the batch API action.
batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text Source #
An error code representing why the action failed on this entry.