amazonka-mechanicalturk-1.6.0: 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 # 
Data UpdateHITTypeOfHIT Source # 

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 # 
Show UpdateHITTypeOfHIT Source # 
Generic UpdateHITTypeOfHIT Source # 
Hashable UpdateHITTypeOfHIT Source # 
ToJSON UpdateHITTypeOfHIT Source # 
NFData UpdateHITTypeOfHIT Source # 

Methods

rnf :: UpdateHITTypeOfHIT -> () #

AWSRequest UpdateHITTypeOfHIT Source # 
ToHeaders UpdateHITTypeOfHIT Source # 
ToPath UpdateHITTypeOfHIT Source # 
ToQuery UpdateHITTypeOfHIT Source # 
type Rep UpdateHITTypeOfHIT Source # 
type Rep UpdateHITTypeOfHIT = D1 * (MetaData "UpdateHITTypeOfHIT" "Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "UpdateHITTypeOfHIT'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uhittohitHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_uhittohitHITTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdateHITTypeOfHIT Source # 

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 # 
Data UpdateHITTypeOfHITResponse Source # 

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 # 
Show UpdateHITTypeOfHITResponse Source # 
Generic UpdateHITTypeOfHITResponse Source # 
NFData UpdateHITTypeOfHITResponse Source # 
type Rep UpdateHITTypeOfHITResponse Source # 
type Rep UpdateHITTypeOfHITResponse = D1 * (MetaData "UpdateHITTypeOfHITResponse" "Network.AWS.MechanicalTurk.UpdateHITTypeOfHIT" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" True) (C1 * (MetaCons "UpdateHITTypeOfHITResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uhittohitrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses