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

Contents

Description

Lists the things associated with the specified principal.

Synopsis

Creating a Request

listPrincipalThings Source #

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

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

  • lptNextToken - The token for the next set of results, or null if there are no additional results.
  • lptMaxResults - The maximum number of results to return in this operation.
  • lptPrincipal - The principal.

data ListPrincipalThings Source #

The input for the ListPrincipalThings operation.

See: listPrincipalThings smart constructor.

Instances

Eq ListPrincipalThings Source # 
Data ListPrincipalThings Source # 

Methods

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

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

toConstr :: ListPrincipalThings -> Constr #

dataTypeOf :: ListPrincipalThings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPrincipalThings Source # 
Show ListPrincipalThings Source # 
Generic ListPrincipalThings Source # 
Hashable ListPrincipalThings Source # 
NFData ListPrincipalThings Source # 

Methods

rnf :: ListPrincipalThings -> () #

AWSRequest ListPrincipalThings Source # 
ToPath ListPrincipalThings Source # 
ToHeaders ListPrincipalThings Source # 
ToQuery ListPrincipalThings Source # 
type Rep ListPrincipalThings Source # 
type Rep ListPrincipalThings = D1 (MetaData "ListPrincipalThings" "Network.AWS.IoT.ListPrincipalThings" "amazonka-iot-1.4.5-LdiOpNMei3PDsbsABUTj6X" False) (C1 (MetaCons "ListPrincipalThings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lptNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lptMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lptPrincipal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListPrincipalThings Source # 

Request Lenses

lptNextToken :: Lens' ListPrincipalThings (Maybe Text) Source #

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

lptMaxResults :: Lens' ListPrincipalThings (Maybe Natural) Source #

The maximum number of results to return in this operation.

Destructuring the Response

listPrincipalThingsResponse Source #

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

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

data ListPrincipalThingsResponse Source #

The output from the ListPrincipalThings operation.

See: listPrincipalThingsResponse smart constructor.

Instances

Eq ListPrincipalThingsResponse Source # 
Data ListPrincipalThingsResponse Source # 

Methods

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

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

toConstr :: ListPrincipalThingsResponse -> Constr #

dataTypeOf :: ListPrincipalThingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPrincipalThingsResponse Source # 
Show ListPrincipalThingsResponse Source # 
Generic ListPrincipalThingsResponse Source # 
NFData ListPrincipalThingsResponse Source # 
type Rep ListPrincipalThingsResponse Source # 
type Rep ListPrincipalThingsResponse = D1 (MetaData "ListPrincipalThingsResponse" "Network.AWS.IoT.ListPrincipalThings" "amazonka-iot-1.4.5-LdiOpNMei3PDsbsABUTj6X" False) (C1 (MetaCons "ListPrincipalThingsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lptrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lptrsThings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lptrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lptrsNextToken :: Lens' ListPrincipalThingsResponse (Maybe Text) Source #

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