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

Contents

Description

Updates the groups to which the thing belongs.

Synopsis

Creating a Request

updateThingGroupsForThing :: UpdateThingGroupsForThing Source #

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

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

data UpdateThingGroupsForThing Source #

See: updateThingGroupsForThing smart constructor.

Instances
Eq UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Data UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Methods

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

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

toConstr :: UpdateThingGroupsForThing -> Constr #

dataTypeOf :: UpdateThingGroupsForThing -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Show UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Generic UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Associated Types

type Rep UpdateThingGroupsForThing :: Type -> Type #

Hashable UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

ToJSON UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

AWSRequest UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Associated Types

type Rs UpdateThingGroupsForThing :: Type #

ToHeaders UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

ToPath UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

ToQuery UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

NFData UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

type Rep UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

type Rep UpdateThingGroupsForThing = D1 (MetaData "UpdateThingGroupsForThing" "Network.AWS.IoT.UpdateThingGroupsForThing" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "UpdateThingGroupsForThing'" PrefixI True) (S1 (MetaSel (Just "_utgftThingGroupsToAdd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_utgftThingGroupsToRemove") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_utgftThingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs UpdateThingGroupsForThing Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Request Lenses

utgftThingGroupsToAdd :: Lens' UpdateThingGroupsForThing [Text] Source #

The groups to which the thing will be added.

utgftThingGroupsToRemove :: Lens' UpdateThingGroupsForThing [Text] Source #

The groups from which the thing will be removed.

utgftThingName :: Lens' UpdateThingGroupsForThing (Maybe Text) Source #

The thing whose group memberships will be updated.

Destructuring the Response

updateThingGroupsForThingResponse Source #

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

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

data UpdateThingGroupsForThingResponse Source #

See: updateThingGroupsForThingResponse smart constructor.

Instances
Eq UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Data UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Methods

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

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

toConstr :: UpdateThingGroupsForThingResponse -> Constr #

dataTypeOf :: UpdateThingGroupsForThingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Show UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Generic UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

Associated Types

type Rep UpdateThingGroupsForThingResponse :: Type -> Type #

NFData UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

type Rep UpdateThingGroupsForThingResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroupsForThing

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

Response Lenses