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

Contents

Description

Adds a thing to a thing group.

Synopsis

Creating a Request

addThingToThingGroup :: AddThingToThingGroup Source #

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

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

data AddThingToThingGroup Source #

See: addThingToThingGroup smart constructor.

Instances

Eq AddThingToThingGroup Source # 
Data AddThingToThingGroup Source # 

Methods

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

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

toConstr :: AddThingToThingGroup -> Constr #

dataTypeOf :: AddThingToThingGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AddThingToThingGroup -> () #

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

Request Lenses

atttgThingGroupARN :: Lens' AddThingToThingGroup (Maybe Text) Source #

The ARN of the group to which you are adding a thing.

atttgThingARN :: Lens' AddThingToThingGroup (Maybe Text) Source #

The ARN of the thing to add to a group.

atttgThingGroupName :: Lens' AddThingToThingGroup (Maybe Text) Source #

The name of the group to which you are adding a thing.

atttgThingName :: Lens' AddThingToThingGroup (Maybe Text) Source #

The name of the thing to add to a group.

Destructuring the Response

addThingToThingGroupResponse Source #

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

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

data AddThingToThingGroupResponse Source #

See: addThingToThingGroupResponse smart constructor.

Instances

Eq AddThingToThingGroupResponse Source # 
Data AddThingToThingGroupResponse Source # 

Methods

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

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

toConstr :: AddThingToThingGroupResponse -> Constr #

dataTypeOf :: AddThingToThingGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses