| Copyright | (c) 2013-2017 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.UpdateHITReviewStatus
Description
The UpdateHITReviewStatus operation updates the status of a HIT. If the status is Reviewable, this operation can update the status to Reviewing, or it can revert a Reviewing HIT back to the Reviewable status.
- updateHITReviewStatus :: Text -> UpdateHITReviewStatus
- data UpdateHITReviewStatus
- uhitrsRevert :: Lens' UpdateHITReviewStatus (Maybe Bool)
- uhitrsHITId :: Lens' UpdateHITReviewStatus Text
- updateHITReviewStatusResponse :: Int -> UpdateHITReviewStatusResponse
- data UpdateHITReviewStatusResponse
- uhitrsrsResponseStatus :: Lens' UpdateHITReviewStatusResponse Int
Creating a Request
updateHITReviewStatus Source #
Arguments
| :: Text | |
| -> UpdateHITReviewStatus |
Creates a value of UpdateHITReviewStatus with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uhitrsRevert- Specifies how to update the HIT status. Default isFalse. * Setting this to false will only transition a HIT fromReviewabletoReviewing* Setting this to true will only transition a HIT fromReviewingtoReviewableuhitrsHITId- The ID of the HIT to update.
data UpdateHITReviewStatus Source #
See: updateHITReviewStatus smart constructor.
Instances
Request Lenses
uhitrsRevert :: Lens' UpdateHITReviewStatus (Maybe Bool) Source #
Specifies how to update the HIT status. Default is False . * Setting this to false will only transition a HIT from Reviewable to Reviewing * Setting this to true will only transition a HIT from Reviewing to Reviewable
uhitrsHITId :: Lens' UpdateHITReviewStatus Text Source #
The ID of the HIT to update.
Destructuring the Response
updateHITReviewStatusResponse Source #
Arguments
| :: Int | |
| -> UpdateHITReviewStatusResponse |
Creates a value of UpdateHITReviewStatusResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uhitrsrsResponseStatus- -- | The response status code.
data UpdateHITReviewStatusResponse Source #
See: updateHITReviewStatusResponse smart constructor.
Instances
Response Lenses
uhitrsrsResponseStatus :: Lens' UpdateHITReviewStatusResponse Int Source #
- - | The response status code.