amazonka-mechanicalturk-2.0: Amazon Mechanical Turk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.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

AWSRequest UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Associated Types

type AWSResponse UpdateHITReviewStatus #

Generic UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Associated Types

type Rep UpdateHITReviewStatus :: Type -> Type #

Read UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Show UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

NFData UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Methods

rnf :: UpdateHITReviewStatus -> () #

Eq UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Hashable UpdateHITReviewStatus Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

type AWSResponse 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" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" '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)))

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

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
Generic UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Associated Types

type Rep UpdateHITReviewStatusResponse :: Type -> Type #

Read UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Show UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

NFData UpdateHITReviewStatusResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITReviewStatus

Eq 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" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" '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