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

Contents

Description

The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user.

You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message.

Synopsis

Creating a Request

disassociateQualificationFromWorker Source #

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

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

  • dqfwReason - A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.
  • dqfwWorkerId - The ID of the Worker who possesses the Qualification to be revoked.
  • dqfwQualificationTypeId - The ID of the Qualification type of the Qualification to be revoked.

data DisassociateQualificationFromWorker Source #

See: disassociateQualificationFromWorker smart constructor.

Instances

Eq DisassociateQualificationFromWorker Source # 
Data DisassociateQualificationFromWorker Source # 

Methods

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

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

toConstr :: DisassociateQualificationFromWorker -> Constr #

dataTypeOf :: DisassociateQualificationFromWorker -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dqfwReason :: Lens' DisassociateQualificationFromWorker (Maybe Text) Source #

A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.

dqfwWorkerId :: Lens' DisassociateQualificationFromWorker Text Source #

The ID of the Worker who possesses the Qualification to be revoked.

dqfwQualificationTypeId :: Lens' DisassociateQualificationFromWorker Text Source #

The ID of the Qualification type of the Qualification to be revoked.

Destructuring the Response

disassociateQualificationFromWorkerResponse Source #

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

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

data DisassociateQualificationFromWorkerResponse Source #

Instances

Eq DisassociateQualificationFromWorkerResponse Source # 
Data DisassociateQualificationFromWorkerResponse Source # 

Methods

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

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

toConstr :: DisassociateQualificationFromWorkerResponse -> Constr #

dataTypeOf :: DisassociateQualificationFromWorkerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses