amazonka-mechanicalturk-1.6.0: 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 # 
Data RejectAssignment Source # 

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 # 
Show RejectAssignment Source # 
Generic RejectAssignment Source # 
Hashable RejectAssignment Source # 
ToJSON RejectAssignment Source # 
NFData RejectAssignment Source # 

Methods

rnf :: RejectAssignment -> () #

AWSRequest RejectAssignment Source # 
ToHeaders RejectAssignment Source # 
ToPath RejectAssignment Source # 
ToQuery RejectAssignment Source # 
type Rep RejectAssignment Source # 
type Rep RejectAssignment = D1 * (MetaData "RejectAssignment" "Network.AWS.MechanicalTurk.RejectAssignment" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "RejectAssignment'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_raAssignmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_raRequesterFeedback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs RejectAssignment Source # 

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 # 
Data RejectAssignmentResponse Source # 

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 # 
Show RejectAssignmentResponse Source # 
Generic RejectAssignmentResponse Source # 
NFData RejectAssignmentResponse Source # 
type Rep RejectAssignmentResponse Source # 
type Rep RejectAssignmentResponse = D1 * (MetaData "RejectAssignmentResponse" "Network.AWS.MechanicalTurk.RejectAssignment" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" True) (C1 * (MetaCons "RejectAssignmentResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses