| 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.GetHIT
Description
The GetHIT operation retrieves the details of the specified HIT.
Synopsis
- getHIT :: Text -> GetHIT
- data GetHIT
- ghitHITId :: Lens' GetHIT Text
- getHITResponse :: Int -> GetHITResponse
- data GetHITResponse
- ghitrsHIT :: Lens' GetHITResponse (Maybe HIT)
- ghitrsResponseStatus :: Lens' GetHITResponse Int
Creating a Request
See: getHIT smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> GetHITResponse |
Creates a value of GetHITResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ghitrsHIT- Contains the requested HIT data.ghitrsResponseStatus- -- | The response status code.
data GetHITResponse Source #
See: getHITResponse smart constructor.
Instances
Response Lenses
ghitrsResponseStatus :: Lens' GetHITResponse Int Source #
- - | The response status code.