amazonka-iot-1.4.5: Amazon IoT SDK.

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

Network.AWS.IoT.DeprecateThingType

Contents

Description

Deprecates a thing type. You can not associate new things with deprecated thing type.

Synopsis

Creating a Request

deprecateThingType #

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

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

  • depUndoDeprecate - Whether to undeprecate a deprecated thing type. If true , the thing type will not be deprecated anymore and you can associate it with things.
  • depThingTypeName - The name of the thing type to deprecate.

data DeprecateThingType #

The input for the DeprecateThingType operation.

See: deprecateThingType smart constructor.

Instances

Eq DeprecateThingType # 
Data DeprecateThingType # 

Methods

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

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

toConstr :: DeprecateThingType -> Constr #

dataTypeOf :: DeprecateThingType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeprecateThingType # 
Show DeprecateThingType # 
Generic DeprecateThingType # 
Hashable DeprecateThingType # 
ToJSON DeprecateThingType # 
NFData DeprecateThingType # 

Methods

rnf :: DeprecateThingType -> () #

AWSRequest DeprecateThingType # 
ToQuery DeprecateThingType # 
ToPath DeprecateThingType # 
ToHeaders DeprecateThingType # 
type Rep DeprecateThingType # 
type Rep DeprecateThingType = D1 (MetaData "DeprecateThingType" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "DeprecateThingType'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_depUndoDeprecate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_depThingTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeprecateThingType # 

Request Lenses

depUndoDeprecate :: Lens' DeprecateThingType (Maybe Bool) #

Whether to undeprecate a deprecated thing type. If true , the thing type will not be deprecated anymore and you can associate it with things.

depThingTypeName :: Lens' DeprecateThingType Text #

The name of the thing type to deprecate.

Destructuring the Response

deprecateThingTypeResponse #

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

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

data DeprecateThingTypeResponse #

The output for the DeprecateThingType operation.

See: deprecateThingTypeResponse smart constructor.

Instances

Eq DeprecateThingTypeResponse # 
Data DeprecateThingTypeResponse # 

Methods

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

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

toConstr :: DeprecateThingTypeResponse -> Constr #

dataTypeOf :: DeprecateThingTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeprecateThingTypeResponse # 
Show DeprecateThingTypeResponse # 
Generic DeprecateThingTypeResponse # 
NFData DeprecateThingTypeResponse # 
type Rep DeprecateThingTypeResponse # 
type Rep DeprecateThingTypeResponse = D1 (MetaData "DeprecateThingTypeResponse" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" True) (C1 (MetaCons "DeprecateThingTypeResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_deprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

deprsResponseStatus :: Lens' DeprecateThingTypeResponse Int #

  • - | The response status code.