amazonka-mechanicalturk-1.5.0: Amazon Mechanical Turk SDK.

Copyright(c) 2013-2017 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.ListHITsForQualificationType

Contents

Description

The ListHITsForQualificationType operation returns the HITs that use the given Qualification type for a Qualification requirement. The operation returns HITs of any status, except for HITs that have been deleted with the DeleteHIT operation or that have been auto-deleted.

Synopsis

Creating a Request

listHITsForQualificationType Source #

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

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

data ListHITsForQualificationType Source #

See: listHITsForQualificationType smart constructor.

Instances

Eq ListHITsForQualificationType Source # 
Data ListHITsForQualificationType Source # 

Methods

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

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

toConstr :: ListHITsForQualificationType -> Constr #

dataTypeOf :: ListHITsForQualificationType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHITsForQualificationType Source # 
Show ListHITsForQualificationType Source # 
Generic ListHITsForQualificationType Source # 
Hashable ListHITsForQualificationType Source # 
ToJSON ListHITsForQualificationType Source # 
NFData ListHITsForQualificationType Source # 
AWSRequest ListHITsForQualificationType Source # 
ToQuery ListHITsForQualificationType Source # 
ToPath ListHITsForQualificationType Source # 
ToHeaders ListHITsForQualificationType Source # 
type Rep ListHITsForQualificationType Source # 
type Rep ListHITsForQualificationType = D1 (MetaData "ListHITsForQualificationType" "Network.AWS.MechanicalTurk.ListHITsForQualificationType" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListHITsForQualificationType'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lhitfqtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lhitfqtMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lhitfqtQualificationTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListHITsForQualificationType Source # 

Request Lenses

lhitfqtMaxResults :: Lens' ListHITsForQualificationType (Maybe Natural) Source #

Limit the number of results returned.

lhitfqtQualificationTypeId :: Lens' ListHITsForQualificationType Text Source #

The ID of the Qualification type to use when querying HITs.

Destructuring the Response

listHITsForQualificationTypeResponse Source #

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

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

data ListHITsForQualificationTypeResponse Source #

See: listHITsForQualificationTypeResponse smart constructor.

Instances

Eq ListHITsForQualificationTypeResponse Source # 
Data ListHITsForQualificationTypeResponse Source # 

Methods

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

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

toConstr :: ListHITsForQualificationTypeResponse -> Constr #

dataTypeOf :: ListHITsForQualificationTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHITsForQualificationTypeResponse Source # 
Show ListHITsForQualificationTypeResponse Source # 
Generic ListHITsForQualificationTypeResponse Source # 
NFData ListHITsForQualificationTypeResponse Source # 
type Rep ListHITsForQualificationTypeResponse Source # 
type Rep ListHITsForQualificationTypeResponse = D1 (MetaData "ListHITsForQualificationTypeResponse" "Network.AWS.MechanicalTurk.ListHITsForQualificationType" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListHITsForQualificationTypeResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lhitfqtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lhitfqtrsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_lhitfqtrsHITs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HIT]))) (S1 (MetaSel (Just Symbol "_lhitfqtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lhitfqtrsNumResults :: Lens' ListHITsForQualificationTypeResponse (Maybe Int) Source #

The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.

lhitfqtrsHITs :: Lens' ListHITsForQualificationTypeResponse [HIT] Source #

The list of HIT elements returned by the query.