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

Contents

Description

Deletes a thing group.

Synopsis

Creating a Request

deleteThingGroup Source #

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

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

data DeleteThingGroup Source #

See: deleteThingGroup smart constructor.

Instances

Eq DeleteThingGroup Source # 
Data DeleteThingGroup Source # 

Methods

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

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

toConstr :: DeleteThingGroup -> Constr #

dataTypeOf :: DeleteThingGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteThingGroup Source # 
Show DeleteThingGroup Source # 
Generic DeleteThingGroup Source # 
Hashable DeleteThingGroup Source # 
NFData DeleteThingGroup Source # 

Methods

rnf :: DeleteThingGroup -> () #

AWSRequest DeleteThingGroup Source # 
ToHeaders DeleteThingGroup Source # 
ToPath DeleteThingGroup Source # 
ToQuery DeleteThingGroup Source # 
type Rep DeleteThingGroup Source # 
type Rep DeleteThingGroup = D1 * (MetaData "DeleteThingGroup" "Network.AWS.IoT.DeleteThingGroup" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "DeleteThingGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dExpectedVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_dThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteThingGroup Source # 

Request Lenses

dExpectedVersion :: Lens' DeleteThingGroup (Maybe Integer) Source #

The expected version of the thing group to delete.

dThingGroupName :: Lens' DeleteThingGroup Text Source #

The name of the thing group to delete.

Destructuring the Response

deleteThingGroupResponse Source #

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

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

data DeleteThingGroupResponse Source #

See: deleteThingGroupResponse smart constructor.

Instances

Eq DeleteThingGroupResponse Source # 
Data DeleteThingGroupResponse Source # 

Methods

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

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

toConstr :: DeleteThingGroupResponse -> Constr #

dataTypeOf :: DeleteThingGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteThingGroupResponse Source # 
Show DeleteThingGroupResponse Source # 
Generic DeleteThingGroupResponse Source # 
NFData DeleteThingGroupResponse Source # 
type Rep DeleteThingGroupResponse Source # 
type Rep DeleteThingGroupResponse = D1 * (MetaData "DeleteThingGroupResponse" "Network.AWS.IoT.DeleteThingGroup" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" True) (C1 * (MetaCons "DeleteThingGroupResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dtgtrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses