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

Contents

Description

The ListHITs operation returns all of a Requester's HITs. The operation returns HITs of any status, except for HITs that have been deleted of with the DeleteHIT operation or that have been auto-deleted.

Synopsis

Creating a Request

listHITs :: ListHITs Source #

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

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

data ListHITs Source #

See: listHITs smart constructor.

Instances

Eq ListHITs Source # 
Data ListHITs Source # 

Methods

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

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

toConstr :: ListHITs -> Constr #

dataTypeOf :: ListHITs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHITs Source # 
Show ListHITs Source # 
Generic ListHITs Source # 

Associated Types

type Rep ListHITs :: * -> * #

Methods

from :: ListHITs -> Rep ListHITs x #

to :: Rep ListHITs x -> ListHITs #

Hashable ListHITs Source # 

Methods

hashWithSalt :: Int -> ListHITs -> Int #

hash :: ListHITs -> Int #

ToJSON ListHITs Source # 
NFData ListHITs Source # 

Methods

rnf :: ListHITs -> () #

AWSRequest ListHITs Source # 
ToQuery ListHITs Source # 
ToPath ListHITs Source # 
ToHeaders ListHITs Source # 

Methods

toHeaders :: ListHITs -> [Header] #

type Rep ListHITs Source # 
type Rep ListHITs = D1 (MetaData "ListHITs" "Network.AWS.MechanicalTurk.ListHITs" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListHITs'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lhitNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lhitMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListHITs Source # 

Request Lenses

lhitMaxResults :: Lens' ListHITs (Maybe Natural) Source #

Undocumented member.

Destructuring the Response

listHITsResponse Source #

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

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

data ListHITsResponse Source #

See: listHITsResponse smart constructor.

Instances

Eq ListHITsResponse Source # 
Data ListHITsResponse Source # 

Methods

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

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

toConstr :: ListHITsResponse -> Constr #

dataTypeOf :: ListHITsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListHITsResponse Source # 
Show ListHITsResponse Source # 
Generic ListHITsResponse Source # 
NFData ListHITsResponse Source # 

Methods

rnf :: ListHITsResponse -> () #

type Rep ListHITsResponse Source # 
type Rep ListHITsResponse = D1 (MetaData "ListHITsResponse" "Network.AWS.MechanicalTurk.ListHITs" "amazonka-mechanicalturk-1.5.0-FaPkjSp7Fzg9knquA94uxS" False) (C1 (MetaCons "ListHITsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lhitrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lhitrsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_lhitrsHITs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HIT]))) (S1 (MetaSel (Just Symbol "_lhitrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lhitrsNumResults :: Lens' ListHITsResponse (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.

lhitrsHITs :: Lens' ListHITsResponse [HIT] Source #

The list of HIT elements returned by the query.

lhitrsResponseStatus :: Lens' ListHITsResponse Int Source #

  • - | The response status code.