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

Contents

Description

The RejectAssignment operation rejects the results of a completed assignment.

You can include an optional feedback message with the rejection, which the Worker can see in the Status section of the web site. When you include a feedback message with the rejection, it helps the Worker understand why the assignment was rejected, and can improve the quality of the results the Worker submits in the future.

Only the Requester who created the HIT can reject an assignment for the HIT.

Synopsis

Creating a Request

rejectAssignment Source #

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

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

  • raAssignmentId - The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
  • raRequesterFeedback - A message for the Worker, which the Worker can see in the Status section of the web site.

data RejectAssignment Source #

See: rejectAssignment smart constructor.

Instances
Eq RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Data RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Methods

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

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

toConstr :: RejectAssignment -> Constr #

dataTypeOf :: RejectAssignment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Show RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Generic RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Associated Types

type Rep RejectAssignment :: Type -> Type #

Hashable RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

ToJSON RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

AWSRequest RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Associated Types

type Rs RejectAssignment :: Type #

ToHeaders RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

ToPath RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

ToQuery RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

NFData RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Methods

rnf :: RejectAssignment -> () #

type Rep RejectAssignment Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

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

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Request Lenses

raAssignmentId :: Lens' RejectAssignment Text Source #

The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

raRequesterFeedback :: Lens' RejectAssignment Text Source #

A message for the Worker, which the Worker can see in the Status section of the web site.

Destructuring the Response

rejectAssignmentResponse Source #

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

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

data RejectAssignmentResponse Source #

See: rejectAssignmentResponse smart constructor.

Instances
Eq RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Data RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Methods

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

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

toConstr :: RejectAssignmentResponse -> Constr #

dataTypeOf :: RejectAssignmentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Show RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Generic RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

Associated Types

type Rep RejectAssignmentResponse :: Type -> Type #

NFData RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

type Rep RejectAssignmentResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.RejectAssignment

type Rep RejectAssignmentResponse = D1 (MetaData "RejectAssignmentResponse" "Network.AWS.MechanicalTurk.RejectAssignment" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" True) (C1 (MetaCons "RejectAssignmentResponse'" PrefixI True) (S1 (MetaSel (Just "_rarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses