amazonka-iot-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Data CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.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 Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Show CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Generic CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Associated Types

type Rep CreateThingGroup :: Type -> Type #

Hashable CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

ToJSON CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

AWSRequest CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Associated Types

type Rs CreateThingGroup :: Type #

ToHeaders CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

ToPath CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

ToQuery CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

NFData CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Methods

rnf :: CreateThingGroup -> () #

type Rep CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

type Rep CreateThingGroup = D1 (MetaData "CreateThingGroup" "Network.AWS.IoT.CreateThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "CreateThingGroup'" PrefixI True) (S1 (MetaSel (Just "_ctgParentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ctgThingGroupProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThingGroupProperties)) :*: S1 (MetaSel (Just "_ctgThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

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 # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Data CreateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

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 # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Show CreateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Generic CreateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

Associated Types

type Rep CreateThingGroupResponse :: Type -> Type #

NFData CreateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

type Rep CreateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateThingGroup

type Rep CreateThingGroupResponse = D1 (MetaData "CreateThingGroupResponse" "Network.AWS.IoT.CreateThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "CreateThingGroupResponse'" PrefixI True) ((S1 (MetaSel (Just "_ctgrsThingGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ctgrsThingGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ctgrsThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ctgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses