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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-01-17 of the Amazon Mechanical Turk SDK configuration.

Errors

_ServiceFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.

_RequestError :: AsError a => Getting (First ServiceError) a ServiceError Source #

Your request is invalid.

AssignmentStatus

newtype AssignmentStatus Source #

Instances

Instances details
Eq AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

Ord AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

Read AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

Show AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

Generic AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

Associated Types

type Rep AssignmentStatus :: Type -> Type #

NFData AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

Methods

rnf :: AssignmentStatus -> () #

Hashable AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToJSON AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToJSONKey AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

FromJSON AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

FromJSONKey AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToLog AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToHeader AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToQuery AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

FromXML AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToXML AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToByteString AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

FromText AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

ToText AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

type Rep AssignmentStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.AssignmentStatus

type Rep AssignmentStatus = D1 ('MetaData "AssignmentStatus" "Amazonka.MechanicalTurk.Types.AssignmentStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "AssignmentStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAssignmentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Comparator

newtype Comparator Source #

Constructors

Comparator' 

Fields

Instances

Instances details
Eq Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Ord Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Read Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Show Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Generic Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Associated Types

type Rep Comparator :: Type -> Type #

NFData Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Methods

rnf :: Comparator -> () #

Hashable Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToJSON Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToJSONKey Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

FromJSON Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

FromJSONKey Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToLog Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToHeader Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToQuery Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

FromXML Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToXML Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Methods

toXML :: Comparator -> XML #

ToByteString Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

FromText Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

ToText Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

Methods

toText :: Comparator -> Text #

type Rep Comparator Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Comparator

type Rep Comparator = D1 ('MetaData "Comparator" "Amazonka.MechanicalTurk.Types.Comparator" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "Comparator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromComparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventType

newtype EventType Source #

Constructors

EventType' 

Fields

Instances

Instances details
Eq EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Ord EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Read EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Generic EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

NFData EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Methods

rnf :: EventType -> () #

Hashable EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToJSON EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToJSONKey EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

FromJSON EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

FromJSONKey EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToLog EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToHeader EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToQuery EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

FromXML EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToXML EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Methods

toXML :: EventType -> XML #

ToByteString EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Methods

toBS :: EventType -> ByteString #

FromText EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

ToText EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

Methods

toText :: EventType -> Text #

type Rep EventType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.EventType

type Rep EventType = D1 ('MetaData "EventType" "Amazonka.MechanicalTurk.Types.EventType" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HITAccessActions

newtype HITAccessActions Source #

Instances

Instances details
Eq HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

Ord HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

Read HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

Show HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

Generic HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

Associated Types

type Rep HITAccessActions :: Type -> Type #

NFData HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

Methods

rnf :: HITAccessActions -> () #

Hashable HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToJSON HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToJSONKey HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

FromJSON HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

FromJSONKey HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToLog HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToHeader HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToQuery HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

FromXML HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToXML HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToByteString HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

FromText HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

ToText HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

type Rep HITAccessActions Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITAccessActions

type Rep HITAccessActions = D1 ('MetaData "HITAccessActions" "Amazonka.MechanicalTurk.Types.HITAccessActions" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "HITAccessActions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHITAccessActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HITReviewStatus

newtype HITReviewStatus Source #

Constructors

HITReviewStatus' 

Instances

Instances details
Eq HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Ord HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Read HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Show HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Generic HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Associated Types

type Rep HITReviewStatus :: Type -> Type #

NFData HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Methods

rnf :: HITReviewStatus -> () #

Hashable HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToJSON HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToJSONKey HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

FromJSON HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

FromJSONKey HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToLog HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToHeader HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToQuery HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

FromXML HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToXML HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

Methods

toXML :: HITReviewStatus -> XML #

ToByteString HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

FromText HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

ToText HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

type Rep HITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITReviewStatus

type Rep HITReviewStatus = D1 ('MetaData "HITReviewStatus" "Amazonka.MechanicalTurk.Types.HITReviewStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "HITReviewStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHITReviewStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

HITStatus

newtype HITStatus Source #

Constructors

HITStatus' 

Fields

Instances

Instances details
Eq HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Ord HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Read HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Show HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Generic HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Associated Types

type Rep HITStatus :: Type -> Type #

NFData HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Methods

rnf :: HITStatus -> () #

Hashable HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToJSON HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToJSONKey HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

FromJSON HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

FromJSONKey HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToLog HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToHeader HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToQuery HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

FromXML HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToXML HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Methods

toXML :: HITStatus -> XML #

ToByteString HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Methods

toBS :: HITStatus -> ByteString #

FromText HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

ToText HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

Methods

toText :: HITStatus -> Text #

type Rep HITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITStatus

type Rep HITStatus = D1 ('MetaData "HITStatus" "Amazonka.MechanicalTurk.Types.HITStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "HITStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromHITStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NotificationTransport

newtype NotificationTransport Source #

Instances

Instances details
Eq NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

Ord NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

Read NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

Show NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

Generic NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

Associated Types

type Rep NotificationTransport :: Type -> Type #

NFData NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

Methods

rnf :: NotificationTransport -> () #

Hashable NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToJSON NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToJSONKey NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

FromJSON NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

FromJSONKey NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToLog NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToHeader NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToQuery NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

FromXML NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToXML NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToByteString NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

FromText NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

ToText NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

type Rep NotificationTransport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationTransport

type Rep NotificationTransport = D1 ('MetaData "NotificationTransport" "Amazonka.MechanicalTurk.Types.NotificationTransport" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "NotificationTransport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNotificationTransport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

NotifyWorkersFailureCode

newtype NotifyWorkersFailureCode Source #

Instances

Instances details
Eq NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

Ord NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

Read NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

Show NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

Generic NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

Associated Types

type Rep NotifyWorkersFailureCode :: Type -> Type #

NFData NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

Hashable NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToJSON NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToJSONKey NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

FromJSON NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

FromJSONKey NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToLog NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToHeader NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToQuery NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

FromXML NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToXML NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToByteString NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

FromText NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

ToText NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

type Rep NotifyWorkersFailureCode Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode

type Rep NotifyWorkersFailureCode = D1 ('MetaData "NotifyWorkersFailureCode" "Amazonka.MechanicalTurk.Types.NotifyWorkersFailureCode" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "NotifyWorkersFailureCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromNotifyWorkersFailureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QualificationStatus

newtype QualificationStatus Source #

Instances

Instances details
Eq QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

Ord QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

Read QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

Show QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

Generic QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

Associated Types

type Rep QualificationStatus :: Type -> Type #

NFData QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

Methods

rnf :: QualificationStatus -> () #

Hashable QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToJSON QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToJSONKey QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

FromJSON QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

FromJSONKey QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToLog QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToHeader QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToQuery QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

FromXML QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToXML QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToByteString QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

FromText QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

ToText QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

type Rep QualificationStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationStatus

type Rep QualificationStatus = D1 ('MetaData "QualificationStatus" "Amazonka.MechanicalTurk.Types.QualificationStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "QualificationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQualificationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QualificationTypeStatus

newtype QualificationTypeStatus Source #

Instances

Instances details
Eq QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

Ord QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

Read QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

Show QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

Generic QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

Associated Types

type Rep QualificationTypeStatus :: Type -> Type #

NFData QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

Methods

rnf :: QualificationTypeStatus -> () #

Hashable QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToJSON QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToJSONKey QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

FromJSON QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

FromJSONKey QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToLog QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToHeader QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToQuery QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

FromXML QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToXML QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToByteString QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

FromText QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

ToText QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

type Rep QualificationTypeStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationTypeStatus

type Rep QualificationTypeStatus = D1 ('MetaData "QualificationTypeStatus" "Amazonka.MechanicalTurk.Types.QualificationTypeStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "QualificationTypeStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQualificationTypeStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReviewActionStatus

newtype ReviewActionStatus Source #

Instances

Instances details
Eq ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

Ord ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

Read ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

Show ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

Generic ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

Associated Types

type Rep ReviewActionStatus :: Type -> Type #

NFData ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

Methods

rnf :: ReviewActionStatus -> () #

Hashable ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToJSON ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToJSONKey ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

FromJSON ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

FromJSONKey ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToLog ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToHeader ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToQuery ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

FromXML ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToXML ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToByteString ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

FromText ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

ToText ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

type Rep ReviewActionStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionStatus

type Rep ReviewActionStatus = D1 ('MetaData "ReviewActionStatus" "Amazonka.MechanicalTurk.Types.ReviewActionStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "ReviewActionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReviewActionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReviewPolicyLevel

newtype ReviewPolicyLevel Source #

Instances

Instances details
Eq ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

Ord ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

Read ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

Show ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

Generic ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

Associated Types

type Rep ReviewPolicyLevel :: Type -> Type #

NFData ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

Methods

rnf :: ReviewPolicyLevel -> () #

Hashable ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToJSON ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToJSONKey ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

FromJSON ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

FromJSONKey ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToLog ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToHeader ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToQuery ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

FromXML ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToXML ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToByteString ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

FromText ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

ToText ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

type Rep ReviewPolicyLevel Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicyLevel

type Rep ReviewPolicyLevel = D1 ('MetaData "ReviewPolicyLevel" "Amazonka.MechanicalTurk.Types.ReviewPolicyLevel" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "ReviewPolicyLevel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReviewPolicyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReviewableHITStatus

newtype ReviewableHITStatus Source #

Instances

Instances details
Eq ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

Ord ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

Read ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

Show ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

Generic ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

Associated Types

type Rep ReviewableHITStatus :: Type -> Type #

NFData ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

Methods

rnf :: ReviewableHITStatus -> () #

Hashable ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToJSON ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToJSONKey ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

FromJSON ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

FromJSONKey ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToLog ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToHeader ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToQuery ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

FromXML ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToXML ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToByteString ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

FromText ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

ToText ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

type Rep ReviewableHITStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewableHITStatus

type Rep ReviewableHITStatus = D1 ('MetaData "ReviewableHITStatus" "Amazonka.MechanicalTurk.Types.ReviewableHITStatus" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'True) (C1 ('MetaCons "ReviewableHITStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReviewableHITStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Assignment

data Assignment Source #

The Assignment data structure represents a single assignment of a HIT to a Worker. The assignment tracks the Worker's efforts to complete the HIT, and contains the results for later retrieval.

See: newAssignment smart constructor.

Constructors

Assignment' 

Fields

  • acceptTime :: Maybe POSIX

    The date and time the Worker accepted the assignment.

  • answer :: Maybe Text

    The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

  • assignmentStatus :: Maybe AssignmentStatus

    The status of the assignment.

  • requesterFeedback :: Maybe Text

    The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

  • deadline :: Maybe POSIX

    The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

  • approvalTime :: Maybe POSIX

    If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

  • rejectionTime :: Maybe POSIX

    If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

  • autoApprovalTime :: Maybe POSIX

    If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

  • hITId :: Maybe Text

    The ID of the HIT.

  • workerId :: Maybe Text

    The ID of the Worker who accepted the HIT.

  • assignmentId :: Maybe Text

    A unique identifier for the assignment.

  • submitTime :: Maybe POSIX

    If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Instances

Instances details
Eq Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

Read Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

Show Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

Generic Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

Associated Types

type Rep Assignment :: Type -> Type #

NFData Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

Methods

rnf :: Assignment -> () #

Hashable Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

FromJSON Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

type Rep Assignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Assignment

type Rep Assignment = D1 ('MetaData "Assignment" "Amazonka.MechanicalTurk.Types.Assignment" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "Assignment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "acceptTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "answer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assignmentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssignmentStatus)))) :*: (S1 ('MetaSel ('Just "requesterFeedback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deadline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "approvalTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "rejectionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "autoApprovalTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "hITId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assignmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newAssignment :: Assignment Source #

Create a value of Assignment 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:acceptTime:Assignment', assignment_acceptTime - The date and time the Worker accepted the assignment.

$sel:answer:Assignment', assignment_answer - The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

$sel:assignmentStatus:Assignment', assignment_assignmentStatus - The status of the assignment.

$sel:requesterFeedback:Assignment', assignment_requesterFeedback - The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

$sel:deadline:Assignment', assignment_deadline - The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

$sel:approvalTime:Assignment', assignment_approvalTime - If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

$sel:rejectionTime:Assignment', assignment_rejectionTime - If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

$sel:autoApprovalTime:Assignment', assignment_autoApprovalTime - If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

$sel:hITId:Assignment', assignment_hITId - The ID of the HIT.

$sel:workerId:Assignment', assignment_workerId - The ID of the Worker who accepted the HIT.

$sel:assignmentId:Assignment', assignment_assignmentId - A unique identifier for the assignment.

$sel:submitTime:Assignment', assignment_submitTime - If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

assignment_acceptTime :: Lens' Assignment (Maybe UTCTime) Source #

The date and time the Worker accepted the assignment.

assignment_answer :: Lens' Assignment (Maybe Text) Source #

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

assignment_requesterFeedback :: Lens' Assignment (Maybe Text) Source #

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

assignment_deadline :: Lens' Assignment (Maybe UTCTime) Source #

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

assignment_approvalTime :: Lens' Assignment (Maybe UTCTime) Source #

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

assignment_rejectionTime :: Lens' Assignment (Maybe UTCTime) Source #

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

assignment_autoApprovalTime :: Lens' Assignment (Maybe UTCTime) Source #

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

assignment_workerId :: Lens' Assignment (Maybe Text) Source #

The ID of the Worker who accepted the HIT.

assignment_assignmentId :: Lens' Assignment (Maybe Text) Source #

A unique identifier for the assignment.

assignment_submitTime :: Lens' Assignment (Maybe UTCTime) Source #

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

BonusPayment

data BonusPayment Source #

An object representing a Bonus payment paid to a Worker.

See: newBonusPayment smart constructor.

Constructors

BonusPayment' 

Fields

Instances

Instances details
Eq BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Read BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Show BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Generic BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Associated Types

type Rep BonusPayment :: Type -> Type #

NFData BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

Methods

rnf :: BonusPayment -> () #

Hashable BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

FromJSON BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

type Rep BonusPayment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.BonusPayment

type Rep BonusPayment = D1 ('MetaData "BonusPayment" "Amazonka.MechanicalTurk.Types.BonusPayment" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "BonusPayment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "grantTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assignmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bonusAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newBonusPayment :: BonusPayment Source #

Create a value of BonusPayment 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:reason:BonusPayment', bonusPayment_reason - The Reason text given when the bonus was granted, if any.

$sel:grantTime:BonusPayment', bonusPayment_grantTime - The date and time of when the bonus was granted.

$sel:workerId:BonusPayment', bonusPayment_workerId - The ID of the Worker to whom the bonus was paid.

$sel:assignmentId:BonusPayment', bonusPayment_assignmentId - The ID of the assignment associated with this bonus payment.

$sel:bonusAmount:BonusPayment', bonusPayment_bonusAmount - Undocumented member.

bonusPayment_reason :: Lens' BonusPayment (Maybe Text) Source #

The Reason text given when the bonus was granted, if any.

bonusPayment_grantTime :: Lens' BonusPayment (Maybe UTCTime) Source #

The date and time of when the bonus was granted.

bonusPayment_workerId :: Lens' BonusPayment (Maybe Text) Source #

The ID of the Worker to whom the bonus was paid.

bonusPayment_assignmentId :: Lens' BonusPayment (Maybe Text) Source #

The ID of the assignment associated with this bonus payment.

HIT

data HIT Source #

The HIT data structure represents a single HIT, including all the information necessary for a Worker to accept and complete the HIT.

See: newHIT smart constructor.

Constructors

HIT' 

Fields

  • creationTime :: Maybe POSIX

    The date and time the HIT was created.

  • hITGroupId :: Maybe Text

    The ID of the HIT Group of this HIT.

  • numberOfAssignmentsPending :: Maybe Int

    The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

  • hITTypeId :: Maybe Text

    The ID of the HIT type of this HIT

  • expiration :: Maybe POSIX

    The date and time the HIT expires.

  • autoApprovalDelayInSeconds :: Maybe Integer

    The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

  • requesterAnnotation :: Maybe Text

    An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

  • hITStatus :: Maybe HITStatus

    The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

  • maxAssignments :: Maybe Int

    The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

  • numberOfAssignmentsCompleted :: Maybe Int

    The number of assignments for this HIT that have been approved or rejected.

  • reward :: Maybe Text
     
  • keywords :: Maybe Text

    One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

  • hITLayoutId :: Maybe Text

    The ID of the HIT Layout of this HIT.

  • qualificationRequirements :: Maybe [QualificationRequirement]

    Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

  • title :: Maybe Text

    The title of the HIT.

  • hITId :: Maybe Text

    A unique identifier for the HIT.

  • hITReviewStatus :: Maybe HITReviewStatus

    Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

  • numberOfAssignmentsAvailable :: Maybe Int

    The number of assignments for this HIT that are available for Workers to accept.

  • description :: Maybe Text

    A general description of the HIT.

  • question :: Maybe Text

    The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

  • assignmentDurationInSeconds :: Maybe Integer

    The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

Instances

Instances details
Eq HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

Methods

(==) :: HIT -> HIT -> Bool #

(/=) :: HIT -> HIT -> Bool #

Read HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

Show HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

Methods

showsPrec :: Int -> HIT -> ShowS #

show :: HIT -> String #

showList :: [HIT] -> ShowS #

Generic HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

Associated Types

type Rep HIT :: Type -> Type #

Methods

from :: HIT -> Rep HIT x #

to :: Rep HIT x -> HIT #

NFData HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

Methods

rnf :: HIT -> () #

Hashable HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

Methods

hashWithSalt :: Int -> HIT -> Int #

hash :: HIT -> Int #

FromJSON HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

type Rep HIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HIT

type Rep HIT = D1 ('MetaData "HIT" "Amazonka.MechanicalTurk.Types.HIT" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "HIT'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "hITGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "numberOfAssignmentsPending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "hITTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "autoApprovalDelayInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "requesterAnnotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "hITStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HITStatus)) :*: (S1 ('MetaSel ('Just "maxAssignments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numberOfAssignmentsCompleted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))) :*: (((S1 ('MetaSel ('Just "reward") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "hITLayoutId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "qualificationRequirements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QualificationRequirement])) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "hITId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hITReviewStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HITReviewStatus)) :*: S1 ('MetaSel ('Just "numberOfAssignmentsAvailable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "question") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assignmentDurationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))))

newHIT :: HIT Source #

Create a value of HIT 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:creationTime:HIT', hit_creationTime - The date and time the HIT was created.

$sel:hITGroupId:HIT', hit_hITGroupId - The ID of the HIT Group of this HIT.

$sel:numberOfAssignmentsPending:HIT', hit_numberOfAssignmentsPending - The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

$sel:hITTypeId:HIT', hit_hITTypeId - The ID of the HIT type of this HIT

$sel:expiration:HIT', hit_expiration - The date and time the HIT expires.

$sel:autoApprovalDelayInSeconds:HIT', hit_autoApprovalDelayInSeconds - The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

$sel:requesterAnnotation:HIT', hit_requesterAnnotation - An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

$sel:hITStatus:HIT', hit_hITStatus - The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

$sel:maxAssignments:HIT', hit_maxAssignments - The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

$sel:numberOfAssignmentsCompleted:HIT', hit_numberOfAssignmentsCompleted - The number of assignments for this HIT that have been approved or rejected.

$sel:reward:HIT', hit_reward - Undocumented member.

$sel:keywords:HIT', hit_keywords - One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

$sel:hITLayoutId:HIT', hit_hITLayoutId - The ID of the HIT Layout of this HIT.

$sel:qualificationRequirements:HIT', hit_qualificationRequirements - Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

$sel:title:HIT', hit_title - The title of the HIT.

$sel:hITId:HIT', hit_hITId - A unique identifier for the HIT.

$sel:hITReviewStatus:HIT', hit_hITReviewStatus - Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

$sel:numberOfAssignmentsAvailable:HIT', hit_numberOfAssignmentsAvailable - The number of assignments for this HIT that are available for Workers to accept.

$sel:description:HIT', hit_description - A general description of the HIT.

$sel:question:HIT', hit_question - The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

$sel:assignmentDurationInSeconds:HIT', hit_assignmentDurationInSeconds - The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

hit_creationTime :: Lens' HIT (Maybe UTCTime) Source #

The date and time the HIT was created.

hit_hITGroupId :: Lens' HIT (Maybe Text) Source #

The ID of the HIT Group of this HIT.

hit_numberOfAssignmentsPending :: Lens' HIT (Maybe Int) Source #

The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

hit_hITTypeId :: Lens' HIT (Maybe Text) Source #

The ID of the HIT type of this HIT

hit_expiration :: Lens' HIT (Maybe UTCTime) Source #

The date and time the HIT expires.

hit_autoApprovalDelayInSeconds :: Lens' HIT (Maybe Integer) Source #

The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

hit_requesterAnnotation :: Lens' HIT (Maybe Text) Source #

An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

hit_hITStatus :: Lens' HIT (Maybe HITStatus) Source #

The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

hit_maxAssignments :: Lens' HIT (Maybe Int) Source #

The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

hit_numberOfAssignmentsCompleted :: Lens' HIT (Maybe Int) Source #

The number of assignments for this HIT that have been approved or rejected.

hit_reward :: Lens' HIT (Maybe Text) Source #

Undocumented member.

hit_keywords :: Lens' HIT (Maybe Text) Source #

One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

hit_hITLayoutId :: Lens' HIT (Maybe Text) Source #

The ID of the HIT Layout of this HIT.

hit_qualificationRequirements :: Lens' HIT (Maybe [QualificationRequirement]) Source #

Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

hit_title :: Lens' HIT (Maybe Text) Source #

The title of the HIT.

hit_hITId :: Lens' HIT (Maybe Text) Source #

A unique identifier for the HIT.

hit_hITReviewStatus :: Lens' HIT (Maybe HITReviewStatus) Source #

Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

hit_numberOfAssignmentsAvailable :: Lens' HIT (Maybe Int) Source #

The number of assignments for this HIT that are available for Workers to accept.

hit_description :: Lens' HIT (Maybe Text) Source #

A general description of the HIT.

hit_question :: Lens' HIT (Maybe Text) Source #

The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

hit_assignmentDurationInSeconds :: Lens' HIT (Maybe Integer) Source #

The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

HITLayoutParameter

data HITLayoutParameter Source #

The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT.

See: newHITLayoutParameter smart constructor.

Constructors

HITLayoutParameter' 

Fields

  • name :: Text

    The name of the parameter in the HITLayout.

  • value :: Text

    The value substituted for the parameter referenced in the HITLayout.

Instances

Instances details
Eq HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Read HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Show HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Generic HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Associated Types

type Rep HITLayoutParameter :: Type -> Type #

NFData HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Methods

rnf :: HITLayoutParameter -> () #

Hashable HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

ToJSON HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

type Rep HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

type Rep HITLayoutParameter = D1 ('MetaData "HITLayoutParameter" "Amazonka.MechanicalTurk.Types.HITLayoutParameter" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "HITLayoutParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newHITLayoutParameter Source #

Create a value of HITLayoutParameter 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:name:HITLayoutParameter', hITLayoutParameter_name - The name of the parameter in the HITLayout.

$sel:value:HITLayoutParameter', hITLayoutParameter_value - The value substituted for the parameter referenced in the HITLayout.

hITLayoutParameter_name :: Lens' HITLayoutParameter Text Source #

The name of the parameter in the HITLayout.

hITLayoutParameter_value :: Lens' HITLayoutParameter Text Source #

The value substituted for the parameter referenced in the HITLayout.

Locale

data Locale Source #

The Locale data structure represents a geographical region or location.

See: newLocale smart constructor.

Constructors

Locale' 

Fields

  • subdivision :: Maybe Text

    The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

  • country :: Text

    The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

Instances

Instances details
Eq Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

Methods

(==) :: Locale -> Locale -> Bool #

(/=) :: Locale -> Locale -> Bool #

Read Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

Show Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

Generic Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

Associated Types

type Rep Locale :: Type -> Type #

Methods

from :: Locale -> Rep Locale x #

to :: Rep Locale x -> Locale #

NFData Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

Methods

rnf :: Locale -> () #

Hashable Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

Methods

hashWithSalt :: Int -> Locale -> Int #

hash :: Locale -> Int #

ToJSON Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

FromJSON Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

type Rep Locale Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Locale

type Rep Locale = D1 ('MetaData "Locale" "Amazonka.MechanicalTurk.Types.Locale" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "Locale'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subdivision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "country") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newLocale Source #

Create a value of Locale 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:subdivision:Locale', locale_subdivision - The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

$sel:country:Locale', locale_country - The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

locale_subdivision :: Lens' Locale (Maybe Text) Source #

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.

locale_country :: Lens' Locale Text Source #

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

NotificationSpecification

data NotificationSpecification Source #

The NotificationSpecification data structure describes a HIT event notification for a HIT type.

See: newNotificationSpecification smart constructor.

Constructors

NotificationSpecification' 

Fields

  • destination :: Text

    The target for notification messages. The Destination’s format is determined by the specified Transport:

    • When Transport is Email, the Destination is your email address.
    • When Transport is SQS, the Destination is your queue URL.
    • When Transport is SNS, the Destination is the ARN of your topic.
  • transport :: NotificationTransport

    The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.

  • version :: Text

    The version of the Notification API to use. Valid value is 2006-05-05.

  • eventTypes :: [EventType]

    The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.

Instances

Instances details
Eq NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

Read NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

Show NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

Generic NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

Associated Types

type Rep NotificationSpecification :: Type -> Type #

NFData NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

Hashable NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

ToJSON NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

type Rep NotificationSpecification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.NotificationSpecification

type Rep NotificationSpecification = D1 ('MetaData "NotificationSpecification" "Amazonka.MechanicalTurk.Types.NotificationSpecification" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "NotificationSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "transport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotificationTransport)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EventType]))))

newNotificationSpecification Source #

Create a value of NotificationSpecification 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:destination:NotificationSpecification', notificationSpecification_destination - The target for notification messages. The Destination’s format is determined by the specified Transport:

  • When Transport is Email, the Destination is your email address.
  • When Transport is SQS, the Destination is your queue URL.
  • When Transport is SNS, the Destination is the ARN of your topic.

$sel:transport:NotificationSpecification', notificationSpecification_transport - The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.

$sel:version:NotificationSpecification', notificationSpecification_version - The version of the Notification API to use. Valid value is 2006-05-05.

$sel:eventTypes:NotificationSpecification', notificationSpecification_eventTypes - The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.

notificationSpecification_destination :: Lens' NotificationSpecification Text Source #

The target for notification messages. The Destination’s format is determined by the specified Transport:

  • When Transport is Email, the Destination is your email address.
  • When Transport is SQS, the Destination is your queue URL.
  • When Transport is SNS, the Destination is the ARN of your topic.

notificationSpecification_transport :: Lens' NotificationSpecification NotificationTransport Source #

The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.

notificationSpecification_version :: Lens' NotificationSpecification Text Source #

The version of the Notification API to use. Valid value is 2006-05-05.

notificationSpecification_eventTypes :: Lens' NotificationSpecification [EventType] Source #

The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.

NotifyWorkersFailureStatus

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.

ParameterMapEntry

data ParameterMapEntry Source #

This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

See: newParameterMapEntry smart constructor.

Constructors

ParameterMapEntry' 

Fields

  • values :: Maybe [Text]

    The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

  • key :: Maybe Text

    The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

Instances

Instances details
Eq ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Read ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Show ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Generic ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Associated Types

type Rep ParameterMapEntry :: Type -> Type #

NFData ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Methods

rnf :: ParameterMapEntry -> () #

Hashable ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

ToJSON ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

FromJSON ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

type Rep ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

type Rep ParameterMapEntry = D1 ('MetaData "ParameterMapEntry" "Amazonka.MechanicalTurk.Types.ParameterMapEntry" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ParameterMapEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newParameterMapEntry :: ParameterMapEntry Source #

Create a value of ParameterMapEntry 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:values:ParameterMapEntry', parameterMapEntry_values - The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

$sel:key:ParameterMapEntry', parameterMapEntry_key - The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

parameterMapEntry_values :: Lens' ParameterMapEntry (Maybe [Text]) Source #

The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

parameterMapEntry_key :: Lens' ParameterMapEntry (Maybe Text) Source #

The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

PolicyParameter

data PolicyParameter Source #

Name of the parameter from the Review policy.

See: newPolicyParameter smart constructor.

Constructors

PolicyParameter' 

Fields

Instances

Instances details
Eq PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Read PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Show PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Generic PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Associated Types

type Rep PolicyParameter :: Type -> Type #

NFData PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Methods

rnf :: PolicyParameter -> () #

Hashable PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

ToJSON PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

FromJSON PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

type Rep PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

type Rep PolicyParameter = D1 ('MetaData "PolicyParameter" "Amazonka.MechanicalTurk.Types.PolicyParameter" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "PolicyParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "mapEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterMapEntry])) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPolicyParameter :: PolicyParameter Source #

Create a value of PolicyParameter 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:values:PolicyParameter', policyParameter_values - The list of values of the Parameter

$sel:mapEntries:PolicyParameter', policyParameter_mapEntries - List of ParameterMapEntry objects.

$sel:key:PolicyParameter', policyParameter_key - Name of the parameter from the list of Review Polices.

policyParameter_values :: Lens' PolicyParameter (Maybe [Text]) Source #

The list of values of the Parameter

policyParameter_key :: Lens' PolicyParameter (Maybe Text) Source #

Name of the parameter from the list of Review Polices.

Qualification

data Qualification Source #

The Qualification data structure represents a Qualification assigned to a user, including the Qualification type and the value (score).

See: newQualification smart constructor.

Constructors

Qualification' 

Fields

  • status :: Maybe QualificationStatus

    The status of the Qualification. Valid values are Granted | Revoked.

  • integerValue :: Maybe Int

    The value (score) of the Qualification, if the Qualification has an integer value.

  • localeValue :: Maybe Locale
     
  • qualificationTypeId :: Maybe Text

    The ID of the Qualification type for the Qualification.

  • grantTime :: Maybe POSIX

    The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.

  • workerId :: Maybe Text

    The ID of the Worker who possesses the Qualification.

Instances

Instances details
Eq Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

Read Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

Show Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

Generic Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

Associated Types

type Rep Qualification :: Type -> Type #

NFData Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

Methods

rnf :: Qualification -> () #

Hashable Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

FromJSON Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

type Rep Qualification Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.Qualification

type Rep Qualification = D1 ('MetaData "Qualification" "Amazonka.MechanicalTurk.Types.Qualification" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "Qualification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QualificationStatus)) :*: (S1 ('MetaSel ('Just "integerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "localeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Locale)))) :*: (S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "grantTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newQualification :: Qualification Source #

Create a value of Qualification 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:status:Qualification', qualification_status - The status of the Qualification. Valid values are Granted | Revoked.

$sel:integerValue:Qualification', qualification_integerValue - The value (score) of the Qualification, if the Qualification has an integer value.

$sel:localeValue:Qualification', qualification_localeValue - Undocumented member.

$sel:qualificationTypeId:Qualification', qualification_qualificationTypeId - The ID of the Qualification type for the Qualification.

$sel:grantTime:Qualification', qualification_grantTime - The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.

$sel:workerId:Qualification', qualification_workerId - The ID of the Worker who possesses the Qualification.

qualification_status :: Lens' Qualification (Maybe QualificationStatus) Source #

The status of the Qualification. Valid values are Granted | Revoked.

qualification_integerValue :: Lens' Qualification (Maybe Int) Source #

The value (score) of the Qualification, if the Qualification has an integer value.

qualification_qualificationTypeId :: Lens' Qualification (Maybe Text) Source #

The ID of the Qualification type for the Qualification.

qualification_grantTime :: Lens' Qualification (Maybe UTCTime) Source #

The date and time the Qualification was granted to the Worker. If the Worker's Qualification was revoked, and then re-granted based on a new Qualification request, GrantTime is the date and time of the last call to the AcceptQualificationRequest operation.

qualification_workerId :: Lens' Qualification (Maybe Text) Source #

The ID of the Worker who possesses the Qualification.

QualificationRequest

data QualificationRequest Source #

The QualificationRequest data structure represents a request a Worker has made for a Qualification.

See: newQualificationRequest smart constructor.

Constructors

QualificationRequest' 

Fields

  • qualificationRequestId :: Maybe Text

    The ID of the Qualification request, a unique identifier generated when the request was submitted.

  • test :: Maybe Text

    The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

  • qualificationTypeId :: Maybe Text

    The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

  • answer :: Maybe Text

    The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

  • workerId :: Maybe Text

    The ID of the Worker requesting the Qualification.

  • submitTime :: Maybe POSIX

    The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.

Instances

Instances details
Eq QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Read QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Show QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Generic QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Associated Types

type Rep QualificationRequest :: Type -> Type #

NFData QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

Methods

rnf :: QualificationRequest -> () #

Hashable QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

FromJSON QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

type Rep QualificationRequest Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequest

type Rep QualificationRequest = D1 ('MetaData "QualificationRequest" "Amazonka.MechanicalTurk.Types.QualificationRequest" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "QualificationRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "qualificationRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "test") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "answer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newQualificationRequest :: QualificationRequest Source #

Create a value of QualificationRequest 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:qualificationRequestId:QualificationRequest', qualificationRequest_qualificationRequestId - The ID of the Qualification request, a unique identifier generated when the request was submitted.

$sel:test:QualificationRequest', qualificationRequest_test - The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

$sel:qualificationTypeId:QualificationRequest', qualificationRequest_qualificationTypeId - The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

$sel:answer:QualificationRequest', qualificationRequest_answer - The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

$sel:workerId:QualificationRequest', qualificationRequest_workerId - The ID of the Worker requesting the Qualification.

$sel:submitTime:QualificationRequest', qualificationRequest_submitTime - The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.

qualificationRequest_qualificationRequestId :: Lens' QualificationRequest (Maybe Text) Source #

The ID of the Qualification request, a unique identifier generated when the request was submitted.

qualificationRequest_test :: Lens' QualificationRequest (Maybe Text) Source #

The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.

qualificationRequest_qualificationTypeId :: Lens' QualificationRequest (Maybe Text) Source #

The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.

qualificationRequest_answer :: Lens' QualificationRequest (Maybe Text) Source #

The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.

qualificationRequest_workerId :: Lens' QualificationRequest (Maybe Text) Source #

The ID of the Worker requesting the Qualification.

qualificationRequest_submitTime :: Lens' QualificationRequest (Maybe UTCTime) Source #

The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.

QualificationRequirement

data QualificationRequirement Source #

The QualificationRequirement data structure describes a Qualification that a Worker must have before the Worker is allowed to accept a HIT. A requirement may optionally state that a Worker must have the Qualification in order to preview the HIT, or see the HIT in search results.

See: newQualificationRequirement smart constructor.

Constructors

QualificationRequirement' 

Fields

  • localeValues :: Maybe [Locale]

    The locale value to compare against the Qualification's value. The local value must be a valid ISO 3166 country code or supports ISO 3166-2 subdivisions. LocaleValue can only be used with a Worker_Locale QualificationType ID. LocaleValue can only be used with the EqualTo, NotEqualTo, In, and NotIn comparators. You must only use a single LocaleValue element when using the EqualTo or NotEqualTo comparators. When performing a set comparison by using the In or the NotIn comparator, you can use up to 30 LocaleValue elements in a QualificationRequirement data structure.

  • actionsGuarded :: Maybe HITAccessActions

    Setting this attribute prevents Workers whose Qualifications do not meet this QualificationRequirement from taking the specified action. Valid arguments include "Accept" (Worker cannot accept the HIT, but can preview the HIT and see it in their search results), "PreviewAndAccept" (Worker cannot accept or preview the HIT, but can see the HIT in their search results), and "DiscoverPreviewAndAccept" (Worker cannot accept, preview, or see the HIT in their search results). It's possible for you to create a HIT with multiple QualificationRequirements (which can have different values for the ActionGuarded attribute). In this case, the Worker is only permitted to perform an action when they have met all QualificationRequirements guarding the action. The actions in the order of least restrictive to most restrictive are Discover, Preview and Accept. For example, if a Worker meets all QualificationRequirements that are set to DiscoverPreviewAndAccept, but do not meet all requirements that are set with PreviewAndAccept, then the Worker will be able to Discover, i.e. see the HIT in their search result, but will not be able to Preview or Accept the HIT. ActionsGuarded should not be used in combination with the RequiredToPreview field.

  • requiredToPreview :: Maybe Bool

    DEPRECATED: Use the ActionsGuarded field instead. If RequiredToPreview is true, the question data for the HIT will not be shown when a Worker whose Qualifications do not meet this requirement tries to preview the HIT. That is, a Worker's Qualifications must meet all of the requirements for which RequiredToPreview is true in order to preview the HIT. If a Worker meets all of the requirements where RequiredToPreview is true (or if there are no such requirements), but does not meet all of the requirements for the HIT, the Worker will be allowed to preview the HIT's question data, but will not be allowed to accept and complete the HIT. The default is false. This should not be used in combination with the ActionsGuarded field.

  • integerValues :: Maybe [Int]

    The integer value to compare against the Qualification's value. IntegerValue must not be present if Comparator is Exists or DoesNotExist. IntegerValue can only be used if the Qualification type has an integer value; it cannot be used with the Worker_Locale QualificationType ID. When performing a set comparison by using the In or the NotIn comparator, you can use up to 15 IntegerValue elements in a QualificationRequirement data structure.

  • qualificationTypeId :: Text

    The ID of the Qualification type for the requirement.

  • comparator :: Comparator

    The kind of comparison to make against a Qualification's value. You can compare a Qualification's value to an IntegerValue to see if it is LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, or NotEqualTo the IntegerValue. You can compare it to a LocaleValue to see if it is EqualTo, or NotEqualTo the LocaleValue. You can check to see if the value is In or NotIn a set of IntegerValue or LocaleValue values. Lastly, a Qualification requirement can also test if a Qualification Exists or DoesNotExist in the user's profile, regardless of its value.

Instances

Instances details
Eq QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

Read QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

Show QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

Generic QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

Associated Types

type Rep QualificationRequirement :: Type -> Type #

NFData QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

Hashable QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

ToJSON QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

FromJSON QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

type Rep QualificationRequirement Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationRequirement

type Rep QualificationRequirement = D1 ('MetaData "QualificationRequirement" "Amazonka.MechanicalTurk.Types.QualificationRequirement" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "QualificationRequirement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "localeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Locale])) :*: (S1 ('MetaSel ('Just "actionsGuarded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HITAccessActions)) :*: S1 ('MetaSel ('Just "requiredToPreview") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "integerValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int])) :*: (S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Comparator)))))

newQualificationRequirement Source #

Create a value of QualificationRequirement 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:localeValues:QualificationRequirement', qualificationRequirement_localeValues - The locale value to compare against the Qualification's value. The local value must be a valid ISO 3166 country code or supports ISO 3166-2 subdivisions. LocaleValue can only be used with a Worker_Locale QualificationType ID. LocaleValue can only be used with the EqualTo, NotEqualTo, In, and NotIn comparators. You must only use a single LocaleValue element when using the EqualTo or NotEqualTo comparators. When performing a set comparison by using the In or the NotIn comparator, you can use up to 30 LocaleValue elements in a QualificationRequirement data structure.

$sel:actionsGuarded:QualificationRequirement', qualificationRequirement_actionsGuarded - Setting this attribute prevents Workers whose Qualifications do not meet this QualificationRequirement from taking the specified action. Valid arguments include "Accept" (Worker cannot accept the HIT, but can preview the HIT and see it in their search results), "PreviewAndAccept" (Worker cannot accept or preview the HIT, but can see the HIT in their search results), and "DiscoverPreviewAndAccept" (Worker cannot accept, preview, or see the HIT in their search results). It's possible for you to create a HIT with multiple QualificationRequirements (which can have different values for the ActionGuarded attribute). In this case, the Worker is only permitted to perform an action when they have met all QualificationRequirements guarding the action. The actions in the order of least restrictive to most restrictive are Discover, Preview and Accept. For example, if a Worker meets all QualificationRequirements that are set to DiscoverPreviewAndAccept, but do not meet all requirements that are set with PreviewAndAccept, then the Worker will be able to Discover, i.e. see the HIT in their search result, but will not be able to Preview or Accept the HIT. ActionsGuarded should not be used in combination with the RequiredToPreview field.

$sel:requiredToPreview:QualificationRequirement', qualificationRequirement_requiredToPreview - DEPRECATED: Use the ActionsGuarded field instead. If RequiredToPreview is true, the question data for the HIT will not be shown when a Worker whose Qualifications do not meet this requirement tries to preview the HIT. That is, a Worker's Qualifications must meet all of the requirements for which RequiredToPreview is true in order to preview the HIT. If a Worker meets all of the requirements where RequiredToPreview is true (or if there are no such requirements), but does not meet all of the requirements for the HIT, the Worker will be allowed to preview the HIT's question data, but will not be allowed to accept and complete the HIT. The default is false. This should not be used in combination with the ActionsGuarded field.

$sel:integerValues:QualificationRequirement', qualificationRequirement_integerValues - The integer value to compare against the Qualification's value. IntegerValue must not be present if Comparator is Exists or DoesNotExist. IntegerValue can only be used if the Qualification type has an integer value; it cannot be used with the Worker_Locale QualificationType ID. When performing a set comparison by using the In or the NotIn comparator, you can use up to 15 IntegerValue elements in a QualificationRequirement data structure.

$sel:qualificationTypeId:QualificationRequirement', qualificationRequirement_qualificationTypeId - The ID of the Qualification type for the requirement.

$sel:comparator:QualificationRequirement', qualificationRequirement_comparator - The kind of comparison to make against a Qualification's value. You can compare a Qualification's value to an IntegerValue to see if it is LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, or NotEqualTo the IntegerValue. You can compare it to a LocaleValue to see if it is EqualTo, or NotEqualTo the LocaleValue. You can check to see if the value is In or NotIn a set of IntegerValue or LocaleValue values. Lastly, a Qualification requirement can also test if a Qualification Exists or DoesNotExist in the user's profile, regardless of its value.

qualificationRequirement_localeValues :: Lens' QualificationRequirement (Maybe [Locale]) Source #

The locale value to compare against the Qualification's value. The local value must be a valid ISO 3166 country code or supports ISO 3166-2 subdivisions. LocaleValue can only be used with a Worker_Locale QualificationType ID. LocaleValue can only be used with the EqualTo, NotEqualTo, In, and NotIn comparators. You must only use a single LocaleValue element when using the EqualTo or NotEqualTo comparators. When performing a set comparison by using the In or the NotIn comparator, you can use up to 30 LocaleValue elements in a QualificationRequirement data structure.

qualificationRequirement_actionsGuarded :: Lens' QualificationRequirement (Maybe HITAccessActions) Source #

Setting this attribute prevents Workers whose Qualifications do not meet this QualificationRequirement from taking the specified action. Valid arguments include "Accept" (Worker cannot accept the HIT, but can preview the HIT and see it in their search results), "PreviewAndAccept" (Worker cannot accept or preview the HIT, but can see the HIT in their search results), and "DiscoverPreviewAndAccept" (Worker cannot accept, preview, or see the HIT in their search results). It's possible for you to create a HIT with multiple QualificationRequirements (which can have different values for the ActionGuarded attribute). In this case, the Worker is only permitted to perform an action when they have met all QualificationRequirements guarding the action. The actions in the order of least restrictive to most restrictive are Discover, Preview and Accept. For example, if a Worker meets all QualificationRequirements that are set to DiscoverPreviewAndAccept, but do not meet all requirements that are set with PreviewAndAccept, then the Worker will be able to Discover, i.e. see the HIT in their search result, but will not be able to Preview or Accept the HIT. ActionsGuarded should not be used in combination with the RequiredToPreview field.

qualificationRequirement_requiredToPreview :: Lens' QualificationRequirement (Maybe Bool) Source #

DEPRECATED: Use the ActionsGuarded field instead. If RequiredToPreview is true, the question data for the HIT will not be shown when a Worker whose Qualifications do not meet this requirement tries to preview the HIT. That is, a Worker's Qualifications must meet all of the requirements for which RequiredToPreview is true in order to preview the HIT. If a Worker meets all of the requirements where RequiredToPreview is true (or if there are no such requirements), but does not meet all of the requirements for the HIT, the Worker will be allowed to preview the HIT's question data, but will not be allowed to accept and complete the HIT. The default is false. This should not be used in combination with the ActionsGuarded field.

qualificationRequirement_integerValues :: Lens' QualificationRequirement (Maybe [Int]) Source #

The integer value to compare against the Qualification's value. IntegerValue must not be present if Comparator is Exists or DoesNotExist. IntegerValue can only be used if the Qualification type has an integer value; it cannot be used with the Worker_Locale QualificationType ID. When performing a set comparison by using the In or the NotIn comparator, you can use up to 15 IntegerValue elements in a QualificationRequirement data structure.

qualificationRequirement_qualificationTypeId :: Lens' QualificationRequirement Text Source #

The ID of the Qualification type for the requirement.

qualificationRequirement_comparator :: Lens' QualificationRequirement Comparator Source #

The kind of comparison to make against a Qualification's value. You can compare a Qualification's value to an IntegerValue to see if it is LessThan, LessThanOrEqualTo, GreaterThan, GreaterThanOrEqualTo, EqualTo, or NotEqualTo the IntegerValue. You can compare it to a LocaleValue to see if it is EqualTo, or NotEqualTo the LocaleValue. You can check to see if the value is In or NotIn a set of IntegerValue or LocaleValue values. Lastly, a Qualification requirement can also test if a Qualification Exists or DoesNotExist in the user's profile, regardless of its value.

QualificationType

data QualificationType Source #

The QualificationType data structure represents a Qualification type, a description of a property of a Worker that must match the requirements of a HIT for the Worker to be able to accept the HIT. The type also describes how a Worker can obtain a Qualification of that type, such as through a Qualification test.

See: newQualificationType smart constructor.

Constructors

QualificationType' 

Fields

  • creationTime :: Maybe POSIX

    The date and time the Qualification type was created.

  • testDurationInSeconds :: Maybe Integer

    The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification.

  • qualificationTypeStatus :: Maybe QualificationTypeStatus

    The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type. Valid values are Active | Inactive.

  • answerKey :: Maybe Text

    The answers to the Qualification test specified in the Test parameter.

  • test :: Maybe Text

    The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This parameter must be specified if AnswerKey is present. A Qualification type cannot have both a specified Test parameter and an AutoGranted value of true.

  • qualificationTypeId :: Maybe Text

    A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation.

  • name :: Maybe Text

    The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search.

  • keywords :: Maybe Text

    One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search.

  • autoGranted :: Maybe Bool

    Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.

  • autoGrantedValue :: Maybe Int

    The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default.

  • description :: Maybe Text

    A long description for the Qualification type.

  • isRequestable :: Maybe Bool

    Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False.

  • retryDelayInSeconds :: Maybe Integer

    The amount of time, in seconds, Workers must wait after taking the Qualification test before they can take it again. Workers can take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and they want a better score. If not specified, retries are disabled and Workers can request a Qualification only once.

Instances

Instances details
Eq QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

Read QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

Show QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

Generic QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

Associated Types

type Rep QualificationType :: Type -> Type #

NFData QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

Methods

rnf :: QualificationType -> () #

Hashable QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

FromJSON QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

type Rep QualificationType Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.QualificationType

type Rep QualificationType = D1 ('MetaData "QualificationType" "Amazonka.MechanicalTurk.Types.QualificationType" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "QualificationType'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "testDurationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "qualificationTypeStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QualificationTypeStatus)))) :*: (S1 ('MetaSel ('Just "answerKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "test") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "qualificationTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoGranted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "autoGrantedValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "isRequestable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "retryDelayInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))))

newQualificationType :: QualificationType Source #

Create a value of QualificationType 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:creationTime:QualificationType', qualificationType_creationTime - The date and time the Qualification type was created.

$sel:testDurationInSeconds:QualificationType', qualificationType_testDurationInSeconds - The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification.

$sel:qualificationTypeStatus:QualificationType', qualificationType_qualificationTypeStatus - The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type. Valid values are Active | Inactive.

$sel:answerKey:QualificationType', qualificationType_answerKey - The answers to the Qualification test specified in the Test parameter.

$sel:test:QualificationType', qualificationType_test - The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This parameter must be specified if AnswerKey is present. A Qualification type cannot have both a specified Test parameter and an AutoGranted value of true.

$sel:qualificationTypeId:QualificationType', qualificationType_qualificationTypeId - A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation.

$sel:name:QualificationType', qualificationType_name - The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search.

$sel:keywords:QualificationType', qualificationType_keywords - One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search.

$sel:autoGranted:QualificationType', qualificationType_autoGranted - Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.

$sel:autoGrantedValue:QualificationType', qualificationType_autoGrantedValue - The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default.

$sel:description:QualificationType', qualificationType_description - A long description for the Qualification type.

$sel:isRequestable:QualificationType', qualificationType_isRequestable - Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False.

$sel:retryDelayInSeconds:QualificationType', qualificationType_retryDelayInSeconds - The amount of time, in seconds, Workers must wait after taking the Qualification test before they can take it again. Workers can take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and they want a better score. If not specified, retries are disabled and Workers can request a Qualification only once.

qualificationType_creationTime :: Lens' QualificationType (Maybe UTCTime) Source #

The date and time the Qualification type was created.

qualificationType_testDurationInSeconds :: Lens' QualificationType (Maybe Integer) Source #

The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification.

qualificationType_qualificationTypeStatus :: Lens' QualificationType (Maybe QualificationTypeStatus) Source #

The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type. Valid values are Active | Inactive.

qualificationType_answerKey :: Lens' QualificationType (Maybe Text) Source #

The answers to the Qualification test specified in the Test parameter.

qualificationType_test :: Lens' QualificationType (Maybe Text) Source #

The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This parameter must be specified if AnswerKey is present. A Qualification type cannot have both a specified Test parameter and an AutoGranted value of true.

qualificationType_qualificationTypeId :: Lens' QualificationType (Maybe Text) Source #

A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation.

qualificationType_name :: Lens' QualificationType (Maybe Text) Source #

The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search.

qualificationType_keywords :: Lens' QualificationType (Maybe Text) Source #

One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search.

qualificationType_autoGranted :: Lens' QualificationType (Maybe Bool) Source #

Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.

qualificationType_autoGrantedValue :: Lens' QualificationType (Maybe Int) Source #

The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default.

qualificationType_description :: Lens' QualificationType (Maybe Text) Source #

A long description for the Qualification type.

qualificationType_isRequestable :: Lens' QualificationType (Maybe Bool) Source #

Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False.

qualificationType_retryDelayInSeconds :: Lens' QualificationType (Maybe Integer) Source #

The amount of time, in seconds, Workers must wait after taking the Qualification test before they can take it again. Workers can take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and they want a better score. If not specified, retries are disabled and Workers can request a Qualification only once.

ReviewActionDetail

data ReviewActionDetail Source #

Both the AssignmentReviewReport and the HITReviewReport elements contains the ReviewActionDetail data structure. This structure is returned multiple times for each action specified in the Review Policy.

See: newReviewActionDetail smart constructor.

Constructors

ReviewActionDetail' 

Fields

Instances

Instances details
Eq ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Read ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Show ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Generic ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Associated Types

type Rep ReviewActionDetail :: Type -> Type #

NFData ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

Methods

rnf :: ReviewActionDetail -> () #

Hashable ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

FromJSON ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

type Rep ReviewActionDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewActionDetail

type Rep ReviewActionDetail = D1 ('MetaData "ReviewActionDetail" "Amazonka.MechanicalTurk.Types.ReviewActionDetail" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ReviewActionDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReviewActionStatus)) :*: S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "actionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "completeTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newReviewActionDetail :: ReviewActionDetail Source #

Create a value of ReviewActionDetail 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:status:ReviewActionDetail', reviewActionDetail_status - The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.

$sel:targetId:ReviewActionDetail', reviewActionDetail_targetId - The specific HITId or AssignmentID targeted by the action.

$sel:actionId:ReviewActionDetail', reviewActionDetail_actionId - The unique identifier for the action.

$sel:targetType:ReviewActionDetail', reviewActionDetail_targetType - The type of object in TargetId.

$sel:result:ReviewActionDetail', reviewActionDetail_result - A description of the outcome of the review.

$sel:actionName:ReviewActionDetail', reviewActionDetail_actionName - The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.

$sel:completeTime:ReviewActionDetail', reviewActionDetail_completeTime - The date when the action was completed.

$sel:errorCode:ReviewActionDetail', reviewActionDetail_errorCode - Present only when the Results have a FAILED Status.

reviewActionDetail_status :: Lens' ReviewActionDetail (Maybe ReviewActionStatus) Source #

The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.

reviewActionDetail_targetId :: Lens' ReviewActionDetail (Maybe Text) Source #

The specific HITId or AssignmentID targeted by the action.

reviewActionDetail_actionId :: Lens' ReviewActionDetail (Maybe Text) Source #

The unique identifier for the action.

reviewActionDetail_result :: Lens' ReviewActionDetail (Maybe Text) Source #

A description of the outcome of the review.

reviewActionDetail_actionName :: Lens' ReviewActionDetail (Maybe Text) Source #

The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.

reviewActionDetail_completeTime :: Lens' ReviewActionDetail (Maybe UTCTime) Source #

The date when the action was completed.

reviewActionDetail_errorCode :: Lens' ReviewActionDetail (Maybe Text) Source #

Present only when the Results have a FAILED Status.

ReviewPolicy

data ReviewPolicy Source #

HIT Review Policy data structures represent HIT review policies, which you specify when you create a HIT.

See: newReviewPolicy smart constructor.

Constructors

ReviewPolicy' 

Fields

Instances

Instances details
Eq ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Read ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Show ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Generic ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Associated Types

type Rep ReviewPolicy :: Type -> Type #

NFData ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Methods

rnf :: ReviewPolicy -> () #

Hashable ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

ToJSON ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

FromJSON ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

type Rep ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

type Rep ReviewPolicy = D1 ('MetaData "ReviewPolicy" "Amazonka.MechanicalTurk.Types.ReviewPolicy" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ReviewPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PolicyParameter])) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newReviewPolicy Source #

Create a value of ReviewPolicy 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:parameters:ReviewPolicy', reviewPolicy_parameters - Name of the parameter from the Review policy.

$sel:policyName:ReviewPolicy', reviewPolicy_policyName - Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01

reviewPolicy_parameters :: Lens' ReviewPolicy (Maybe [PolicyParameter]) Source #

Name of the parameter from the Review policy.

reviewPolicy_policyName :: Lens' ReviewPolicy Text Source #

Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01

ReviewReport

data ReviewReport Source #

Contains both ReviewResult and ReviewAction elements for a particular HIT.

See: newReviewReport smart constructor.

Constructors

ReviewReport' 

Fields

Instances

Instances details
Eq ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

Read ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

Show ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

Generic ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

Associated Types

type Rep ReviewReport :: Type -> Type #

NFData ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

Methods

rnf :: ReviewReport -> () #

Hashable ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

FromJSON ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

type Rep ReviewReport Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewReport

type Rep ReviewReport = D1 ('MetaData "ReviewReport" "Amazonka.MechanicalTurk.Types.ReviewReport" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ReviewReport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reviewActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReviewActionDetail])) :*: S1 ('MetaSel ('Just "reviewResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReviewResultDetail]))))

newReviewReport :: ReviewReport Source #

Create a value of ReviewReport 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:reviewActions:ReviewReport', reviewReport_reviewActions - A list of ReviewAction objects for each action specified in the Review Policy.

$sel:reviewResults:ReviewReport', reviewReport_reviewResults - A list of ReviewResults objects for each action specified in the Review Policy.

reviewReport_reviewActions :: Lens' ReviewReport (Maybe [ReviewActionDetail]) Source #

A list of ReviewAction objects for each action specified in the Review Policy.

reviewReport_reviewResults :: Lens' ReviewReport (Maybe [ReviewResultDetail]) Source #

A list of ReviewResults objects for each action specified in the Review Policy.

ReviewResultDetail

data ReviewResultDetail Source #

This data structure is returned multiple times for each result specified in the Review Policy.

See: newReviewResultDetail smart constructor.

Constructors

ReviewResultDetail' 

Fields

  • value :: Maybe Text

    The values of Key provided by the review policies you have selected.

  • actionId :: Maybe Text

    A unique identifier of the Review action result.

  • subjectType :: Maybe Text

    The type of the object from the SubjectId field.

  • key :: Maybe Text

    Key identifies the particular piece of reviewed information.

  • questionId :: Maybe Text

    Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.

  • subjectId :: Maybe Text

    The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.

Instances

Instances details
Eq ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Read ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Show ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Generic ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Associated Types

type Rep ReviewResultDetail :: Type -> Type #

NFData ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

Methods

rnf :: ReviewResultDetail -> () #

Hashable ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

FromJSON ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

type Rep ReviewResultDetail Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewResultDetail

type Rep ReviewResultDetail = D1 ('MetaData "ReviewResultDetail" "Amazonka.MechanicalTurk.Types.ReviewResultDetail" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ReviewResultDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "actionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subjectType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "questionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subjectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newReviewResultDetail :: ReviewResultDetail Source #

Create a value of ReviewResultDetail 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:value:ReviewResultDetail', reviewResultDetail_value - The values of Key provided by the review policies you have selected.

$sel:actionId:ReviewResultDetail', reviewResultDetail_actionId - A unique identifier of the Review action result.

$sel:subjectType:ReviewResultDetail', reviewResultDetail_subjectType - The type of the object from the SubjectId field.

$sel:key:ReviewResultDetail', reviewResultDetail_key - Key identifies the particular piece of reviewed information.

$sel:questionId:ReviewResultDetail', reviewResultDetail_questionId - Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.

$sel:subjectId:ReviewResultDetail', reviewResultDetail_subjectId - The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.

reviewResultDetail_value :: Lens' ReviewResultDetail (Maybe Text) Source #

The values of Key provided by the review policies you have selected.

reviewResultDetail_actionId :: Lens' ReviewResultDetail (Maybe Text) Source #

A unique identifier of the Review action result.

reviewResultDetail_subjectType :: Lens' ReviewResultDetail (Maybe Text) Source #

The type of the object from the SubjectId field.

reviewResultDetail_key :: Lens' ReviewResultDetail (Maybe Text) Source #

Key identifies the particular piece of reviewed information.

reviewResultDetail_questionId :: Lens' ReviewResultDetail (Maybe Text) Source #

Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.

reviewResultDetail_subjectId :: Lens' ReviewResultDetail (Maybe Text) Source #

The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.

WorkerBlock

data WorkerBlock Source #

The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.

See: newWorkerBlock smart constructor.

Constructors

WorkerBlock' 

Fields

Instances

Instances details
Eq WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Read WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Show WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Generic WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Associated Types

type Rep WorkerBlock :: Type -> Type #

NFData WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

Methods

rnf :: WorkerBlock -> () #

Hashable WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

FromJSON WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

type Rep WorkerBlock Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.WorkerBlock

type Rep WorkerBlock = D1 ('MetaData "WorkerBlock" "Amazonka.MechanicalTurk.Types.WorkerBlock" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "WorkerBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newWorkerBlock :: WorkerBlock Source #

Create a value of WorkerBlock 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:reason:WorkerBlock', workerBlock_reason - A message explaining the reason the Worker was blocked.

$sel:workerId:WorkerBlock', workerBlock_workerId - The ID of the Worker who accepted the HIT.

workerBlock_reason :: Lens' WorkerBlock (Maybe Text) Source #

A message explaining the reason the Worker was blocked.

workerBlock_workerId :: Lens' WorkerBlock (Maybe Text) Source #

The ID of the Worker who accepted the HIT.