amazonka-iot-1.4.5: Amazon IoT SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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 #

The input for the ListThingPrincipal operation.

See: listThingPrincipals smart constructor.

Instances

Eq ListThingPrincipals # 
Data ListThingPrincipals # 

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 # 
Show ListThingPrincipals # 
Generic ListThingPrincipals # 
Hashable ListThingPrincipals # 
NFData ListThingPrincipals # 

Methods

rnf :: ListThingPrincipals -> () #

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

Request Lenses

ltpThingName :: Lens' ListThingPrincipals Text #

The name of the thing.

Destructuring the Response

listThingPrincipalsResponse #

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 #

The output from the ListThingPrincipals operation.

See: listThingPrincipalsResponse smart constructor.

Instances

Eq ListThingPrincipalsResponse # 
Data ListThingPrincipalsResponse # 

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 # 
Show ListThingPrincipalsResponse # 
Generic ListThingPrincipalsResponse # 
NFData ListThingPrincipalsResponse # 
type Rep ListThingPrincipalsResponse # 
type Rep ListThingPrincipalsResponse = D1 (MetaData "ListThingPrincipalsResponse" "Network.AWS.IoT.ListThingPrincipals" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "ListThingPrincipalsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltprsPrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ltprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ltprsPrincipals :: Lens' ListThingPrincipalsResponse [Text] #

The principals associated with the thing.