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.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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Data ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Show ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Generic ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Associated Types

type Rep ListReviewPolicyResultsForHIT :: Type -> Type #

Hashable ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

ToJSON ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

AWSRequest ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Associated Types

type Rs ListReviewPolicyResultsForHIT :: Type #

ToHeaders ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

ToPath ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

ToQuery ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

NFData ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

type Rep ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

type Rep ListReviewPolicyResultsForHIT = D1 (MetaData "ListReviewPolicyResultsForHIT" "Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListReviewPolicyResultsForHIT'" PrefixI True) ((S1 (MetaSel (Just "_lrprfhitRetrieveResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_lrprfhitPolicyLevels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReviewPolicyLevel])) :*: S1 (MetaSel (Just "_lrprfhitRetrieveActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_lrprfhitNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lrprfhitMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lrprfhitHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListReviewPolicyResultsForHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Data ListReviewPolicyResultsForHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

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 # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Show ListReviewPolicyResultsForHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

Generic ListReviewPolicyResultsForHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

NFData ListReviewPolicyResultsForHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

type Rep ListReviewPolicyResultsForHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT

type Rep ListReviewPolicyResultsForHITResponse = D1 (MetaData "ListReviewPolicyResultsForHITResponse" "Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListReviewPolicyResultsForHITResponse'" PrefixI True) ((S1 (MetaSel (Just "_lrprfhitrsHITReviewPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReviewPolicy)) :*: (S1 (MetaSel (Just "_lrprfhitrsHITReviewReport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReviewReport)) :*: S1 (MetaSel (Just "_lrprfhitrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_lrprfhitrsAssignmentReviewReport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReviewReport)) :*: S1 (MetaSel (Just "_lrprfhitrsHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lrprfhitrsAssignmentReviewPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReviewPolicy)) :*: S1 (MetaSel (Just "_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.