amazonka-mechanicalturk-2.0: Amazon Mechanical Turk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Description

 
Synopsis

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.

Constructors

NotifyWorkersFailureStatus' 

Fields

Instances

Instances details
FromJSON NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Generic NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Associated Types

type Rep NotifyWorkersFailureStatus :: Type -> Type #

Read NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Show NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

NFData NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Eq NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Hashable NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

type Rep NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

type Rep NotifyWorkersFailureStatus = D1 ('MetaData "NotifyWorkersFailureStatus" "Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "NotifyWorkersFailureStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notifyWorkersFailureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotifyWorkersFailureCode)) :*: (S1 ('MetaSel ('Just "notifyWorkersFailureMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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_notifyWorkersFailureMessage :: Lens' NotifyWorkersFailureStatus (Maybe Text) Source #

A message detailing the reason the Worker could not be notified.