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

Contents

Description

The ListQualificationRequests operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation.

Synopsis

Creating a Request

listQualificationTypes Source #

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

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

  • lqtMustBeOwnedByCaller - Specifies that only Qualification types that the Requester created are returned. If false, the operation returns all Qualification types.
  • lqtNextToken - Undocumented member.
  • lqtQuery - A text query against all of the searchable attributes of Qualification types.
  • lqtMaxResults - The maximum number of results to return in a single call.
  • lqtMustBeRequestable - Specifies that only Qualification types that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test, are returned as results of the search. Some Qualification types, such as those assigned automatically by the system, cannot be requested directly by users. If false, all Qualification types, including those managed by the system, are considered. Valid values are True | False.

data ListQualificationTypes Source #

See: listQualificationTypes smart constructor.

Instances

Eq ListQualificationTypes Source # 
Data ListQualificationTypes Source # 

Methods

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

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

toConstr :: ListQualificationTypes -> Constr #

dataTypeOf :: ListQualificationTypes -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListQualificationTypes -> () #

AWSRequest ListQualificationTypes Source # 
ToQuery ListQualificationTypes Source # 
ToPath ListQualificationTypes Source # 
ToHeaders ListQualificationTypes Source # 
type Rep ListQualificationTypes Source # 
type Rep ListQualificationTypes = D1 (MetaData "ListQualificationTypes" "Network.AWS.MechanicalTurk.ListQualificationTypes" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListQualificationTypes'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lqtMustBeOwnedByCaller") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lqtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lqtQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lqtMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lqtMustBeRequestable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))
type Rs ListQualificationTypes Source # 

Request Lenses

lqtMustBeOwnedByCaller :: Lens' ListQualificationTypes (Maybe Bool) Source #

Specifies that only Qualification types that the Requester created are returned. If false, the operation returns all Qualification types.

lqtQuery :: Lens' ListQualificationTypes (Maybe Text) Source #

A text query against all of the searchable attributes of Qualification types.

lqtMaxResults :: Lens' ListQualificationTypes (Maybe Natural) Source #

The maximum number of results to return in a single call.

lqtMustBeRequestable :: Lens' ListQualificationTypes Bool Source #

Specifies that only Qualification types that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test, are returned as results of the search. Some Qualification types, such as those assigned automatically by the system, cannot be requested directly by users. If false, all Qualification types, including those managed by the system, are considered. Valid values are True | False.

Destructuring the Response

listQualificationTypesResponse Source #

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

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

data ListQualificationTypesResponse Source #

See: listQualificationTypesResponse smart constructor.

Instances

Eq ListQualificationTypesResponse Source # 
Data ListQualificationTypesResponse Source # 

Methods

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

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

toConstr :: ListQualificationTypesResponse -> Constr #

dataTypeOf :: ListQualificationTypesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListQualificationTypesResponse Source # 
Show ListQualificationTypesResponse Source # 
Generic ListQualificationTypesResponse Source # 
NFData ListQualificationTypesResponse Source # 
type Rep ListQualificationTypesResponse Source # 
type Rep ListQualificationTypesResponse = D1 (MetaData "ListQualificationTypesResponse" "Network.AWS.MechanicalTurk.ListQualificationTypes" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListQualificationTypesResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lqtrsQualificationTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QualificationType]))) (S1 (MetaSel (Just Symbol "_lqtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lqtrsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_lqtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lqtrsQualificationTypes :: Lens' ListQualificationTypesResponse [QualificationType] Source #

The list of QualificationType elements returned by the query.

lqtrsNumResults :: Lens' ListQualificationTypesResponse (Maybe Int) Source #

The number of Qualification types on this page in the filtered results list, equivalent to the number of types this operation returns.