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.DeleteThingType

Contents

Description

Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType , then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.

Synopsis

Creating a Request

deleteThingType #

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

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

data DeleteThingType #

The input for the DeleteThingType operation.

See: deleteThingType smart constructor.

Instances

Eq DeleteThingType # 
Data DeleteThingType # 

Methods

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

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

toConstr :: DeleteThingType -> Constr #

dataTypeOf :: DeleteThingType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteThingType # 
Show DeleteThingType # 
Generic DeleteThingType # 
Hashable DeleteThingType # 
NFData DeleteThingType # 

Methods

rnf :: DeleteThingType -> () #

AWSRequest DeleteThingType # 
ToQuery DeleteThingType # 
ToPath DeleteThingType # 
ToHeaders DeleteThingType # 
type Rep DeleteThingType # 
type Rep DeleteThingType = D1 (MetaData "DeleteThingType" "Network.AWS.IoT.DeleteThingType" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" True) (C1 (MetaCons "DeleteThingType'" PrefixI True) (S1 (MetaSel (Just Symbol "_dttThingTypeName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteThingType # 

Request Lenses

dttThingTypeName :: Lens' DeleteThingType Text #

The name of the thing type.

Destructuring the Response

deleteThingTypeResponse #

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

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

data DeleteThingTypeResponse #

The output for the DeleteThingType operation.

See: deleteThingTypeResponse smart constructor.

Instances

Eq DeleteThingTypeResponse # 
Data DeleteThingTypeResponse # 

Methods

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

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

toConstr :: DeleteThingTypeResponse -> Constr #

dataTypeOf :: DeleteThingTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteThingTypeResponse # 
Show DeleteThingTypeResponse # 
Generic DeleteThingTypeResponse # 
NFData DeleteThingTypeResponse # 

Methods

rnf :: DeleteThingTypeResponse -> () #

type Rep DeleteThingTypeResponse # 
type Rep DeleteThingTypeResponse = D1 (MetaData "DeleteThingTypeResponse" "Network.AWS.IoT.DeleteThingType" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" True) (C1 (MetaCons "DeleteThingTypeResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dttrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

dttrsResponseStatus :: Lens' DeleteThingTypeResponse Int #

  • - | The response status code.