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.UpdateHITReviewStatus

Description

The UpdateHITReviewStatus operation updates the status of a HIT. If the status is Reviewable, this operation can update the status to Reviewing, or it can revert a Reviewing HIT back to the Reviewable status.

Synopsis

Creating a Request

data UpdateHITReviewStatus Source #

See: newUpdateHITReviewStatus smart constructor.

Constructors

UpdateHITReviewStatus' 

Fields

  • revert :: Maybe Bool

    Specifies how to update the HIT status. Default is False.

    • Setting this to false will only transition a HIT from Reviewable to Reviewing
    • Setting this to true will only transition a HIT from Reviewing to Reviewable
  • hITId :: Text

    The ID of the HIT to update.

Instances

Instances details
Eq UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Read UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Show UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Generic UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Associated Types

type Rep UpdateHITReviewStatus :: Type -> Type #

NFData UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Methods

rnf :: UpdateHITReviewStatus -> () #

Hashable UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

ToJSON UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

AWSRequest UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Associated Types

type AWSResponse UpdateHITReviewStatus #

ToHeaders UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

ToPath UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

ToQuery UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

type Rep UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

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

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

newUpdateHITReviewStatus Source #

Create a value of UpdateHITReviewStatus 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:revert:UpdateHITReviewStatus', updateHITReviewStatus_revert - Specifies how to update the HIT status. Default is False.

  • Setting this to false will only transition a HIT from Reviewable to Reviewing
  • Setting this to true will only transition a HIT from Reviewing to Reviewable

$sel:hITId:UpdateHITReviewStatus', updateHITReviewStatus_hITId - The ID of the HIT to update.

Request Lenses

updateHITReviewStatus_revert :: Lens' UpdateHITReviewStatus (Maybe Bool) Source #

Specifies how to update the HIT status. Default is False.

  • Setting this to false will only transition a HIT from Reviewable to Reviewing
  • Setting this to true will only transition a HIT from Reviewing to Reviewable

Destructuring the Response

data UpdateHITReviewStatusResponse Source #

See: newUpdateHITReviewStatusResponse smart constructor.

Constructors

UpdateHITReviewStatusResponse' 

Fields

Instances

Instances details
Eq UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Read UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Show UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Generic UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Associated Types

type Rep UpdateHITReviewStatusResponse :: Type -> Type #

NFData UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

type Rep UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

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

newUpdateHITReviewStatusResponse Source #

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

Response Lenses