Copyright | (c) 2013-2021 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 |
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
- data RejectQualificationRequest = RejectQualificationRequest' {}
- newRejectQualificationRequest :: Text -> RejectQualificationRequest
- rejectQualificationRequest_reason :: Lens' RejectQualificationRequest (Maybe Text)
- rejectQualificationRequest_qualificationRequestId :: Lens' RejectQualificationRequest Text
- data RejectQualificationRequestResponse = RejectQualificationRequestResponse' {
- httpStatus :: Int
- newRejectQualificationRequestResponse :: Int -> RejectQualificationRequestResponse
- rejectQualificationRequestResponse_httpStatus :: Lens' RejectQualificationRequestResponse Int
Creating a Request
data RejectQualificationRequest Source #
See: newRejectQualificationRequest
smart constructor.
RejectQualificationRequest' | |
|
Instances
newRejectQualificationRequest Source #
Create a value of RejectQualificationRequest
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reason:RejectQualificationRequest'
, rejectQualificationRequest_reason
- A text message explaining why the request was rejected, to be shown to
the Worker who made the request.
$sel:qualificationRequestId:RejectQualificationRequest'
, rejectQualificationRequest_qualificationRequestId
- The ID of the Qualification request, as returned by the
ListQualificationRequests
operation.
Request Lenses
rejectQualificationRequest_reason :: Lens' RejectQualificationRequest (Maybe Text) Source #
A text message explaining why the request was rejected, to be shown to the Worker who made the request.
rejectQualificationRequest_qualificationRequestId :: Lens' RejectQualificationRequest Text Source #
The ID of the Qualification request, as returned by the
ListQualificationRequests
operation.
Destructuring the Response
data RejectQualificationRequestResponse Source #
See: newRejectQualificationRequestResponse
smart constructor.
RejectQualificationRequestResponse' | |
|
Instances
Eq RejectQualificationRequestResponse Source # | |
Read RejectQualificationRequestResponse Source # | |
Show RejectQualificationRequestResponse Source # | |
Generic RejectQualificationRequestResponse Source # | |
NFData RejectQualificationRequestResponse Source # | |
Defined in Amazonka.MechanicalTurk.RejectQualificationRequest rnf :: RejectQualificationRequestResponse -> () # | |
type Rep RejectQualificationRequestResponse Source # | |
Defined in Amazonka.MechanicalTurk.RejectQualificationRequest type Rep RejectQualificationRequestResponse = D1 ('MetaData "RejectQualificationRequestResponse" "Amazonka.MechanicalTurk.RejectQualificationRequest" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "RejectQualificationRequestResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRejectQualificationRequestResponse Source #
Create a value of RejectQualificationRequestResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:RejectQualificationRequestResponse'
, rejectQualificationRequestResponse_httpStatus
- The response's http status code.
Response Lenses
rejectQualificationRequestResponse_httpStatus :: Lens' RejectQualificationRequestResponse Int Source #
The response's http status code.