amazonka-iot-1.5.0: Amazon IoT SDK.

Copyright(c) 2013-2017 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.ListThingPrincipals

Contents

Description

Lists the principals associated with the specified thing.

Synopsis

Creating a Request

listThingPrincipals Source #

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

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

data ListThingPrincipals Source #

The input for the ListThingPrincipal operation.

See: listThingPrincipals smart constructor.

Instances

Eq ListThingPrincipals Source # 
Data ListThingPrincipals Source # 

Methods

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

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

toConstr :: ListThingPrincipals -> Constr #

dataTypeOf :: ListThingPrincipals -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingPrincipals Source # 
Show ListThingPrincipals Source # 
Generic ListThingPrincipals Source # 
Hashable ListThingPrincipals Source # 
NFData ListThingPrincipals Source # 

Methods

rnf :: ListThingPrincipals -> () #

AWSRequest ListThingPrincipals Source # 
ToQuery ListThingPrincipals Source # 
ToPath ListThingPrincipals Source # 
ToHeaders ListThingPrincipals Source # 
type Rep ListThingPrincipals Source # 
type Rep ListThingPrincipals = D1 (MetaData "ListThingPrincipals" "Network.AWS.IoT.ListThingPrincipals" "amazonka-iot-1.5.0-JgZt78ORX3d9eQviclu51b" True) (C1 (MetaCons "ListThingPrincipals'" PrefixI True) (S1 (MetaSel (Just Symbol "_ltpThingName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ListThingPrincipals Source # 

Request Lenses

Destructuring the Response

listThingPrincipalsResponse Source #

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

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

data ListThingPrincipalsResponse Source #

The output from the ListThingPrincipals operation.

See: listThingPrincipalsResponse smart constructor.

Instances

Eq ListThingPrincipalsResponse Source # 
Data ListThingPrincipalsResponse Source # 

Methods

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

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

toConstr :: ListThingPrincipalsResponse -> Constr #

dataTypeOf :: ListThingPrincipalsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingPrincipalsResponse Source # 
Show ListThingPrincipalsResponse Source # 
Generic ListThingPrincipalsResponse Source # 
NFData ListThingPrincipalsResponse Source # 
type Rep ListThingPrincipalsResponse Source # 
type Rep ListThingPrincipalsResponse = D1 (MetaData "ListThingPrincipalsResponse" "Network.AWS.IoT.ListThingPrincipals" "amazonka-iot-1.5.0-JgZt78ORX3d9eQviclu51b" False) (C1 (MetaCons "ListThingPrincipalsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltprsPrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ltprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ltprsPrincipals :: Lens' ListThingPrincipalsResponse [Text] Source #

The principals associated with the thing.