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

Contents

Description

List the thing groups to which the specified thing belongs.

Synopsis

Creating a Request

listThingGroupsForThing Source #

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

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

data ListThingGroupsForThing Source #

See: listThingGroupsForThing smart constructor.

Instances

Eq ListThingGroupsForThing Source # 
Data ListThingGroupsForThing Source # 

Methods

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

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

toConstr :: ListThingGroupsForThing -> Constr #

dataTypeOf :: ListThingGroupsForThing -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingGroupsForThing Source # 
Show ListThingGroupsForThing Source # 
Generic ListThingGroupsForThing Source # 
Hashable ListThingGroupsForThing Source # 
NFData ListThingGroupsForThing Source # 

Methods

rnf :: ListThingGroupsForThing -> () #

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

Request Lenses

ltgftNextToken :: Lens' ListThingGroupsForThing (Maybe Text) Source #

The token used to get the next set of results, or null if there are no additional results.

ltgftMaxResults :: Lens' ListThingGroupsForThing (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

listThingGroupsForThingResponse Source #

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

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

data ListThingGroupsForThingResponse Source #

See: listThingGroupsForThingResponse smart constructor.

Instances

Eq ListThingGroupsForThingResponse Source # 
Data ListThingGroupsForThingResponse Source # 

Methods

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

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

toConstr :: ListThingGroupsForThingResponse -> Constr #

dataTypeOf :: ListThingGroupsForThingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingGroupsForThingResponse Source # 
Show ListThingGroupsForThingResponse Source # 
Generic ListThingGroupsForThingResponse Source # 
NFData ListThingGroupsForThingResponse Source # 
type Rep ListThingGroupsForThingResponse Source # 
type Rep ListThingGroupsForThingResponse = D1 * (MetaData "ListThingGroupsForThingResponse" "Network.AWS.IoT.ListThingGroupsForThing" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListThingGroupsForThingResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltgftrsThingGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [GroupNameAndARN]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltgftrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltgftrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ltgftrsNextToken :: Lens' ListThingGroupsForThingResponse (Maybe Text) Source #

The token used to get the next set of results, or null if there are no additional results.