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.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
Eq UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Read UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Show UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Generic UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rep UpdateHITTypeOfHIT :: Type -> Type #

NFData UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Methods

rnf :: UpdateHITTypeOfHIT -> () #

Hashable UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

ToJSON UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

AWSRequest UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type AWSResponse 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

type Rep UpdateHITTypeOfHIT Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

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

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

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:

$sel:hITId:UpdateHITTypeOfHIT', updateHITTypeOfHIT_hITId - The HIT to update.

$sel:hITTypeId: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
Eq UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Read UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Show UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Generic UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rep UpdateHITTypeOfHITResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" '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