amazonka-iot-1.4.4: 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 Source #

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

The input for the DeleteThingType operation.

See: deleteThingType smart constructor.

Instances

Eq DeleteThingType Source # 
Data DeleteThingType Source # 

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

Methods

rnf :: DeleteThingType -> () #

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

Request Lenses

dttThingTypeName :: Lens' DeleteThingType Text Source #

The name of the thing type.

Destructuring the Response

deleteThingTypeResponse Source #

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

The output for the DeleteThingType operation.

See: deleteThingTypeResponse smart constructor.

Instances

Eq DeleteThingTypeResponse Source # 
Data DeleteThingTypeResponse Source # 

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 Source # 
Show DeleteThingTypeResponse Source # 
Generic DeleteThingTypeResponse Source # 
NFData DeleteThingTypeResponse Source # 

Methods

rnf :: DeleteThingTypeResponse -> () #

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

Response Lenses