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 |
The RejectQualificationRequest
operation rejects a user's request for a Qualification.
You can provide a text message explaining why the request was rejected. The Worker who made the request can see this message.
Synopsis
- rejectQualificationRequest :: Text -> RejectQualificationRequest
- data RejectQualificationRequest
- rqrReason :: Lens' RejectQualificationRequest (Maybe Text)
- rqrQualificationRequestId :: Lens' RejectQualificationRequest Text
- rejectQualificationRequestResponse :: Int -> RejectQualificationRequestResponse
- data RejectQualificationRequestResponse
- rqrrsResponseStatus :: Lens' RejectQualificationRequestResponse Int
Creating a Request
rejectQualificationRequest Source #
Creates a value of RejectQualificationRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rqrReason
- A text message explaining why the request was rejected, to be shown to the Worker who made the request.rqrQualificationRequestId
- The ID of the Qualification request, as returned by theListQualificationRequests
operation.
data RejectQualificationRequest Source #
See: rejectQualificationRequest
smart constructor.
Instances
Request Lenses
rqrReason :: Lens' RejectQualificationRequest (Maybe Text) Source #
A text message explaining why the request was rejected, to be shown to the Worker who made the request.
rqrQualificationRequestId :: Lens' RejectQualificationRequest Text Source #
The ID of the Qualification request, as returned by the ListQualificationRequests
operation.
Destructuring the Response
rejectQualificationRequestResponse Source #
Creates a value of RejectQualificationRequestResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rqrrsResponseStatus
- -- | The response status code.
data RejectQualificationRequestResponse Source #
See: rejectQualificationRequestResponse
smart constructor.
Instances
Response Lenses
rqrrsResponseStatus :: Lens' RejectQualificationRequestResponse Int Source #
- - | The response status code.