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

Contents

Description

The DeleteQualificationType deletes a Qualification type and deletes any HIT types that are associated with the Qualification type.

This operation does not revoke Qualifications already assigned to Workers because the Qualifications might be needed for active HITs. If there are any pending requests for the Qualification type, Amazon Mechanical Turk rejects those requests. After you delete a Qualification type, you can no longer use it to create HITs or HIT types.

Synopsis

Creating a Request

deleteQualificationType Source #

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

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

data DeleteQualificationType Source #

See: deleteQualificationType smart constructor.

Instances

Eq DeleteQualificationType Source # 
Data DeleteQualificationType Source # 

Methods

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

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

toConstr :: DeleteQualificationType -> Constr #

dataTypeOf :: DeleteQualificationType -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteQualificationType -> () #

AWSRequest DeleteQualificationType Source # 
ToHeaders DeleteQualificationType Source # 
ToPath DeleteQualificationType Source # 
ToQuery DeleteQualificationType Source # 
type Rep DeleteQualificationType Source # 
type Rep DeleteQualificationType = D1 * (MetaData "DeleteQualificationType" "Network.AWS.MechanicalTurk.DeleteQualificationType" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" True) (C1 * (MetaCons "DeleteQualificationType'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dqtQualificationTypeId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteQualificationType Source # 

Request Lenses

dqtQualificationTypeId :: Lens' DeleteQualificationType Text Source #

The ID of the QualificationType to dispose.

Destructuring the Response

deleteQualificationTypeResponse Source #

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

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

data DeleteQualificationTypeResponse Source #

See: deleteQualificationTypeResponse smart constructor.

Instances

Eq DeleteQualificationTypeResponse Source # 
Data DeleteQualificationTypeResponse Source # 

Methods

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

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

toConstr :: DeleteQualificationTypeResponse -> Constr #

dataTypeOf :: DeleteQualificationTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses