| 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.GetAssignment
Description
The GetAssignment operation retrieves the details of the specified Assignment.
Synopsis
- getAssignment :: Text -> GetAssignment
- data GetAssignment
- gaAssignmentId :: Lens' GetAssignment Text
- getAssignmentResponse :: Int -> GetAssignmentResponse
- data GetAssignmentResponse
- garsHIT :: Lens' GetAssignmentResponse (Maybe HIT)
- garsAssignment :: Lens' GetAssignmentResponse (Maybe Assignment)
- garsResponseStatus :: Lens' GetAssignmentResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetAssignment |
Creates a value of GetAssignment with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaAssignmentId- The ID of the Assignment to be retrieved.
data GetAssignment Source #
See: getAssignment smart constructor.
Instances
Request Lenses
gaAssignmentId :: Lens' GetAssignment Text Source #
The ID of the Assignment to be retrieved.
Destructuring the Response
getAssignmentResponse Source #
Arguments
| :: Int | |
| -> GetAssignmentResponse |
Creates a value of GetAssignmentResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
garsHIT- The HIT associated with this assignment. The response includes one HIT element.garsAssignment- The assignment. The response includes one Assignment element.garsResponseStatus- -- | The response status code.
data GetAssignmentResponse Source #
See: getAssignmentResponse smart constructor.
Instances
Response Lenses
garsHIT :: Lens' GetAssignmentResponse (Maybe HIT) Source #
The HIT associated with this assignment. The response includes one HIT element.
garsAssignment :: Lens' GetAssignmentResponse (Maybe Assignment) Source #
The assignment. The response includes one Assignment element.
garsResponseStatus :: Lens' GetAssignmentResponse Int Source #
- - | The response status code.