amazonka-mechanicalturk-1.6.0: Amazon Mechanical Turk SDK.

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

Network.AWS.MechanicalTurk.Types

Contents

Description

 

Synopsis

Service Configuration

mechanicalTurk :: 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

data AssignmentStatus Source #

Constructors

Approved 
Rejected 
Submitted 

Instances

Bounded AssignmentStatus Source # 
Enum AssignmentStatus Source # 
Eq AssignmentStatus Source # 
Data AssignmentStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssignmentStatus -> c AssignmentStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssignmentStatus #

toConstr :: AssignmentStatus -> Constr #

dataTypeOf :: AssignmentStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AssignmentStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssignmentStatus) #

gmapT :: (forall b. Data b => b -> b) -> AssignmentStatus -> AssignmentStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssignmentStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssignmentStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssignmentStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssignmentStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssignmentStatus -> m AssignmentStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignmentStatus -> m AssignmentStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignmentStatus -> m AssignmentStatus #

Ord AssignmentStatus Source # 
Read AssignmentStatus Source # 
Show AssignmentStatus Source # 
Generic AssignmentStatus Source # 
Hashable AssignmentStatus Source # 
ToJSON AssignmentStatus Source # 
FromJSON AssignmentStatus Source # 
NFData AssignmentStatus Source # 

Methods

rnf :: AssignmentStatus -> () #

ToHeader AssignmentStatus Source # 
ToQuery AssignmentStatus Source # 
ToByteString AssignmentStatus Source # 
FromText AssignmentStatus Source # 
ToText AssignmentStatus Source # 
type Rep AssignmentStatus Source # 
type Rep AssignmentStatus = D1 * (MetaData "AssignmentStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Approved" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Rejected" PrefixI False) (U1 *)) (C1 * (MetaCons "Submitted" PrefixI False) (U1 *))))

Comparator

data Comparator Source #

Instances

Bounded Comparator Source # 
Enum Comparator Source # 
Eq Comparator Source # 
Data Comparator Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Comparator -> c Comparator #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Comparator #

toConstr :: Comparator -> Constr #

dataTypeOf :: Comparator -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Comparator) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Comparator) #

gmapT :: (forall b. Data b => b -> b) -> Comparator -> Comparator #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Comparator -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Comparator -> r #

gmapQ :: (forall d. Data d => d -> u) -> Comparator -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Comparator -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Comparator -> m Comparator #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Comparator -> m Comparator #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Comparator -> m Comparator #

Ord Comparator Source # 
Read Comparator Source # 
Show Comparator Source # 
Generic Comparator Source # 

Associated Types

type Rep Comparator :: * -> * #

Hashable Comparator Source # 
ToJSON Comparator Source # 
FromJSON Comparator Source # 
NFData Comparator Source # 

Methods

rnf :: Comparator -> () #

ToHeader Comparator Source # 
ToQuery Comparator Source # 
ToByteString Comparator Source # 
FromText Comparator Source # 
ToText Comparator Source # 

Methods

toText :: Comparator -> Text #

type Rep Comparator Source # 
type Rep Comparator = D1 * (MetaData "Comparator" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "DoesNotExist" PrefixI False) (U1 *)) (C1 * (MetaCons "EqualTo" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Exists" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "GreaterThan" PrefixI False) (U1 *)) (C1 * (MetaCons "GreaterThanOrEqualTo" PrefixI False) (U1 *))))) ((:+:) * ((:+:) * (C1 * (MetaCons "IN" PrefixI False) (U1 *)) (C1 * (MetaCons "LessThan" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "LessThanOrEqualTo" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "NotEqualTo" PrefixI False) (U1 *)) (C1 * (MetaCons "NotIn" PrefixI False) (U1 *))))))

EventType

data EventType Source #

Instances

Bounded EventType Source # 
Enum EventType Source # 
Eq EventType Source # 
Data EventType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventType -> c EventType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventType #

toConstr :: EventType -> Constr #

dataTypeOf :: EventType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EventType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventType) #

gmapT :: (forall b. Data b => b -> b) -> EventType -> EventType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventType -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventType -> m EventType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventType -> m EventType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventType -> m EventType #

Ord EventType Source # 
Read EventType Source # 
Show EventType Source # 
Generic EventType Source # 

Associated Types

type Rep EventType :: * -> * #

Hashable EventType Source # 
ToJSON EventType Source # 
NFData EventType Source # 

Methods

rnf :: EventType -> () #

ToHeader EventType Source # 
ToQuery EventType Source # 
ToByteString EventType Source # 

Methods

toBS :: EventType -> ByteString #

FromText EventType Source # 
ToText EventType Source # 

Methods

toText :: EventType -> Text #

type Rep EventType Source # 
type Rep EventType = D1 * (MetaData "EventType" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * ((:+:) * ((:+:) * (C1 * (MetaCons "AssignmentAbandoned" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "AssignmentAccepted" PrefixI False) (U1 *)) (C1 * (MetaCons "AssignmentApproved" PrefixI False) (U1 *)))) ((:+:) * (C1 * (MetaCons "AssignmentRejected" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "AssignmentReturned" PrefixI False) (U1 *)) (C1 * (MetaCons "AssignmentSubmitted" PrefixI False) (U1 *))))) ((:+:) * ((:+:) * (C1 * (MetaCons "HITCreated" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "HITDisposed" PrefixI False) (U1 *)) (C1 * (MetaCons "HITExpired" PrefixI False) (U1 *)))) ((:+:) * (C1 * (MetaCons "HITExtended" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "HITReviewable" PrefixI False) (U1 *)) (C1 * (MetaCons "Ping" PrefixI False) (U1 *))))))

HITAccessActions

data HITAccessActions Source #

Instances

Bounded HITAccessActions Source # 
Enum HITAccessActions Source # 
Eq HITAccessActions Source # 
Data HITAccessActions Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HITAccessActions -> c HITAccessActions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HITAccessActions #

toConstr :: HITAccessActions -> Constr #

dataTypeOf :: HITAccessActions -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HITAccessActions) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HITAccessActions) #

gmapT :: (forall b. Data b => b -> b) -> HITAccessActions -> HITAccessActions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HITAccessActions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HITAccessActions -> r #

gmapQ :: (forall d. Data d => d -> u) -> HITAccessActions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HITAccessActions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HITAccessActions -> m HITAccessActions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HITAccessActions -> m HITAccessActions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HITAccessActions -> m HITAccessActions #

Ord HITAccessActions Source # 
Read HITAccessActions Source # 
Show HITAccessActions Source # 
Generic HITAccessActions Source # 
Hashable HITAccessActions Source # 
ToJSON HITAccessActions Source # 
FromJSON HITAccessActions Source # 
NFData HITAccessActions Source # 

Methods

rnf :: HITAccessActions -> () #

ToHeader HITAccessActions Source # 
ToQuery HITAccessActions Source # 
ToByteString HITAccessActions Source # 
FromText HITAccessActions Source # 
ToText HITAccessActions Source # 
type Rep HITAccessActions Source # 
type Rep HITAccessActions = D1 * (MetaData "HITAccessActions" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Accept" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "DiscoverPreviewAndAccept" PrefixI False) (U1 *)) (C1 * (MetaCons "PreviewAndAccept" PrefixI False) (U1 *))))

HITReviewStatus

data HITReviewStatus Source #

Instances

Bounded HITReviewStatus Source # 
Enum HITReviewStatus Source # 
Eq HITReviewStatus Source # 
Data HITReviewStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HITReviewStatus -> c HITReviewStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HITReviewStatus #

toConstr :: HITReviewStatus -> Constr #

dataTypeOf :: HITReviewStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HITReviewStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HITReviewStatus) #

gmapT :: (forall b. Data b => b -> b) -> HITReviewStatus -> HITReviewStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HITReviewStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HITReviewStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> HITReviewStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HITReviewStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HITReviewStatus -> m HITReviewStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HITReviewStatus -> m HITReviewStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HITReviewStatus -> m HITReviewStatus #

Ord HITReviewStatus Source # 
Read HITReviewStatus Source # 
Show HITReviewStatus Source # 
Generic HITReviewStatus Source # 
Hashable HITReviewStatus Source # 
FromJSON HITReviewStatus Source # 
NFData HITReviewStatus Source # 

Methods

rnf :: HITReviewStatus -> () #

ToHeader HITReviewStatus Source # 
ToQuery HITReviewStatus Source # 
ToByteString HITReviewStatus Source # 
FromText HITReviewStatus Source # 
ToText HITReviewStatus Source # 
type Rep HITReviewStatus Source # 
type Rep HITReviewStatus = D1 * (MetaData "HITReviewStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * ((:+:) * (C1 * (MetaCons "MarkedForReview" PrefixI False) (U1 *)) (C1 * (MetaCons "NotReviewed" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "ReviewedAppropriate" PrefixI False) (U1 *)) (C1 * (MetaCons "ReviewedInappropriate" PrefixI False) (U1 *))))

HITStatus

data HITStatus Source #

Instances

Bounded HITStatus Source # 
Enum HITStatus Source # 
Eq HITStatus Source # 
Data HITStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HITStatus -> c HITStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HITStatus #

toConstr :: HITStatus -> Constr #

dataTypeOf :: HITStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HITStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HITStatus) #

gmapT :: (forall b. Data b => b -> b) -> HITStatus -> HITStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HITStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HITStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> HITStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HITStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HITStatus -> m HITStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HITStatus -> m HITStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HITStatus -> m HITStatus #

Ord HITStatus Source # 
Read HITStatus Source # 
Show HITStatus Source # 
Generic HITStatus Source # 

Associated Types

type Rep HITStatus :: * -> * #

Hashable HITStatus Source # 
FromJSON HITStatus Source # 
NFData HITStatus Source # 

Methods

rnf :: HITStatus -> () #

ToHeader HITStatus Source # 
ToQuery HITStatus Source # 
ToByteString HITStatus Source # 

Methods

toBS :: HITStatus -> ByteString #

FromText HITStatus Source # 
ToText HITStatus Source # 

Methods

toText :: HITStatus -> Text #

type Rep HITStatus Source # 
type Rep HITStatus = D1 * (MetaData "HITStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * ((:+:) * (C1 * (MetaCons "HITSAssignable" PrefixI False) (U1 *)) (C1 * (MetaCons "HITSDisposed" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "HITSReviewable" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "HITSReviewing" PrefixI False) (U1 *)) (C1 * (MetaCons "HITSUnassignable" PrefixI False) (U1 *)))))

NotificationTransport

data NotificationTransport Source #

Constructors

Email 
SNS 
Sqs 

Instances

Bounded NotificationTransport Source # 
Enum NotificationTransport Source # 
Eq NotificationTransport Source # 
Data NotificationTransport Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotificationTransport -> c NotificationTransport #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotificationTransport #

toConstr :: NotificationTransport -> Constr #

dataTypeOf :: NotificationTransport -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NotificationTransport) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotificationTransport) #

gmapT :: (forall b. Data b => b -> b) -> NotificationTransport -> NotificationTransport #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotificationTransport -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotificationTransport -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotificationTransport -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotificationTransport -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotificationTransport -> m NotificationTransport #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationTransport -> m NotificationTransport #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationTransport -> m NotificationTransport #

Ord NotificationTransport Source # 
Read NotificationTransport Source # 
Show NotificationTransport Source # 
Generic NotificationTransport Source # 
Hashable NotificationTransport Source # 
ToJSON NotificationTransport Source # 
NFData NotificationTransport Source # 

Methods

rnf :: NotificationTransport -> () #

ToHeader NotificationTransport Source # 
ToQuery NotificationTransport Source # 
ToByteString NotificationTransport Source # 
FromText NotificationTransport Source # 
ToText NotificationTransport Source # 
type Rep NotificationTransport Source # 
type Rep NotificationTransport = D1 * (MetaData "NotificationTransport" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Email" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "SNS" PrefixI False) (U1 *)) (C1 * (MetaCons "Sqs" PrefixI False) (U1 *))))

NotifyWorkersFailureCode

data NotifyWorkersFailureCode Source #

Constructors

HardFailure 
SoftFailure 

Instances

Bounded NotifyWorkersFailureCode Source # 
Enum NotifyWorkersFailureCode Source # 
Eq NotifyWorkersFailureCode Source # 
Data NotifyWorkersFailureCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotifyWorkersFailureCode -> c NotifyWorkersFailureCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotifyWorkersFailureCode #

toConstr :: NotifyWorkersFailureCode -> Constr #

dataTypeOf :: NotifyWorkersFailureCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NotifyWorkersFailureCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotifyWorkersFailureCode) #

gmapT :: (forall b. Data b => b -> b) -> NotifyWorkersFailureCode -> NotifyWorkersFailureCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWorkersFailureCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWorkersFailureCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotifyWorkersFailureCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotifyWorkersFailureCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotifyWorkersFailureCode -> m NotifyWorkersFailureCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWorkersFailureCode -> m NotifyWorkersFailureCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWorkersFailureCode -> m NotifyWorkersFailureCode #

Ord NotifyWorkersFailureCode Source # 
Read NotifyWorkersFailureCode Source # 
Show NotifyWorkersFailureCode Source # 
Generic NotifyWorkersFailureCode Source # 
Hashable NotifyWorkersFailureCode Source # 
FromJSON NotifyWorkersFailureCode Source # 
NFData NotifyWorkersFailureCode Source # 
ToHeader NotifyWorkersFailureCode Source # 
ToQuery NotifyWorkersFailureCode Source # 
ToByteString NotifyWorkersFailureCode Source # 
FromText NotifyWorkersFailureCode Source # 
ToText NotifyWorkersFailureCode Source # 
type Rep NotifyWorkersFailureCode Source # 
type Rep NotifyWorkersFailureCode = D1 * (MetaData "NotifyWorkersFailureCode" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "HardFailure" PrefixI False) (U1 *)) (C1 * (MetaCons "SoftFailure" PrefixI False) (U1 *)))

QualificationStatus

data QualificationStatus Source #

Constructors

Granted 
Revoked 

Instances

Bounded QualificationStatus Source # 
Enum QualificationStatus Source # 
Eq QualificationStatus Source # 
Data QualificationStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QualificationStatus -> c QualificationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QualificationStatus #

toConstr :: QualificationStatus -> Constr #

dataTypeOf :: QualificationStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QualificationStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QualificationStatus) #

gmapT :: (forall b. Data b => b -> b) -> QualificationStatus -> QualificationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QualificationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QualificationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> QualificationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QualificationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QualificationStatus -> m QualificationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationStatus -> m QualificationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationStatus -> m QualificationStatus #

Ord QualificationStatus Source # 
Read QualificationStatus Source # 
Show QualificationStatus Source # 
Generic QualificationStatus Source # 
Hashable QualificationStatus Source # 
ToJSON QualificationStatus Source # 
FromJSON QualificationStatus Source # 
NFData QualificationStatus Source # 

Methods

rnf :: QualificationStatus -> () #

ToHeader QualificationStatus Source # 
ToQuery QualificationStatus Source # 
ToByteString QualificationStatus Source # 
FromText QualificationStatus Source # 
ToText QualificationStatus Source # 
type Rep QualificationStatus Source # 
type Rep QualificationStatus = D1 * (MetaData "QualificationStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Granted" PrefixI False) (U1 *)) (C1 * (MetaCons "Revoked" PrefixI False) (U1 *)))

QualificationTypeStatus

data QualificationTypeStatus Source #

Constructors

Active 
Inactive 

Instances

Bounded QualificationTypeStatus Source # 
Enum QualificationTypeStatus Source # 
Eq QualificationTypeStatus Source # 
Data QualificationTypeStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QualificationTypeStatus -> c QualificationTypeStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QualificationTypeStatus #

toConstr :: QualificationTypeStatus -> Constr #

dataTypeOf :: QualificationTypeStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QualificationTypeStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QualificationTypeStatus) #

gmapT :: (forall b. Data b => b -> b) -> QualificationTypeStatus -> QualificationTypeStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QualificationTypeStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QualificationTypeStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> QualificationTypeStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QualificationTypeStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QualificationTypeStatus -> m QualificationTypeStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationTypeStatus -> m QualificationTypeStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationTypeStatus -> m QualificationTypeStatus #

Ord QualificationTypeStatus Source # 
Read QualificationTypeStatus Source # 
Show QualificationTypeStatus Source # 
Generic QualificationTypeStatus Source # 
Hashable QualificationTypeStatus Source # 
ToJSON QualificationTypeStatus Source # 
FromJSON QualificationTypeStatus Source # 
NFData QualificationTypeStatus Source # 

Methods

rnf :: QualificationTypeStatus -> () #

ToHeader QualificationTypeStatus Source # 
ToQuery QualificationTypeStatus Source # 
ToByteString QualificationTypeStatus Source # 
FromText QualificationTypeStatus Source # 
ToText QualificationTypeStatus Source # 
type Rep QualificationTypeStatus Source # 
type Rep QualificationTypeStatus = D1 * (MetaData "QualificationTypeStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Active" PrefixI False) (U1 *)) (C1 * (MetaCons "Inactive" PrefixI False) (U1 *)))

ReviewActionStatus

data ReviewActionStatus Source #

Instances

Bounded ReviewActionStatus Source # 
Enum ReviewActionStatus Source # 
Eq ReviewActionStatus Source # 
Data ReviewActionStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewActionStatus -> c ReviewActionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewActionStatus #

toConstr :: ReviewActionStatus -> Constr #

dataTypeOf :: ReviewActionStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewActionStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewActionStatus) #

gmapT :: (forall b. Data b => b -> b) -> ReviewActionStatus -> ReviewActionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewActionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewActionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewActionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewActionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewActionStatus -> m ReviewActionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewActionStatus -> m ReviewActionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewActionStatus -> m ReviewActionStatus #

Ord ReviewActionStatus Source # 
Read ReviewActionStatus Source # 
Show ReviewActionStatus Source # 
Generic ReviewActionStatus Source # 
Hashable ReviewActionStatus Source # 
FromJSON ReviewActionStatus Source # 
NFData ReviewActionStatus Source # 

Methods

rnf :: ReviewActionStatus -> () #

ToHeader ReviewActionStatus Source # 
ToQuery ReviewActionStatus Source # 
ToByteString ReviewActionStatus Source # 
FromText ReviewActionStatus Source # 
ToText ReviewActionStatus Source # 
type Rep ReviewActionStatus Source # 
type Rep ReviewActionStatus = D1 * (MetaData "ReviewActionStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Cancelled" PrefixI False) (U1 *)) (C1 * (MetaCons "Failed" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Intended" PrefixI False) (U1 *)) (C1 * (MetaCons "Succeeded" PrefixI False) (U1 *))))

ReviewPolicyLevel

data ReviewPolicyLevel Source #

Constructors

Assignment 
Hit 

Instances

Bounded ReviewPolicyLevel Source # 
Enum ReviewPolicyLevel Source # 
Eq ReviewPolicyLevel Source # 
Data ReviewPolicyLevel Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewPolicyLevel -> c ReviewPolicyLevel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewPolicyLevel #

toConstr :: ReviewPolicyLevel -> Constr #

dataTypeOf :: ReviewPolicyLevel -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewPolicyLevel) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewPolicyLevel) #

gmapT :: (forall b. Data b => b -> b) -> ReviewPolicyLevel -> ReviewPolicyLevel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewPolicyLevel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewPolicyLevel -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewPolicyLevel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewPolicyLevel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewPolicyLevel -> m ReviewPolicyLevel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewPolicyLevel -> m ReviewPolicyLevel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewPolicyLevel -> m ReviewPolicyLevel #

Ord ReviewPolicyLevel Source # 
Read ReviewPolicyLevel Source # 
Show ReviewPolicyLevel Source # 
Generic ReviewPolicyLevel Source # 
Hashable ReviewPolicyLevel Source # 
ToJSON ReviewPolicyLevel Source # 
NFData ReviewPolicyLevel Source # 

Methods

rnf :: ReviewPolicyLevel -> () #

ToHeader ReviewPolicyLevel Source # 
ToQuery ReviewPolicyLevel Source # 
ToByteString ReviewPolicyLevel Source # 
FromText ReviewPolicyLevel Source # 
ToText ReviewPolicyLevel Source # 
type Rep ReviewPolicyLevel Source # 
type Rep ReviewPolicyLevel = D1 * (MetaData "ReviewPolicyLevel" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Assignment" PrefixI False) (U1 *)) (C1 * (MetaCons "Hit" PrefixI False) (U1 *)))

ReviewableHITStatus

data ReviewableHITStatus Source #

Constructors

Reviewable 
Reviewing 

Instances

Bounded ReviewableHITStatus Source # 
Enum ReviewableHITStatus Source # 
Eq ReviewableHITStatus Source # 
Data ReviewableHITStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewableHITStatus -> c ReviewableHITStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewableHITStatus #

toConstr :: ReviewableHITStatus -> Constr #

dataTypeOf :: ReviewableHITStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewableHITStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewableHITStatus) #

gmapT :: (forall b. Data b => b -> b) -> ReviewableHITStatus -> ReviewableHITStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewableHITStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewableHITStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewableHITStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewableHITStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewableHITStatus -> m ReviewableHITStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewableHITStatus -> m ReviewableHITStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewableHITStatus -> m ReviewableHITStatus #

Ord ReviewableHITStatus Source # 
Read ReviewableHITStatus Source # 
Show ReviewableHITStatus Source # 
Generic ReviewableHITStatus Source # 
Hashable ReviewableHITStatus Source # 
ToJSON ReviewableHITStatus Source # 
NFData ReviewableHITStatus Source # 

Methods

rnf :: ReviewableHITStatus -> () #

ToHeader ReviewableHITStatus Source # 
ToQuery ReviewableHITStatus Source # 
ToByteString ReviewableHITStatus Source # 
FromText ReviewableHITStatus Source # 
ToText ReviewableHITStatus Source # 
type Rep ReviewableHITStatus Source # 
type Rep ReviewableHITStatus = D1 * (MetaData "ReviewableHITStatus" "Network.AWS.MechanicalTurk.Types.Sum" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) ((:+:) * (C1 * (MetaCons "Reviewable" PrefixI False) (U1 *)) (C1 * (MetaCons "Reviewing" PrefixI False) (U1 *)))

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: assignment smart constructor.

Instances

Eq Assignment Source # 
Data Assignment Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Assignment -> c Assignment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Assignment #

toConstr :: Assignment -> Constr #

dataTypeOf :: Assignment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Assignment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Assignment) #

gmapT :: (forall b. Data b => b -> b) -> Assignment -> Assignment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Assignment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Assignment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Assignment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Assignment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

Read Assignment Source # 
Show Assignment Source # 
Generic Assignment Source # 

Associated Types

type Rep Assignment :: * -> * #

Hashable Assignment Source # 
FromJSON Assignment Source # 
NFData Assignment Source # 

Methods

rnf :: Assignment -> () #

type Rep Assignment Source # 
type Rep Assignment = D1 * (MetaData "Assignment" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "Assignment'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_aAcceptTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aAnswer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_aAssignmentStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AssignmentStatus))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aRequesterFeedback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aDeadline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_aApprovalTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_aRejectionTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aAutoApprovalTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_aHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aAssignmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_aSubmitTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))))))

assignment :: Assignment Source #

Creates a value of Assignment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aAcceptTime - The date and time the Worker accepted the assignment.
  • aAnswer - 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.
  • aAssignmentStatus - The status of the assignment.
  • aRequesterFeedback - 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.
  • aDeadline - 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.
  • aApprovalTime - 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.
  • aRejectionTime - If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.
  • aAutoApprovalTime - 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.
  • aHITId - The ID of the HIT.
  • aWorkerId - The ID of the Worker who accepted the HIT.
  • aAssignmentId - A unique identifier for the assignment.
  • aSubmitTime - 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.

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

The date and time the Worker accepted the assignment.

aAnswer :: 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.

aAssignmentStatus :: Lens' Assignment (Maybe AssignmentStatus) Source #

The status of the assignment.

aRequesterFeedback :: 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.

aDeadline :: 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.

aApprovalTime :: 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.

aRejectionTime :: 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.

aAutoApprovalTime :: 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.

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

The ID of the HIT.

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

The ID of the Worker who accepted the HIT.

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

A unique identifier for the assignment.

aSubmitTime :: 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: bonusPayment smart constructor.

Instances

Eq BonusPayment Source # 
Data BonusPayment Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BonusPayment -> c BonusPayment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BonusPayment #

toConstr :: BonusPayment -> Constr #

dataTypeOf :: BonusPayment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BonusPayment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BonusPayment) #

gmapT :: (forall b. Data b => b -> b) -> BonusPayment -> BonusPayment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BonusPayment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BonusPayment -> r #

gmapQ :: (forall d. Data d => d -> u) -> BonusPayment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BonusPayment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BonusPayment -> m BonusPayment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BonusPayment -> m BonusPayment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BonusPayment -> m BonusPayment #

Read BonusPayment Source # 
Show BonusPayment Source # 
Generic BonusPayment Source # 

Associated Types

type Rep BonusPayment :: * -> * #

Hashable BonusPayment Source # 
FromJSON BonusPayment Source # 
NFData BonusPayment Source # 

Methods

rnf :: BonusPayment -> () #

type Rep BonusPayment Source # 
type Rep BonusPayment = D1 * (MetaData "BonusPayment" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "BonusPayment'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_bpReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bpGrantTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bpWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bpAssignmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bpBonusAmount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))

bonusPayment :: BonusPayment Source #

Creates a value of BonusPayment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bpReason - The Reason text given when the bonus was granted, if any.
  • bpGrantTime - The date and time of when the bonus was granted.
  • bpWorkerId - The ID of the Worker to whom the bonus was paid.
  • bpAssignmentId - The ID of the assignment associated with this bonus payment.
  • bpBonusAmount - Undocumented member.

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

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

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

The date and time of when the bonus was granted.

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

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

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

The ID of the assignment associated with this bonus payment.

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

Undocumented member.

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: hIT smart constructor.

Instances

Eq HIT Source # 

Methods

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

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

Data HIT Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HIT -> c HIT #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HIT #

toConstr :: HIT -> Constr #

dataTypeOf :: HIT -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HIT) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HIT) #

gmapT :: (forall b. Data b => b -> b) -> HIT -> HIT #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HIT -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HIT -> r #

gmapQ :: (forall d. Data d => d -> u) -> HIT -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HIT -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HIT -> m HIT #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HIT -> m HIT #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HIT -> m HIT #

Read HIT Source # 
Show HIT Source # 

Methods

showsPrec :: Int -> HIT -> ShowS #

show :: HIT -> String #

showList :: [HIT] -> ShowS #

Generic HIT Source # 

Associated Types

type Rep HIT :: * -> * #

Methods

from :: HIT -> Rep HIT x #

to :: Rep HIT x -> HIT #

Hashable HIT Source # 

Methods

hashWithSalt :: Int -> HIT -> Int #

hash :: HIT -> Int #

FromJSON HIT Source # 
NFData HIT Source # 

Methods

rnf :: HIT -> () #

type Rep HIT Source # 
type Rep HIT = D1 * (MetaData "HIT" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "HIT'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_hitCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_hitHITGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitNumberOfAssignmentsPending") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitHITTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_hitExpiration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_hitAutoApprovalDelayInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_hitRequesterAnnotation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitHITStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HITStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitMaxAssignments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_hitNumberOfAssignmentsCompleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_hitReward") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_hitKeywords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitHITLayoutId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitQualificationRequirements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [QualificationRequirement]))) (S1 * (MetaSel (Just Symbol "_hitTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_hitHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitHITReviewStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HITReviewStatus))) (S1 * (MetaSel (Just Symbol "_hitNumberOfAssignmentsAvailable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitQuestion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_hitAssignmentDurationInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer)))))))))

hIT :: HIT Source #

Creates a value of HIT with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hitCreationTime - The date and time the HIT was created.
  • hitHITGroupId - The ID of the HIT Group of this HIT.
  • hitNumberOfAssignmentsPending - 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.
  • hitHITTypeId - The ID of the HIT type of this HIT
  • hitExpiration - The date and time the HIT expires.
  • hitAutoApprovalDelayInSeconds - 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.
  • hitRequesterAnnotation - An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.
  • hitHITStatus - The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.
  • hitMaxAssignments - The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
  • hitNumberOfAssignmentsCompleted - The number of assignments for this HIT that have been approved or rejected.
  • hitReward - Undocumented member.
  • hitKeywords - 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.
  • hitHITLayoutId - The ID of the HIT Layout of this HIT.
  • hitQualificationRequirements - 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.
  • hitTitle - The title of the HIT.
  • hitHITId - A unique identifier for the HIT.
  • hitHITReviewStatus - Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
  • hitNumberOfAssignmentsAvailable - The number of assignments for this HIT that are available for Workers to accept.
  • hitDescription - A general description of the HIT.
  • hitQuestion - The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.
  • hitAssignmentDurationInSeconds - The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

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

The date and time the HIT was created.

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

The ID of the HIT Group of this HIT.

hitNumberOfAssignmentsPending :: 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.

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

The ID of the HIT type of this HIT

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

The date and time the HIT expires.

hitAutoApprovalDelayInSeconds :: 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.

hitRequesterAnnotation :: 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.

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

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

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

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

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

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

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

Undocumented member.

hitKeywords :: 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.

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

The ID of the HIT Layout of this HIT.

hitQualificationRequirements :: Lens' HIT [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.

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

The title of the HIT.

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

A unique identifier for the HIT.

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

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

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

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

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

A general description of the HIT.

hitQuestion :: 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.

hitAssignmentDurationInSeconds :: 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: hITLayoutParameter smart constructor.

Instances

Eq HITLayoutParameter Source # 
Data HITLayoutParameter Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HITLayoutParameter -> c HITLayoutParameter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HITLayoutParameter #

toConstr :: HITLayoutParameter -> Constr #

dataTypeOf :: HITLayoutParameter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HITLayoutParameter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HITLayoutParameter) #

gmapT :: (forall b. Data b => b -> b) -> HITLayoutParameter -> HITLayoutParameter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HITLayoutParameter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HITLayoutParameter -> r #

gmapQ :: (forall d. Data d => d -> u) -> HITLayoutParameter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HITLayoutParameter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HITLayoutParameter -> m HITLayoutParameter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HITLayoutParameter -> m HITLayoutParameter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HITLayoutParameter -> m HITLayoutParameter #

Read HITLayoutParameter Source # 
Show HITLayoutParameter Source # 
Generic HITLayoutParameter Source # 
Hashable HITLayoutParameter Source # 
ToJSON HITLayoutParameter Source # 
NFData HITLayoutParameter Source # 

Methods

rnf :: HITLayoutParameter -> () #

type Rep HITLayoutParameter Source # 
type Rep HITLayoutParameter = D1 * (MetaData "HITLayoutParameter" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "HITLayoutParameter'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_hitlpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_hitlpValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

hITLayoutParameter Source #

Creates a value of HITLayoutParameter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • hitlpName - The name of the parameter in the HITLayout.
  • hitlpValue - The value substituted for the parameter referenced in the HITLayout.

hitlpName :: Lens' HITLayoutParameter Text Source #

The name of the parameter in the HITLayout.

hitlpValue :: 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: locale smart constructor.

Instances

Eq Locale Source # 

Methods

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

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

Data Locale Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Locale -> c Locale #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Locale #

toConstr :: Locale -> Constr #

dataTypeOf :: Locale -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Locale) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Locale) #

gmapT :: (forall b. Data b => b -> b) -> Locale -> Locale #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Locale -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Locale -> r #

gmapQ :: (forall d. Data d => d -> u) -> Locale -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Locale -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Locale -> m Locale #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Locale -> m Locale #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Locale -> m Locale #

Read Locale Source # 
Show Locale Source # 
Generic Locale Source # 

Associated Types

type Rep Locale :: * -> * #

Methods

from :: Locale -> Rep Locale x #

to :: Rep Locale x -> Locale #

Hashable Locale Source # 

Methods

hashWithSalt :: Int -> Locale -> Int #

hash :: Locale -> Int #

ToJSON Locale Source # 
FromJSON Locale Source # 
NFData Locale Source # 

Methods

rnf :: Locale -> () #

type Rep Locale Source # 
type Rep Locale = D1 * (MetaData "Locale" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "Locale'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lSubdivision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

locale Source #

Arguments

:: Text

lCountry

-> Locale 

Creates a value of Locale with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lSubdivision - 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.
  • lCountry - 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.

lSubdivision :: 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.

lCountry :: 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: notificationSpecification smart constructor.

Instances

Eq NotificationSpecification Source # 
Data NotificationSpecification Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotificationSpecification -> c NotificationSpecification #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotificationSpecification #

toConstr :: NotificationSpecification -> Constr #

dataTypeOf :: NotificationSpecification -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NotificationSpecification) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotificationSpecification) #

gmapT :: (forall b. Data b => b -> b) -> NotificationSpecification -> NotificationSpecification #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotificationSpecification -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotificationSpecification -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotificationSpecification -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotificationSpecification -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotificationSpecification -> m NotificationSpecification #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationSpecification -> m NotificationSpecification #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotificationSpecification -> m NotificationSpecification #

Read NotificationSpecification Source # 
Show NotificationSpecification Source # 
Generic NotificationSpecification Source # 
Hashable NotificationSpecification Source # 
ToJSON NotificationSpecification Source # 
NFData NotificationSpecification Source # 
type Rep NotificationSpecification Source # 
type Rep NotificationSpecification = D1 * (MetaData "NotificationSpecification" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "NotificationSpecification'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_nsDestination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_nsTransport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * NotificationTransport))) ((:*:) * (S1 * (MetaSel (Just Symbol "_nsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_nsEventTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [EventType])))))

notificationSpecification Source #

Creates a value of NotificationSpecification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • nsDestination - 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.
  • nsTransport - The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.
  • nsVersion - The version of the Notification API to use. Valid value is 2006-05-05.
  • nsEventTypes - 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.

nsDestination :: 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.

nsTransport :: Lens' NotificationSpecification NotificationTransport Source #

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

nsVersion :: Lens' NotificationSpecification Text Source #

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

nsEventTypes :: 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: notifyWorkersFailureStatus smart constructor.

Instances

Eq NotifyWorkersFailureStatus Source # 
Data NotifyWorkersFailureStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotifyWorkersFailureStatus -> c NotifyWorkersFailureStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotifyWorkersFailureStatus #

toConstr :: NotifyWorkersFailureStatus -> Constr #

dataTypeOf :: NotifyWorkersFailureStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NotifyWorkersFailureStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotifyWorkersFailureStatus) #

gmapT :: (forall b. Data b => b -> b) -> NotifyWorkersFailureStatus -> NotifyWorkersFailureStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWorkersFailureStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWorkersFailureStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotifyWorkersFailureStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotifyWorkersFailureStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotifyWorkersFailureStatus -> m NotifyWorkersFailureStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWorkersFailureStatus -> m NotifyWorkersFailureStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWorkersFailureStatus -> m NotifyWorkersFailureStatus #

Read NotifyWorkersFailureStatus Source # 
Show NotifyWorkersFailureStatus Source # 
Generic NotifyWorkersFailureStatus Source # 
Hashable NotifyWorkersFailureStatus Source # 
FromJSON NotifyWorkersFailureStatus Source # 
NFData NotifyWorkersFailureStatus Source # 
type Rep NotifyWorkersFailureStatus Source # 
type Rep NotifyWorkersFailureStatus = D1 * (MetaData "NotifyWorkersFailureStatus" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "NotifyWorkersFailureStatus'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_nwfsNotifyWorkersFailureMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_nwfsNotifyWorkersFailureCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe NotifyWorkersFailureCode))) (S1 * (MetaSel (Just Symbol "_nwfsWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

notifyWorkersFailureStatus :: NotifyWorkersFailureStatus Source #

Creates a value of NotifyWorkersFailureStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nwfsNotifyWorkersFailureMessage :: 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: parameterMapEntry smart constructor.

Instances

Eq ParameterMapEntry Source # 
Data ParameterMapEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ParameterMapEntry -> c ParameterMapEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ParameterMapEntry #

toConstr :: ParameterMapEntry -> Constr #

dataTypeOf :: ParameterMapEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ParameterMapEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ParameterMapEntry) #

gmapT :: (forall b. Data b => b -> b) -> ParameterMapEntry -> ParameterMapEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ParameterMapEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ParameterMapEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> ParameterMapEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ParameterMapEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ParameterMapEntry -> m ParameterMapEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ParameterMapEntry -> m ParameterMapEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ParameterMapEntry -> m ParameterMapEntry #

Read ParameterMapEntry Source # 
Show ParameterMapEntry Source # 
Generic ParameterMapEntry Source # 
Hashable ParameterMapEntry Source # 
ToJSON ParameterMapEntry Source # 
FromJSON ParameterMapEntry Source # 
NFData ParameterMapEntry Source # 

Methods

rnf :: ParameterMapEntry -> () #

type Rep ParameterMapEntry Source # 
type Rep ParameterMapEntry = D1 * (MetaData "ParameterMapEntry" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "ParameterMapEntry'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pmeValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_pmeKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))

parameterMapEntry :: ParameterMapEntry Source #

Creates a value of ParameterMapEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pmeValues - 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.
  • pmeKey - 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.

pmeValues :: Lens' ParameterMapEntry [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.

pmeKey :: 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: policyParameter smart constructor.

Instances

Eq PolicyParameter Source # 
Data PolicyParameter Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyParameter -> c PolicyParameter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyParameter #

toConstr :: PolicyParameter -> Constr #

dataTypeOf :: PolicyParameter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PolicyParameter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyParameter) #

gmapT :: (forall b. Data b => b -> b) -> PolicyParameter -> PolicyParameter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyParameter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyParameter -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyParameter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyParameter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyParameter -> m PolicyParameter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyParameter -> m PolicyParameter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyParameter -> m PolicyParameter #

Read PolicyParameter Source # 
Show PolicyParameter Source # 
Generic PolicyParameter Source # 
Hashable PolicyParameter Source # 
ToJSON PolicyParameter Source # 
FromJSON PolicyParameter Source # 
NFData PolicyParameter Source # 

Methods

rnf :: PolicyParameter -> () #

type Rep PolicyParameter Source # 
type Rep PolicyParameter = D1 * (MetaData "PolicyParameter" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "PolicyParameter'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ppValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ppMapEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ParameterMapEntry]))) (S1 * (MetaSel (Just Symbol "_ppKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

policyParameter :: PolicyParameter Source #

Creates a value of PolicyParameter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ppValues - The list of values of the Parameter
  • ppMapEntries - List of ParameterMapEntry objects.
  • ppKey - Name of the parameter from the list of Review Polices.

ppValues :: Lens' PolicyParameter [Text] Source #

The list of values of the Parameter

ppMapEntries :: Lens' PolicyParameter [ParameterMapEntry] Source #

List of ParameterMapEntry objects.

ppKey :: 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: qualification smart constructor.

Instances

Eq Qualification Source # 
Data Qualification Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Qualification -> c Qualification #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Qualification #

toConstr :: Qualification -> Constr #

dataTypeOf :: Qualification -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Qualification) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Qualification) #

gmapT :: (forall b. Data b => b -> b) -> Qualification -> Qualification #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Qualification -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Qualification -> r #

gmapQ :: (forall d. Data d => d -> u) -> Qualification -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Qualification -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Qualification -> m Qualification #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Qualification -> m Qualification #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Qualification -> m Qualification #

Read Qualification Source # 
Show Qualification Source # 
Generic Qualification Source # 

Associated Types

type Rep Qualification :: * -> * #

Hashable Qualification Source # 
FromJSON Qualification Source # 
NFData Qualification Source # 

Methods

rnf :: Qualification -> () #

type Rep Qualification Source # 
type Rep Qualification = D1 * (MetaData "Qualification" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "Qualification'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_qStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe QualificationStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qIntegerValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_qLocaleValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Locale))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qQualificationTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qGrantTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_qWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))

qualification :: Qualification Source #

Creates a value of Qualification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qStatus - The status of the Qualification. Valid values are Granted | Revoked.
  • qIntegerValue - The value (score) of the Qualification, if the Qualification has an integer value.
  • qLocaleValue - Undocumented member.
  • qQualificationTypeId - The ID of the Qualification type for the Qualification.
  • qGrantTime - 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.
  • qWorkerId - The ID of the Worker who possesses the Qualification.

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

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

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

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

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

The ID of the Qualification type for the Qualification.

qGrantTime :: 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.

qWorkerId :: 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: qualificationRequest smart constructor.

Instances

Eq QualificationRequest Source # 
Data QualificationRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QualificationRequest -> c QualificationRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QualificationRequest #

toConstr :: QualificationRequest -> Constr #

dataTypeOf :: QualificationRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QualificationRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QualificationRequest) #

gmapT :: (forall b. Data b => b -> b) -> QualificationRequest -> QualificationRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QualificationRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QualificationRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> QualificationRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QualificationRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QualificationRequest -> m QualificationRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationRequest -> m QualificationRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationRequest -> m QualificationRequest #

Read QualificationRequest Source # 
Show QualificationRequest Source # 
Generic QualificationRequest Source # 
Hashable QualificationRequest Source # 
FromJSON QualificationRequest Source # 
NFData QualificationRequest Source # 

Methods

rnf :: QualificationRequest -> () #

type Rep QualificationRequest Source # 
type Rep QualificationRequest = D1 * (MetaData "QualificationRequest" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "QualificationRequest'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_quaQualificationRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_quaTest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_quaQualificationTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_quaAnswer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_quaWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_quaSubmitTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))))))

qualificationRequest :: QualificationRequest Source #

Creates a value of QualificationRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • quaQualificationRequestId - The ID of the Qualification request, a unique identifier generated when the request was submitted.
  • quaTest - 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.
  • quaQualificationTypeId - The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
  • quaAnswer - 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.
  • quaWorkerId - The ID of the Worker requesting the Qualification.
  • quaSubmitTime - 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.

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

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

quaTest :: 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.

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

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

quaAnswer :: 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.

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

The ID of the Worker requesting the Qualification.

quaSubmitTime :: 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: qualificationRequirement smart constructor.

Instances

Eq QualificationRequirement Source # 
Data QualificationRequirement Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QualificationRequirement -> c QualificationRequirement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QualificationRequirement #

toConstr :: QualificationRequirement -> Constr #

dataTypeOf :: QualificationRequirement -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QualificationRequirement) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QualificationRequirement) #

gmapT :: (forall b. Data b => b -> b) -> QualificationRequirement -> QualificationRequirement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QualificationRequirement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QualificationRequirement -> r #

gmapQ :: (forall d. Data d => d -> u) -> QualificationRequirement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QualificationRequirement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QualificationRequirement -> m QualificationRequirement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationRequirement -> m QualificationRequirement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationRequirement -> m QualificationRequirement #

Read QualificationRequirement Source # 
Show QualificationRequirement Source # 
Generic QualificationRequirement Source # 
Hashable QualificationRequirement Source # 
ToJSON QualificationRequirement Source # 
FromJSON QualificationRequirement Source # 
NFData QualificationRequirement Source # 
type Rep QualificationRequirement Source # 
type Rep QualificationRequirement = D1 * (MetaData "QualificationRequirement" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "QualificationRequirement'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_qrLocaleValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Locale]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qrActionsGuarded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HITAccessActions))) (S1 * (MetaSel (Just Symbol "_qrRequiredToPreview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qrIntegerValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Int]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qrQualificationTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_qrComparator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Comparator))))))

qualificationRequirement Source #

Creates a value of QualificationRequirement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qrLocaleValues - 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.
  • qrActionsGuarded - 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.
  • qrRequiredToPreview - 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.
  • qrIntegerValues - 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.
  • qrQualificationTypeId - The ID of the Qualification type for the requirement.
  • qrComparator - 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.

qrLocaleValues :: Lens' QualificationRequirement [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.

qrActionsGuarded :: 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.

qrRequiredToPreview :: 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.

qrIntegerValues :: Lens' QualificationRequirement [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.

qrQualificationTypeId :: Lens' QualificationRequirement Text Source #

The ID of the Qualification type for the requirement.

qrComparator :: 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: qualificationType smart constructor.

Instances

Eq QualificationType Source # 
Data QualificationType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QualificationType -> c QualificationType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QualificationType #

toConstr :: QualificationType -> Constr #

dataTypeOf :: QualificationType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QualificationType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QualificationType) #

gmapT :: (forall b. Data b => b -> b) -> QualificationType -> QualificationType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QualificationType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QualificationType -> r #

gmapQ :: (forall d. Data d => d -> u) -> QualificationType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QualificationType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QualificationType -> m QualificationType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationType -> m QualificationType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QualificationType -> m QualificationType #

Read QualificationType Source # 
Show QualificationType Source # 
Generic QualificationType Source # 
Hashable QualificationType Source # 
FromJSON QualificationType Source # 
NFData QualificationType Source # 

Methods

rnf :: QualificationType -> () #

type Rep QualificationType Source # 
type Rep QualificationType = D1 * (MetaData "QualificationType" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "QualificationType'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_qtCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qtTestDurationInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_qtQualificationTypeStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe QualificationTypeStatus))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qtAnswerKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qtTest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_qtQualificationTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_qtName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qtKeywords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_qtAutoGranted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_qtAutoGrantedValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_qtDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qtIsRequestable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_qtRetryDelayInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))))))))

qualificationType :: QualificationType Source #

Creates a value of QualificationType with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qtCreationTime - The date and time the Qualification type was created.
  • qtTestDurationInSeconds - The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification.
  • qtQualificationTypeStatus - 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.
  • qtAnswerKey - The answers to the Qualification test specified in the Test parameter.
  • qtTest - 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.
  • qtQualificationTypeId - A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation.
  • qtName - 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.
  • qtKeywords - One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search.
  • qtAutoGranted - Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.
  • qtAutoGrantedValue - The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default.
  • qtDescription - A long description for the Qualification type.
  • qtIsRequestable - 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.
  • qtRetryDelayInSeconds - 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.

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

The date and time the Qualification type was created.

qtTestDurationInSeconds :: 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.

qtQualificationTypeStatus :: 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.

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

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

qtTest :: 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.

qtQualificationTypeId :: 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.

qtName :: 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.

qtKeywords :: 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.

qtAutoGranted :: 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.

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

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

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

A long description for the Qualification type.

qtIsRequestable :: 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.

qtRetryDelayInSeconds :: 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: reviewActionDetail smart constructor.

Instances

Eq ReviewActionDetail Source # 
Data ReviewActionDetail Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewActionDetail -> c ReviewActionDetail #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewActionDetail #

toConstr :: ReviewActionDetail -> Constr #

dataTypeOf :: ReviewActionDetail -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewActionDetail) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewActionDetail) #

gmapT :: (forall b. Data b => b -> b) -> ReviewActionDetail -> ReviewActionDetail #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewActionDetail -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewActionDetail -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewActionDetail -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewActionDetail -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewActionDetail -> m ReviewActionDetail #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewActionDetail -> m ReviewActionDetail #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewActionDetail -> m ReviewActionDetail #

Read ReviewActionDetail Source # 
Show ReviewActionDetail Source # 
Generic ReviewActionDetail Source # 
Hashable ReviewActionDetail Source # 
FromJSON ReviewActionDetail Source # 
NFData ReviewActionDetail Source # 

Methods

rnf :: ReviewActionDetail -> () #

type Rep ReviewActionDetail Source # 

reviewActionDetail :: ReviewActionDetail Source #

Creates a value of ReviewActionDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • radStatus - The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
  • radTargetId - The specific HITId or AssignmentID targeted by the action.
  • radActionId - The unique identifier for the action.
  • radTargetType - The type of object in TargetId.
  • radResult - A description of the outcome of the review.
  • radActionName - 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.
  • radCompleteTime - The date when the action was completed.
  • radErrorCode - Present only when the Results have a FAILED Status.

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

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

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

The specific HITId or AssignmentID targeted by the action.

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

The unique identifier for the action.

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

The type of object in TargetId.

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

A description of the outcome of the review.

radActionName :: 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.

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

The date when the action was completed.

radErrorCode :: 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: reviewPolicy smart constructor.

Instances

Eq ReviewPolicy Source # 
Data ReviewPolicy Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewPolicy -> c ReviewPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewPolicy #

toConstr :: ReviewPolicy -> Constr #

dataTypeOf :: ReviewPolicy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewPolicy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewPolicy) #

gmapT :: (forall b. Data b => b -> b) -> ReviewPolicy -> ReviewPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewPolicy -> m ReviewPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewPolicy -> m ReviewPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewPolicy -> m ReviewPolicy #

Read ReviewPolicy Source # 
Show ReviewPolicy Source # 
Generic ReviewPolicy Source # 

Associated Types

type Rep ReviewPolicy :: * -> * #

Hashable ReviewPolicy Source # 
ToJSON ReviewPolicy Source # 
FromJSON ReviewPolicy Source # 
NFData ReviewPolicy Source # 

Methods

rnf :: ReviewPolicy -> () #

type Rep ReviewPolicy Source # 
type Rep ReviewPolicy = D1 * (MetaData "ReviewPolicy" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "ReviewPolicy'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rpParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PolicyParameter]))) (S1 * (MetaSel (Just Symbol "_rpPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

reviewPolicy Source #

Creates a value of ReviewPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rpParameters - Name of the parameter from the Review policy.
  • rpPolicyName - Name of a Review Policy: SimplePlurality2011-09-01 or ScoreMyKnownAnswers2011-09-01

rpParameters :: Lens' ReviewPolicy [PolicyParameter] Source #

Name of the parameter from the Review policy.

rpPolicyName :: Lens' ReviewPolicy Text Source #

Name of a Review Policy: SimplePlurality2011-09-01 or ScoreMyKnownAnswers2011-09-01

ReviewReport

data ReviewReport Source #

Contains both ReviewResult and ReviewAction elements for a particular HIT.

See: reviewReport smart constructor.

Instances

Eq ReviewReport Source # 
Data ReviewReport Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewReport -> c ReviewReport #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewReport #

toConstr :: ReviewReport -> Constr #

dataTypeOf :: ReviewReport -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewReport) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewReport) #

gmapT :: (forall b. Data b => b -> b) -> ReviewReport -> ReviewReport #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewReport -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewReport -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewReport -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewReport -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewReport -> m ReviewReport #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewReport -> m ReviewReport #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewReport -> m ReviewReport #

Read ReviewReport Source # 
Show ReviewReport Source # 
Generic ReviewReport Source # 

Associated Types

type Rep ReviewReport :: * -> * #

Hashable ReviewReport Source # 
FromJSON ReviewReport Source # 
NFData ReviewReport Source # 

Methods

rnf :: ReviewReport -> () #

type Rep ReviewReport Source # 
type Rep ReviewReport = D1 * (MetaData "ReviewReport" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "ReviewReport'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rrReviewActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ReviewActionDetail]))) (S1 * (MetaSel (Just Symbol "_rrReviewResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ReviewResultDetail])))))

reviewReport :: ReviewReport Source #

Creates a value of ReviewReport with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rrReviewActions - A list of ReviewAction objects for each action specified in the Review Policy.
  • rrReviewResults - A list of ReviewResults objects for each action specified in the Review Policy.

rrReviewActions :: Lens' ReviewReport [ReviewActionDetail] Source #

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

rrReviewResults :: Lens' ReviewReport [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: reviewResultDetail smart constructor.

Instances

Eq ReviewResultDetail Source # 
Data ReviewResultDetail Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReviewResultDetail -> c ReviewResultDetail #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReviewResultDetail #

toConstr :: ReviewResultDetail -> Constr #

dataTypeOf :: ReviewResultDetail -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReviewResultDetail) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReviewResultDetail) #

gmapT :: (forall b. Data b => b -> b) -> ReviewResultDetail -> ReviewResultDetail #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReviewResultDetail -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReviewResultDetail -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReviewResultDetail -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReviewResultDetail -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReviewResultDetail -> m ReviewResultDetail #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewResultDetail -> m ReviewResultDetail #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReviewResultDetail -> m ReviewResultDetail #

Read ReviewResultDetail Source # 
Show ReviewResultDetail Source # 
Generic ReviewResultDetail Source # 
Hashable ReviewResultDetail Source # 
FromJSON ReviewResultDetail Source # 
NFData ReviewResultDetail Source # 

Methods

rnf :: ReviewResultDetail -> () #

type Rep ReviewResultDetail Source # 
type Rep ReviewResultDetail = D1 * (MetaData "ReviewResultDetail" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "ReviewResultDetail'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_rrdValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rrdActionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rrdSubjectType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rrdKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rrdQuestionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rrdSubjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))

reviewResultDetail :: ReviewResultDetail Source #

Creates a value of ReviewResultDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rrdValue - The values of Key provided by the review policies you have selected.
  • rrdActionId - A unique identifier of the Review action result.
  • rrdSubjectType - The type of the object from the SubjectId field.
  • rrdKey - Key identifies the particular piece of reviewed information.
  • rrdQuestionId - 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.
  • rrdSubjectId - 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.

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

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

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

A unique identifier of the Review action result.

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

The type of the object from the SubjectId field.

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

Key identifies the particular piece of reviewed information.

rrdQuestionId :: 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.

rrdSubjectId :: 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: workerBlock smart constructor.

Instances

Eq WorkerBlock Source # 
Data WorkerBlock Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WorkerBlock -> c WorkerBlock #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WorkerBlock #

toConstr :: WorkerBlock -> Constr #

dataTypeOf :: WorkerBlock -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c WorkerBlock) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WorkerBlock) #

gmapT :: (forall b. Data b => b -> b) -> WorkerBlock -> WorkerBlock #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WorkerBlock -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WorkerBlock -> r #

gmapQ :: (forall d. Data d => d -> u) -> WorkerBlock -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WorkerBlock -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WorkerBlock -> m WorkerBlock #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WorkerBlock -> m WorkerBlock #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WorkerBlock -> m WorkerBlock #

Read WorkerBlock Source # 
Show WorkerBlock Source # 
Generic WorkerBlock Source # 

Associated Types

type Rep WorkerBlock :: * -> * #

Hashable WorkerBlock Source # 
FromJSON WorkerBlock Source # 
NFData WorkerBlock Source # 

Methods

rnf :: WorkerBlock -> () #

type Rep WorkerBlock Source # 
type Rep WorkerBlock = D1 * (MetaData "WorkerBlock" "Network.AWS.MechanicalTurk.Types.Product" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "WorkerBlock'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_wbReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_wbWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))

workerBlock :: WorkerBlock Source #

Creates a value of WorkerBlock with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • wbReason - A message explaining the reason the Worker was blocked.
  • wbWorkerId - The ID of the Worker who accepted the HIT.

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

A message explaining the reason the Worker was blocked.

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

The ID of the Worker who accepted the HIT.