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

Defined in Network.AWS.IoT.AddThingToThingGroup

Data AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

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

Defined in Network.AWS.IoT.AddThingToThingGroup

Show AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

Generic AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

Associated Types

type Rep AddThingToThingGroup :: Type -> Type #

Hashable AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

ToJSON AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

AWSRequest AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

Associated Types

type Rs AddThingToThingGroup :: Type #

ToHeaders AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

ToPath AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

ToQuery AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

NFData AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

Methods

rnf :: AddThingToThingGroup -> () #

type Rep AddThingToThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

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

Defined in Network.AWS.IoT.AddThingToThingGroup

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

Defined in Network.AWS.IoT.AddThingToThingGroup

Data AddThingToThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

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

Defined in Network.AWS.IoT.AddThingToThingGroup

Show AddThingToThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

Generic AddThingToThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

Associated Types

type Rep AddThingToThingGroupResponse :: Type -> Type #

NFData AddThingToThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

type Rep AddThingToThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.AddThingToThingGroup

type Rep AddThingToThingGroupResponse = D1 (MetaData "AddThingToThingGroupResponse" "Network.AWS.IoT.AddThingToThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" True) (C1 (MetaCons "AddThingToThingGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_atttgrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses