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 #

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 #

See: createThingGroup smart constructor.

Instances

Eq CreateThingGroup # 
Data CreateThingGroup # 

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

Methods

rnf :: CreateThingGroup -> () #

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

Request Lenses

ctgParentGroupName :: Lens' CreateThingGroup (Maybe Text) #

The name of the parent thing group.

ctgThingGroupName :: Lens' CreateThingGroup Text #

The thing group name to create.

Destructuring the Response

createThingGroupResponse #

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 #

See: createThingGroupResponse smart constructor.

Instances

Eq CreateThingGroupResponse # 
Data CreateThingGroupResponse # 

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 # 
Show CreateThingGroupResponse # 
Generic CreateThingGroupResponse # 
NFData CreateThingGroupResponse # 
type Rep CreateThingGroupResponse # 
type Rep CreateThingGroupResponse = D1 * (MetaData "CreateThingGroupResponse" "Network.AWS.IoT.CreateThingGroup" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" 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

ctgrsResponseStatus :: Lens' CreateThingGroupResponse Int #

  • - | The response status code.