Copyright | (c) 2013-2021 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 |
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
- data ListReviewPolicyResultsForHIT = ListReviewPolicyResultsForHIT' {}
- newListReviewPolicyResultsForHIT :: Text -> ListReviewPolicyResultsForHIT
- listReviewPolicyResultsForHIT_retrieveResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool)
- listReviewPolicyResultsForHIT_policyLevels :: Lens' ListReviewPolicyResultsForHIT (Maybe [ReviewPolicyLevel])
- listReviewPolicyResultsForHIT_retrieveActions :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool)
- listReviewPolicyResultsForHIT_nextToken :: Lens' ListReviewPolicyResultsForHIT (Maybe Text)
- listReviewPolicyResultsForHIT_maxResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Natural)
- listReviewPolicyResultsForHIT_hITId :: Lens' ListReviewPolicyResultsForHIT Text
- data ListReviewPolicyResultsForHITResponse = ListReviewPolicyResultsForHITResponse' {}
- newListReviewPolicyResultsForHITResponse :: Int -> ListReviewPolicyResultsForHITResponse
- listReviewPolicyResultsForHITResponse_hITReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy)
- listReviewPolicyResultsForHITResponse_hITReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport)
- listReviewPolicyResultsForHITResponse_nextToken :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text)
- listReviewPolicyResultsForHITResponse_assignmentReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport)
- listReviewPolicyResultsForHITResponse_hITId :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text)
- listReviewPolicyResultsForHITResponse_assignmentReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy)
- listReviewPolicyResultsForHITResponse_httpStatus :: Lens' ListReviewPolicyResultsForHITResponse Int
Creating a Request
data ListReviewPolicyResultsForHIT Source #
See: newListReviewPolicyResultsForHIT
smart constructor.
ListReviewPolicyResultsForHIT' | |
|
Instances
newListReviewPolicyResultsForHIT Source #
Create a value of ListReviewPolicyResultsForHIT
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:retrieveResults:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHIT_retrieveResults
- Specify if the operation should retrieve a list of the results computed
by the Review Policies.
$sel:policyLevels:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHIT_policyLevels
- 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.
$sel:retrieveActions:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHIT_retrieveActions
- Specify if the operation should retrieve a list of the actions taken
executing the Review Policies and their outcomes.
$sel:nextToken:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHIT_nextToken
- Pagination token
$sel:maxResults:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHIT_maxResults
- Limit the number of results returned.
$sel:hITId:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHIT_hITId
- The unique identifier of the HIT to retrieve review results for.
Request Lenses
listReviewPolicyResultsForHIT_retrieveResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool) Source #
Specify if the operation should retrieve a list of the results computed by the Review Policies.
listReviewPolicyResultsForHIT_policyLevels :: Lens' ListReviewPolicyResultsForHIT (Maybe [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.
listReviewPolicyResultsForHIT_retrieveActions :: Lens' ListReviewPolicyResultsForHIT (Maybe Bool) Source #
Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.
listReviewPolicyResultsForHIT_nextToken :: Lens' ListReviewPolicyResultsForHIT (Maybe Text) Source #
Pagination token
listReviewPolicyResultsForHIT_maxResults :: Lens' ListReviewPolicyResultsForHIT (Maybe Natural) Source #
Limit the number of results returned.
listReviewPolicyResultsForHIT_hITId :: Lens' ListReviewPolicyResultsForHIT Text Source #
The unique identifier of the HIT to retrieve review results for.
Destructuring the Response
data ListReviewPolicyResultsForHITResponse Source #
See: newListReviewPolicyResultsForHITResponse
smart constructor.
ListReviewPolicyResultsForHITResponse' | |
|
Instances
newListReviewPolicyResultsForHITResponse Source #
Create a value of ListReviewPolicyResultsForHITResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hITReviewPolicy:ListReviewPolicyResultsForHITResponse'
, listReviewPolicyResultsForHITResponse_hITReviewPolicy
- The name of the HIT-level Review Policy. This contains only the
PolicyName element.
$sel:hITReviewReport:ListReviewPolicyResultsForHITResponse'
, listReviewPolicyResultsForHITResponse_hITReviewReport
- Contains both ReviewResult and ReviewAction elements for a particular
HIT.
$sel:nextToken:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHITResponse_nextToken
- Undocumented member.
$sel:assignmentReviewReport:ListReviewPolicyResultsForHITResponse'
, listReviewPolicyResultsForHITResponse_assignmentReviewReport
- Contains both ReviewResult and ReviewAction elements for an Assignment.
$sel:hITId:ListReviewPolicyResultsForHIT'
, listReviewPolicyResultsForHITResponse_hITId
- The HITId of the HIT for which results have been returned.
$sel:assignmentReviewPolicy:ListReviewPolicyResultsForHITResponse'
, listReviewPolicyResultsForHITResponse_assignmentReviewPolicy
- The name of the Assignment-level Review Policy. This contains only the
PolicyName element.
$sel:httpStatus:ListReviewPolicyResultsForHITResponse'
, listReviewPolicyResultsForHITResponse_httpStatus
- The response's http status code.
Response Lenses
listReviewPolicyResultsForHITResponse_hITReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy) Source #
The name of the HIT-level Review Policy. This contains only the PolicyName element.
listReviewPolicyResultsForHITResponse_hITReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport) Source #
Contains both ReviewResult and ReviewAction elements for a particular HIT.
listReviewPolicyResultsForHITResponse_nextToken :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text) Source #
Undocumented member.
listReviewPolicyResultsForHITResponse_assignmentReviewReport :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewReport) Source #
Contains both ReviewResult and ReviewAction elements for an Assignment.
listReviewPolicyResultsForHITResponse_hITId :: Lens' ListReviewPolicyResultsForHITResponse (Maybe Text) Source #
The HITId of the HIT for which results have been returned.
listReviewPolicyResultsForHITResponse_assignmentReviewPolicy :: Lens' ListReviewPolicyResultsForHITResponse (Maybe ReviewPolicy) Source #
The name of the Assignment-level Review Policy. This contains only the PolicyName element.
listReviewPolicyResultsForHITResponse_httpStatus :: Lens' ListReviewPolicyResultsForHITResponse Int Source #
The response's http status code.