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

Contents

Description

Create a thing group.

Synopsis

Creating a Request

createThingGroup Source #

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

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

data CreateThingGroup Source #

See: createThingGroup smart constructor.

Instances

Eq CreateThingGroup Source # 
Data CreateThingGroup Source # 

Methods

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

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

toConstr :: CreateThingGroup -> Constr #

dataTypeOf :: CreateThingGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateThingGroup Source # 
Show CreateThingGroup Source # 
Generic CreateThingGroup Source # 
Hashable CreateThingGroup Source # 
ToJSON CreateThingGroup Source # 
NFData CreateThingGroup Source # 

Methods

rnf :: CreateThingGroup -> () #

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

Request Lenses

ctgParentGroupName :: Lens' CreateThingGroup (Maybe Text) Source #

The name of the parent thing group.

ctgThingGroupName :: Lens' CreateThingGroup Text Source #

The thing group name to create.

Destructuring the Response

createThingGroupResponse Source #

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

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

data CreateThingGroupResponse Source #

See: createThingGroupResponse smart constructor.

Instances

Eq CreateThingGroupResponse Source # 
Data CreateThingGroupResponse Source # 

Methods

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

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

toConstr :: CreateThingGroupResponse -> Constr #

dataTypeOf :: CreateThingGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateThingGroupResponse Source # 
Show CreateThingGroupResponse Source # 
Generic CreateThingGroupResponse Source # 
NFData CreateThingGroupResponse Source # 
type Rep CreateThingGroupResponse Source # 
type Rep CreateThingGroupResponse = D1 * (MetaData "CreateThingGroupResponse" "Network.AWS.IoT.CreateThingGroup" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "CreateThingGroupResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ctgrsThingGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ctgrsThingGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ctgrsThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ctgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses