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

Contents

Description

The GetHIT operation retrieves the details of the specified HIT.

Synopsis

Creating a Request

getHIT Source #

Arguments

:: Text

ghitHITId

-> GetHIT 

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

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

  • ghitHITId - The ID of the HIT to be retrieved.

data GetHIT Source #

See: getHIT smart constructor.

Instances
Eq GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

(==) :: GetHIT -> GetHIT -> Bool #

(/=) :: GetHIT -> GetHIT -> Bool #

Data GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

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

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

toConstr :: GetHIT -> Constr #

dataTypeOf :: GetHIT -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Show GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Generic GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Associated Types

type Rep GetHIT :: Type -> Type #

Methods

from :: GetHIT -> Rep GetHIT x #

to :: Rep GetHIT x -> GetHIT #

Hashable GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

hashWithSalt :: Int -> GetHIT -> Int #

hash :: GetHIT -> Int #

ToJSON GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

AWSRequest GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Associated Types

type Rs GetHIT :: Type #

ToHeaders GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

toHeaders :: GetHIT -> [Header] #

ToPath GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

toPath :: GetHIT -> ByteString #

ToQuery GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

NFData GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

rnf :: GetHIT -> () #

type Rep GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

type Rep GetHIT = D1 (MetaData "GetHIT" "Network.AWS.MechanicalTurk.GetHIT" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" True) (C1 (MetaCons "GetHIT'" PrefixI True) (S1 (MetaSel (Just "_ghitHITId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Request Lenses

ghitHITId :: Lens' GetHIT Text Source #

The ID of the HIT to be retrieved.

Destructuring the Response

getHITResponse Source #

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

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

data GetHITResponse Source #

See: getHITResponse smart constructor.

Instances
Eq GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Data GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

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

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

toConstr :: GetHITResponse -> Constr #

dataTypeOf :: GetHITResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Show GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Generic GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Associated Types

type Rep GetHITResponse :: Type -> Type #

NFData GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

Methods

rnf :: GetHITResponse -> () #

type Rep GetHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetHIT

type Rep GetHITResponse = D1 (MetaData "GetHITResponse" "Network.AWS.MechanicalTurk.GetHIT" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "GetHITResponse'" PrefixI True) (S1 (MetaSel (Just "_ghitrsHIT") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HIT)) :*: S1 (MetaSel (Just "_ghitrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ghitrsHIT :: Lens' GetHITResponse (Maybe HIT) Source #

Contains the requested HIT data.

ghitrsResponseStatus :: Lens' GetHITResponse Int Source #

  • - | The response status code.