libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MechanicalTurk.RejectAssignment

Description

The RejectAssignment operation rejects the results of a completed assignment.

You can include an optional feedback message with the rejection, which the Worker can see in the Status section of the web site. When you include a feedback message with the rejection, it helps the Worker understand why the assignment was rejected, and can improve the quality of the results the Worker submits in the future.

Only the Requester who created the HIT can reject an assignment for the HIT.

Synopsis

Creating a Request

data RejectAssignment Source #

See: newRejectAssignment smart constructor.

Constructors

RejectAssignment' 

Fields

  • assignmentId :: Text

    The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

  • requesterFeedback :: Text

    A message for the Worker, which the Worker can see in the Status section of the web site.

Instances

Instances details
Eq RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Read RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Show RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Generic RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Associated Types

type Rep RejectAssignment :: Type -> Type #

NFData RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Methods

rnf :: RejectAssignment -> () #

Hashable RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

ToJSON RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

AWSRequest RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Associated Types

type AWSResponse RejectAssignment #

ToHeaders RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

ToPath RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

ToQuery RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

type Rep RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

type Rep RejectAssignment = D1 ('MetaData "RejectAssignment" "Amazonka.MechanicalTurk.RejectAssignment" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "RejectAssignment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assignmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requesterFeedback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RejectAssignment Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

newRejectAssignment Source #

Create a value of RejectAssignment 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:assignmentId:RejectAssignment', rejectAssignment_assignmentId - The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

$sel:requesterFeedback:RejectAssignment', rejectAssignment_requesterFeedback - A message for the Worker, which the Worker can see in the Status section of the web site.

Request Lenses

rejectAssignment_assignmentId :: Lens' RejectAssignment Text Source #

The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

rejectAssignment_requesterFeedback :: Lens' RejectAssignment Text Source #

A message for the Worker, which the Worker can see in the Status section of the web site.

Destructuring the Response

data RejectAssignmentResponse Source #

See: newRejectAssignmentResponse smart constructor.

Constructors

RejectAssignmentResponse' 

Fields

Instances

Instances details
Eq RejectAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Read RejectAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Show RejectAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Generic RejectAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

Associated Types

type Rep RejectAssignmentResponse :: Type -> Type #

NFData RejectAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

type Rep RejectAssignmentResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.RejectAssignment

type Rep RejectAssignmentResponse = D1 ('MetaData "RejectAssignmentResponse" "Amazonka.MechanicalTurk.RejectAssignment" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "RejectAssignmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRejectAssignmentResponse Source #

Create a value of RejectAssignmentResponse 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:RejectAssignmentResponse', rejectAssignmentResponse_httpStatus - The response's http status code.

Response Lenses