amazonka-iot-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Data DeprecateThingType Source # 
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 Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Show DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Generic DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Associated Types

type Rep DeprecateThingType :: Type -> Type #

Hashable DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

ToJSON DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

AWSRequest DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Associated Types

type Rs DeprecateThingType :: Type #

ToHeaders DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

ToPath DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

ToQuery DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

NFData DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Methods

rnf :: DeprecateThingType -> () #

type Rep DeprecateThingType Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

type Rep DeprecateThingType = D1 (MetaData "DeprecateThingType" "Network.AWS.IoT.DeprecateThingType" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" 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 Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

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

Defined in Network.AWS.IoT.DeprecateThingType

Data DeprecateThingTypeResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Show DeprecateThingTypeResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Generic DeprecateThingTypeResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

Associated Types

type Rep DeprecateThingTypeResponse :: Type -> Type #

NFData DeprecateThingTypeResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

type Rep DeprecateThingTypeResponse Source # 
Instance details

Defined in Network.AWS.IoT.DeprecateThingType

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

Response Lenses