amazonka-mechanicalturk-1.6.1: Amazon Mechanical Turk SDK.

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

Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Contents

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

updateHITTypeOfHIT Source #

Creates a value of UpdateHITTypeOfHIT with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateHITTypeOfHIT Source #

See: updateHITTypeOfHIT smart constructor.

Instances
Eq UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Data UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateHITTypeOfHIT -> c UpdateHITTypeOfHIT #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateHITTypeOfHIT #

toConstr :: UpdateHITTypeOfHIT -> Constr #

dataTypeOf :: UpdateHITTypeOfHIT -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateHITTypeOfHIT) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateHITTypeOfHIT) #

gmapT :: (forall b. Data b => b -> b) -> UpdateHITTypeOfHIT -> UpdateHITTypeOfHIT #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateHITTypeOfHIT -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateHITTypeOfHIT -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateHITTypeOfHIT -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateHITTypeOfHIT -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateHITTypeOfHIT -> m UpdateHITTypeOfHIT #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateHITTypeOfHIT -> m UpdateHITTypeOfHIT #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateHITTypeOfHIT -> m UpdateHITTypeOfHIT #

Read UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Show UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Generic UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rep UpdateHITTypeOfHIT :: Type -> Type #

Hashable UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

ToJSON UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

AWSRequest UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rs UpdateHITTypeOfHIT :: Type #

ToHeaders UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

ToPath UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

ToQuery UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

NFData UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Methods

rnf :: UpdateHITTypeOfHIT -> () #

type Rep UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHIT = D1 (MetaData "UpdateHITTypeOfHIT" "Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "UpdateHITTypeOfHIT'" PrefixI True) (S1 (MetaSel (Just "_uhittohitHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uhittohitHITTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UpdateHITTypeOfHIT Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Request Lenses

uhittohitHITTypeId :: Lens' UpdateHITTypeOfHIT Text Source #

The ID of the new HIT type.

Destructuring the Response

updateHITTypeOfHITResponse Source #

Creates a value of UpdateHITTypeOfHITResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateHITTypeOfHITResponse Source #

See: updateHITTypeOfHITResponse smart constructor.

Instances
Eq UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Data UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateHITTypeOfHITResponse -> c UpdateHITTypeOfHITResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateHITTypeOfHITResponse #

toConstr :: UpdateHITTypeOfHITResponse -> Constr #

dataTypeOf :: UpdateHITTypeOfHITResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateHITTypeOfHITResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateHITTypeOfHITResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateHITTypeOfHITResponse -> UpdateHITTypeOfHITResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateHITTypeOfHITResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateHITTypeOfHITResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateHITTypeOfHITResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateHITTypeOfHITResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateHITTypeOfHITResponse -> m UpdateHITTypeOfHITResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateHITTypeOfHITResponse -> m UpdateHITTypeOfHITResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateHITTypeOfHITResponse -> m UpdateHITTypeOfHITResponse #

Read UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Show UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Generic UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

Associated Types

type Rep UpdateHITTypeOfHITResponse :: Type -> Type #

NFData UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHITResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT

type Rep UpdateHITTypeOfHITResponse = D1 (MetaData "UpdateHITTypeOfHITResponse" "Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" True) (C1 (MetaCons "UpdateHITTypeOfHITResponse'" PrefixI True) (S1 (MetaSel (Just "_uhittohitrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses