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 #

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 # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Data DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.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 # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Show DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Generic DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Associated Types

type Rep DeprecateThingType :: * -> * #

Hashable DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

ToJSON DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

AWSRequest DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Associated Types

type Rs DeprecateThingType :: * #

ToHeaders DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

ToPath DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

ToQuery DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

NFData DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Methods

rnf :: DeprecateThingType -> () #

type Rep DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

type Rep DeprecateThingType = D1 (MetaData "DeprecateThingType" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.6.0-CAejnyMMkfk3pNFUOERBSd" False) (C1 (MetaCons "DeprecateThingType'" PrefixI True) (S1 (MetaSel (Just "_depUndoDeprecate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_depThingTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeprecateThingType # 
Instance details

Defined in Network.AWS.IoT.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 # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Data DeprecateThingTypeResponse # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

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 # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Show DeprecateThingTypeResponse # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Generic DeprecateThingTypeResponse # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Associated Types

type Rep DeprecateThingTypeResponse :: * -> * #

NFData DeprecateThingTypeResponse # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

type Rep DeprecateThingTypeResponse # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

type Rep DeprecateThingTypeResponse = D1 (MetaData "DeprecateThingTypeResponse" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.6.0-CAejnyMMkfk3pNFUOERBSd" True) (C1 (MetaCons "DeprecateThingTypeResponse'" PrefixI True) (S1 (MetaSel (Just "_deprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

deprsResponseStatus :: Lens' DeprecateThingTypeResponse Int #

  • - | The response status code.