| 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.DisassociateQualificationFromWorker
Description
The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user.
You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message.
- disassociateQualificationFromWorker :: Text -> Text -> DisassociateQualificationFromWorker
- data DisassociateQualificationFromWorker
- dqfwReason :: Lens' DisassociateQualificationFromWorker (Maybe Text)
- dqfwWorkerId :: Lens' DisassociateQualificationFromWorker Text
- dqfwQualificationTypeId :: Lens' DisassociateQualificationFromWorker Text
- disassociateQualificationFromWorkerResponse :: Int -> DisassociateQualificationFromWorkerResponse
- data DisassociateQualificationFromWorkerResponse
- dqfwrsResponseStatus :: Lens' DisassociateQualificationFromWorkerResponse Int
Creating a Request
disassociateQualificationFromWorker Source #
Creates a value of DisassociateQualificationFromWorker with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dqfwReason- A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.dqfwWorkerId- The ID of the Worker who possesses the Qualification to be revoked.dqfwQualificationTypeId- The ID of the Qualification type of the Qualification to be revoked.
data DisassociateQualificationFromWorker Source #
See: disassociateQualificationFromWorker smart constructor.
Instances
Request Lenses
dqfwReason :: Lens' DisassociateQualificationFromWorker (Maybe Text) Source #
A text message that explains why the Qualification was revoked. The user who had the Qualification sees this message.
dqfwWorkerId :: Lens' DisassociateQualificationFromWorker Text Source #
The ID of the Worker who possesses the Qualification to be revoked.
dqfwQualificationTypeId :: Lens' DisassociateQualificationFromWorker Text Source #
The ID of the Qualification type of the Qualification to be revoked.
Destructuring the Response
disassociateQualificationFromWorkerResponse Source #
Creates a value of DisassociateQualificationFromWorkerResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dqfwrsResponseStatus- -- | The response status code.
data DisassociateQualificationFromWorkerResponse Source #
See: disassociateQualificationFromWorkerResponse smart constructor.
Instances
Response Lenses
dqfwrsResponseStatus :: Lens' DisassociateQualificationFromWorkerResponse Int Source #
- - | The response status code.