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 #

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 #

See: deleteThingGroup smart constructor.

Instances

Eq DeleteThingGroup # 
Data DeleteThingGroup # 

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

Methods

rnf :: DeleteThingGroup -> () #

AWSRequest DeleteThingGroup # 
ToHeaders DeleteThingGroup # 
ToPath DeleteThingGroup # 
ToQuery DeleteThingGroup # 
type Rep DeleteThingGroup # 
type Rep DeleteThingGroup = D1 * (MetaData "DeleteThingGroup" "Network.AWS.IoT.DeleteThingGroup" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" 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 # 

Request Lenses

dExpectedVersion :: Lens' DeleteThingGroup (Maybe Integer) #

The expected version of the thing group to delete.

dThingGroupName :: Lens' DeleteThingGroup Text #

The name of the thing group to delete.

Destructuring the Response

deleteThingGroupResponse #

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 #

See: deleteThingGroupResponse smart constructor.

Instances

Eq DeleteThingGroupResponse # 
Data DeleteThingGroupResponse # 

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 # 
Show DeleteThingGroupResponse # 
Generic DeleteThingGroupResponse # 
NFData DeleteThingGroupResponse # 
type Rep DeleteThingGroupResponse # 
type Rep DeleteThingGroupResponse = D1 * (MetaData "DeleteThingGroupResponse" "Network.AWS.IoT.DeleteThingGroup" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" True) (C1 * (MetaCons "DeleteThingGroupResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dtgtrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

dtgtrsResponseStatus :: Lens' DeleteThingGroupResponse Int #

  • - | The response status code.