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

Description

The UpdateHITTypeOfHIT operation allows you to change the HITType properties of a HIT. This operation disassociates the HIT from its old HITType properties and associates it with the new HITType properties. The HIT takes on the properties of the new HITType in place of the old ones.

Synopsis

Creating a Request

data UpdateHITTypeOfHIT Source #

See: newUpdateHITTypeOfHIT smart constructor.

Constructors

UpdateHITTypeOfHIT' 

Fields

Instances

Instances details
ToJSON UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

ToHeaders UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

ToPath UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

ToQuery UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

AWSRequest UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type AWSResponse UpdateHITTypeOfHIT #

Generic UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rep UpdateHITTypeOfHIT :: Type -> Type #

Read UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Show UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

NFData UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Methods

rnf :: UpdateHITTypeOfHIT -> () #

Eq UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Hashable UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

type AWSResponse UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHIT = D1 ('MetaData "UpdateHITTypeOfHIT" "Amazonka.MechanicalTurk.UpdateHITTypeOfHIT" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "UpdateHITTypeOfHIT'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hITId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "hITTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateHITTypeOfHIT Source #

Create a value of UpdateHITTypeOfHIT 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:

UpdateHITTypeOfHIT, updateHITTypeOfHIT_hITId - The HIT to update.

UpdateHITTypeOfHIT, updateHITTypeOfHIT_hITTypeId - The ID of the new HIT type.

Request Lenses

Destructuring the Response

data UpdateHITTypeOfHITResponse Source #

See: newUpdateHITTypeOfHITResponse smart constructor.

Constructors

UpdateHITTypeOfHITResponse' 

Fields

Instances

Instances details
Generic UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rep UpdateHITTypeOfHITResponse :: Type -> Type #

Read UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Show UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

NFData UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Eq UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHITResponse = D1 ('MetaData "UpdateHITTypeOfHITResponse" "Amazonka.MechanicalTurk.UpdateHITTypeOfHIT" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "UpdateHITTypeOfHITResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateHITTypeOfHITResponse Source #

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

Response Lenses