libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Read NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Show 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 #

NFData NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

Hashable NotifyWorkersFailureStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureStatus

FromJSON 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" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "NotifyWorkersFailureStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notifyWorkersFailureMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notifyWorkersFailureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotifyWorkersFailureCode)) :*: 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:notifyWorkersFailureMessage:NotifyWorkersFailureStatus', notifyWorkersFailureStatus_notifyWorkersFailureMessage - A message detailing the reason the Worker could not be notified.

$sel:notifyWorkersFailureCode:NotifyWorkersFailureStatus', notifyWorkersFailureStatus_notifyWorkersFailureCode - Encoded value for the failure type.

$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.