amazonka-iot-1.6.0: Amazon IoT 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.IoT.DeprecateThingType

Contents

Description

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

Synopsis

Creating a Request

deprecateThingType Source #

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

The input for the DeprecateThingType operation.

See: deprecateThingType smart constructor.

Instances

Eq DeprecateThingType Source # 
Data DeprecateThingType Source # 

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

Methods

rnf :: DeprecateThingType -> () #

AWSRequest DeprecateThingType Source # 
ToHeaders DeprecateThingType Source # 
ToPath DeprecateThingType Source # 
ToQuery DeprecateThingType Source # 
type Rep DeprecateThingType Source # 
type Rep DeprecateThingType = D1 * (MetaData "DeprecateThingType" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" 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 Source # 

Request Lenses

depUndoDeprecate :: Lens' DeprecateThingType (Maybe Bool) Source #

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

The name of the thing type to deprecate.

Destructuring the Response

deprecateThingTypeResponse Source #

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

The output for the DeprecateThingType operation.

See: deprecateThingTypeResponse smart constructor.

Instances

Eq DeprecateThingTypeResponse Source # 
Data DeprecateThingTypeResponse Source # 

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 Source # 
Show DeprecateThingTypeResponse Source # 
Generic DeprecateThingTypeResponse Source # 
NFData DeprecateThingTypeResponse Source # 
type Rep DeprecateThingTypeResponse Source # 
type Rep DeprecateThingTypeResponse = D1 * (MetaData "DeprecateThingTypeResponse" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" True) (C1 * (MetaCons "DeprecateThingTypeResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_deprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses