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

Contents

Description

The ListReviewPolicyResultsForHIT operation retrieves the computed results and the actions taken in the course of executing your Review Policies for a given HIT. For information about how to specify Review Policies when you call CreateHIT, see Review Policies. The ListReviewPolicyResultsForHIT operation can return results for both Assignment-level and HIT-level review results.

Synopsis

Creating a Request

listReviewPolicyResultsForHIT Source #

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

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

  • lrprfhitRetrieveResults - Specify if the operation should retrieve a list of the results computed by the Review Policies.
  • lrprfhitPolicyLevels - The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
  • lrprfhitRetrieveActions - Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.
  • lrprfhitNextToken - Pagination token
  • lrprfhitMaxResults - Limit the number of results returned.
  • lrprfhitHITId - The unique identifier of the HIT to retrieve review results for.

data ListReviewPolicyResultsForHIT Source #

See: listReviewPolicyResultsForHIT smart constructor.

Instances

Eq ListReviewPolicyResultsForHIT Source # 
Data ListReviewPolicyResultsForHIT Source # 

Methods

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

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

toConstr :: ListReviewPolicyResultsForHIT -> Constr #

dataTypeOf :: ListReviewPolicyResultsForHIT -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListReviewPolicyResultsForHIT Source # 
Show ListReviewPolicyResultsForHIT Source # 
Generic ListReviewPolicyResultsForHIT Source # 
Hashable ListReviewPolicyResultsForHIT Source # 
ToJSON ListReviewPolicyResultsForHIT Source # 
NFData ListReviewPolicyResultsForHIT Source # 
AWSRequest ListReviewPolicyResultsForHIT Source # 
ToHeaders ListReviewPolicyResultsForHIT Source # 
ToPath ListReviewPolicyResultsForHIT Source # 
ToQuery ListReviewPolicyResultsForHIT Source # 
type Rep ListReviewPolicyResultsForHIT Source # 
type Rep ListReviewPolicyResultsForHIT = D1 * (MetaData "ListReviewPolicyResultsForHIT" "Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "ListReviewPolicyResultsForHIT'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitRetrieveResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitPolicyLevels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ReviewPolicyLevel]))) (S1 * (MetaSel (Just Symbol "_lrprfhitRetrieveActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lrprfhitHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs ListReviewPolicyResultsForHIT Source # 

Request Lenses

lrprfhitRetrieveResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool) Source #

Specify if the operation should retrieve a list of the results computed by the Review Policies.

lrprfhitPolicyLevels :: Lens' ListReviewPolicyResultsForHIT [ReviewPolicyLevel] Source #

The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.

lrprfhitRetrieveActions :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool) Source #

Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.

lrprfhitMaxResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Natural) Source #

Limit the number of results returned.

lrprfhitHITId :: Lens' ListReviewPolicyResultsForHIT Text Source #

The unique identifier of the HIT to retrieve review results for.

Destructuring the Response

listReviewPolicyResultsForHITResponse Source #

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

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

data ListReviewPolicyResultsForHITResponse Source #

Instances

Eq ListReviewPolicyResultsForHITResponse Source # 
Data ListReviewPolicyResultsForHITResponse Source # 

Methods

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

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

toConstr :: ListReviewPolicyResultsForHITResponse -> Constr #

dataTypeOf :: ListReviewPolicyResultsForHITResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListReviewPolicyResultsForHITResponse Source # 
Show ListReviewPolicyResultsForHITResponse Source # 
Generic ListReviewPolicyResultsForHITResponse Source # 
NFData ListReviewPolicyResultsForHITResponse Source # 
type Rep ListReviewPolicyResultsForHITResponse Source # 
type Rep ListReviewPolicyResultsForHITResponse = D1 * (MetaData "ListReviewPolicyResultsForHITResponse" "Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "ListReviewPolicyResultsForHITResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitrsHITReviewPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ReviewPolicy))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitrsHITReviewReport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ReviewReport))) (S1 * (MetaSel (Just Symbol "_lrprfhitrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitrsAssignmentReviewReport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ReviewReport))) (S1 * (MetaSel (Just Symbol "_lrprfhitrsHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrprfhitrsAssignmentReviewPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ReviewPolicy))) (S1 * (MetaSel (Just Symbol "_lrprfhitrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

lrprfhitrsHITReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy) Source #

The name of the HIT-level Review Policy. This contains only the PolicyName element.

lrprfhitrsHITReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport) Source #

Contains both ReviewResult and ReviewAction elements for a particular HIT.

lrprfhitrsAssignmentReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport) Source #

Contains both ReviewResult and ReviewAction elements for an Assignment.

lrprfhitrsHITId :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text) Source #

The HITId of the HIT for which results have been returned.

lrprfhitrsAssignmentReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy) Source #

The name of the Assignment-level Review Policy. This contains only the PolicyName element.