| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MechanicalTurk.ListReviewPolicyResultsForHIT
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.
- listReviewPolicyResultsForHIT :: Text -> ListReviewPolicyResultsForHIT
- data ListReviewPolicyResultsForHIT
- lrprfhitRetrieveResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool)
- lrprfhitPolicyLevels :: Lens' ListReviewPolicyResultsForHIT [ReviewPolicyLevel]
- lrprfhitRetrieveActions :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool)
- lrprfhitNextToken :: Lens' ListReviewPolicyResultsForHIT (Maybe Text)
- lrprfhitMaxResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Natural)
- lrprfhitHITId :: Lens' ListReviewPolicyResultsForHIT Text
- listReviewPolicyResultsForHITResponse :: Int -> ListReviewPolicyResultsForHITResponse
- data ListReviewPolicyResultsForHITResponse
- lrprfhitrsHITReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy)
- lrprfhitrsHITReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport)
- lrprfhitrsNextToken :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text)
- lrprfhitrsAssignmentReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport)
- lrprfhitrsHITId :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text)
- lrprfhitrsAssignmentReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy)
- lrprfhitrsResponseStatus :: Lens' ListReviewPolicyResultsForHITResponse Int
Creating a Request
listReviewPolicyResultsForHIT Source #
Arguments
| :: Text | |
| -> ListReviewPolicyResultsForHIT |
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 tokenlrprfhitMaxResults- 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
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.
lrprfhitNextToken :: Lens' ListReviewPolicyResultsForHIT (Maybe Text) Source #
Pagination token
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:
lrprfhitrsHITReviewPolicy- The name of the HIT-level Review Policy. This contains only the PolicyName element.lrprfhitrsHITReviewReport- Contains both ReviewResult and ReviewAction elements for a particular HIT.lrprfhitrsNextToken- Undocumented member.lrprfhitrsAssignmentReviewReport- Contains both ReviewResult and ReviewAction elements for an Assignment.lrprfhitrsHITId- The HITId of the HIT for which results have been returned.lrprfhitrsAssignmentReviewPolicy- The name of the Assignment-level Review Policy. This contains only the PolicyName element.lrprfhitrsResponseStatus- -- | The response status code.
data ListReviewPolicyResultsForHITResponse Source #
See: listReviewPolicyResultsForHITResponse smart constructor.
Instances
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.
lrprfhitrsNextToken :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text) Source #
Undocumented member.
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.
lrprfhitrsResponseStatus :: Lens' ListReviewPolicyResultsForHITResponse Int Source #
- - | The response status code.