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 |
Synopsis
- data NotifyWorkersFailureStatus = NotifyWorkersFailureStatus' {}
- newNotifyWorkersFailureStatus :: NotifyWorkersFailureStatus
- notifyWorkersFailureStatus_notifyWorkersFailureCode :: Lens' NotifyWorkersFailureStatus (Maybe NotifyWorkersFailureCode)
- notifyWorkersFailureStatus_notifyWorkersFailureMessage :: Lens' NotifyWorkersFailureStatus (Maybe Text)
- notifyWorkersFailureStatus_workerId :: Lens' NotifyWorkersFailureStatus (Maybe Text)
Documentation
data NotifyWorkersFailureStatus Source #
When MTurk encounters an issue with notifying the Workers you specified, it returns back this object with failure details.
See: newNotifyWorkersFailureStatus
smart constructor.
NotifyWorkersFailureStatus' | |
|
Instances
newNotifyWorkersFailureStatus :: NotifyWorkersFailureStatus Source #
Create a value of NotifyWorkersFailureStatus
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:notifyWorkersFailureCode:NotifyWorkersFailureStatus'
, notifyWorkersFailureStatus_notifyWorkersFailureCode
- Encoded value for the failure type.
$sel:notifyWorkersFailureMessage:NotifyWorkersFailureStatus'
, notifyWorkersFailureStatus_notifyWorkersFailureMessage
- A message detailing the reason the Worker could not be notified.
$sel:workerId:NotifyWorkersFailureStatus'
, notifyWorkersFailureStatus_workerId
- The ID of the Worker.
notifyWorkersFailureStatus_notifyWorkersFailureCode :: Lens' NotifyWorkersFailureStatus (Maybe NotifyWorkersFailureCode) Source #
Encoded value for the failure type.
notifyWorkersFailureStatus_notifyWorkersFailureMessage :: Lens' NotifyWorkersFailureStatus (Maybe Text) Source #
A message detailing the reason the Worker could not be notified.
notifyWorkersFailureStatus_workerId :: Lens' NotifyWorkersFailureStatus (Maybe Text) Source #
The ID of the Worker.