amazonka-mechanicalturk-1.6.1: 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.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.

This operation returns paginated results.

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Data ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Show ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Generic ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Associated Types

type Rep ListHITs :: Type -> Type #

Methods

from :: ListHITs -> Rep ListHITs x #

to :: Rep ListHITs x -> ListHITs #

Hashable ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Methods

hashWithSalt :: Int -> ListHITs -> Int #

hash :: ListHITs -> Int #

ToJSON ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

AWSPager ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

AWSRequest ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Associated Types

type Rs ListHITs :: Type #

ToHeaders ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Methods

toHeaders :: ListHITs -> [Header] #

ToPath ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

ToQuery ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

NFData ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Methods

rnf :: ListHITs -> () #

type Rep ListHITs Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

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

Defined in Network.AWS.MechanicalTurk.ListHITs

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Data ListHITsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Show ListHITsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Generic ListHITsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Associated Types

type Rep ListHITsResponse :: Type -> Type #

NFData ListHITsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

Methods

rnf :: ListHITsResponse -> () #

type Rep ListHITsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListHITs

type Rep ListHITsResponse = D1 (MetaData "ListHITsResponse" "Network.AWS.MechanicalTurk.ListHITs" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListHITsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lhitrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lhitrsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "_lhitrsHITs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HIT])) :*: S1 (MetaSel (Just "_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.