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

Contents

Description

The GetAssignment operation retrieves the details of the specified Assignment.

Synopsis

Creating a Request

getAssignment Source #

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

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

data GetAssignment Source #

See: getAssignment smart constructor.

Instances
Eq GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Data GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Methods

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

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

toConstr :: GetAssignment -> Constr #

dataTypeOf :: GetAssignment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Show GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Generic GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Associated Types

type Rep GetAssignment :: Type -> Type #

Hashable GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

ToJSON GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

AWSRequest GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Associated Types

type Rs GetAssignment :: Type #

ToHeaders GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

ToPath GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

ToQuery GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

NFData GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Methods

rnf :: GetAssignment -> () #

type Rep GetAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

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

Defined in Network.AWS.MechanicalTurk.GetAssignment

Request Lenses

gaAssignmentId :: Lens' GetAssignment Text Source #

The ID of the Assignment to be retrieved.

Destructuring the Response

getAssignmentResponse Source #

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

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

  • garsHIT - The HIT associated with this assignment. The response includes one HIT element.
  • garsAssignment - The assignment. The response includes one Assignment element.
  • garsResponseStatus - -- | The response status code.

data GetAssignmentResponse Source #

See: getAssignmentResponse smart constructor.

Instances
Eq GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Data GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Methods

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

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

toConstr :: GetAssignmentResponse -> Constr #

dataTypeOf :: GetAssignmentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Show GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Generic GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Associated Types

type Rep GetAssignmentResponse :: Type -> Type #

NFData GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

Methods

rnf :: GetAssignmentResponse -> () #

type Rep GetAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.GetAssignment

type Rep GetAssignmentResponse = D1 (MetaData "GetAssignmentResponse" "Network.AWS.MechanicalTurk.GetAssignment" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "GetAssignmentResponse'" PrefixI True) (S1 (MetaSel (Just "_garsHIT") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HIT)) :*: (S1 (MetaSel (Just "_garsAssignment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Assignment)) :*: S1 (MetaSel (Just "_garsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

garsHIT :: Lens' GetAssignmentResponse (Maybe HIT) Source #

The HIT associated with this assignment. The response includes one HIT element.

garsAssignment :: Lens' GetAssignmentResponse (Maybe Assignment) Source #

The assignment. The response includes one Assignment element.

garsResponseStatus :: Lens' GetAssignmentResponse Int Source #

  • - | The response status code.