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

Contents

Description

The AssociateQualificationWithWorker operation gives a Worker a Qualification. AssociateQualificationWithWorker does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker.

You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType operation).

Synopsis

Creating a Request

associateQualificationWithWorker Source #

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

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

  • aqwwIntegerValue - The value of the Qualification to assign.
  • aqwwSendNotification - Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.
  • aqwwQualificationTypeId - The ID of the Qualification type to use for the assigned Qualification.
  • aqwwWorkerId - The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.

data AssociateQualificationWithWorker Source #

See: associateQualificationWithWorker smart constructor.

Instances

Eq AssociateQualificationWithWorker Source # 
Data AssociateQualificationWithWorker Source # 

Methods

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

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

toConstr :: AssociateQualificationWithWorker -> Constr #

dataTypeOf :: AssociateQualificationWithWorker -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateQualificationWithWorker Source # 
Show AssociateQualificationWithWorker Source # 
Generic AssociateQualificationWithWorker Source # 
Hashable AssociateQualificationWithWorker Source # 
ToJSON AssociateQualificationWithWorker Source # 
NFData AssociateQualificationWithWorker Source # 
AWSRequest AssociateQualificationWithWorker Source # 
ToHeaders AssociateQualificationWithWorker Source # 
ToPath AssociateQualificationWithWorker Source # 
ToQuery AssociateQualificationWithWorker Source # 
type Rep AssociateQualificationWithWorker Source # 
type Rep AssociateQualificationWithWorker = D1 * (MetaData "AssociateQualificationWithWorker" "Network.AWS.MechanicalTurk.AssociateQualificationWithWorker" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "AssociateQualificationWithWorker'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_aqwwIntegerValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_aqwwSendNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aqwwQualificationTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_aqwwWorkerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs AssociateQualificationWithWorker Source # 

Request Lenses

aqwwIntegerValue :: Lens' AssociateQualificationWithWorker (Maybe Int) Source #

The value of the Qualification to assign.

aqwwSendNotification :: Lens' AssociateQualificationWithWorker (Maybe Bool) Source #

Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.

aqwwQualificationTypeId :: Lens' AssociateQualificationWithWorker Text Source #

The ID of the Qualification type to use for the assigned Qualification.

aqwwWorkerId :: Lens' AssociateQualificationWithWorker Text Source #

The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.

Destructuring the Response

associateQualificationWithWorkerResponse Source #

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

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

data AssociateQualificationWithWorkerResponse Source #

Instances

Eq AssociateQualificationWithWorkerResponse Source # 
Data AssociateQualificationWithWorkerResponse Source # 

Methods

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

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

toConstr :: AssociateQualificationWithWorkerResponse -> Constr #

dataTypeOf :: AssociateQualificationWithWorkerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateQualificationWithWorkerResponse Source # 
Show AssociateQualificationWithWorkerResponse Source # 
Generic AssociateQualificationWithWorkerResponse Source # 
NFData AssociateQualificationWithWorkerResponse Source # 
type Rep AssociateQualificationWithWorkerResponse Source # 
type Rep AssociateQualificationWithWorkerResponse = D1 * (MetaData "AssociateQualificationWithWorkerResponse" "Network.AWS.MechanicalTurk.AssociateQualificationWithWorker" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" True) (C1 * (MetaCons "AssociateQualificationWithWorkerResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_aqwwrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses