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

Contents

Description

Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format .

Synopsis

Creating a Request

listPrincipalPolicies Source #

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

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

data ListPrincipalPolicies Source #

The input for the ListPrincipalPolicies operation.

See: listPrincipalPolicies smart constructor.

Instances

Eq ListPrincipalPolicies Source # 
Data ListPrincipalPolicies Source # 

Methods

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

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

toConstr :: ListPrincipalPolicies -> Constr #

dataTypeOf :: ListPrincipalPolicies -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPrincipalPolicies Source # 
Show ListPrincipalPolicies Source # 
Generic ListPrincipalPolicies Source # 
Hashable ListPrincipalPolicies Source # 
NFData ListPrincipalPolicies Source # 

Methods

rnf :: ListPrincipalPolicies -> () #

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

Request Lenses

lppMarker :: Lens' ListPrincipalPolicies (Maybe Text) Source #

The marker for the next set of results.

lppAscendingOrder :: Lens' ListPrincipalPolicies (Maybe Bool) Source #

Specifies the order for results. If true, results are returned in ascending creation order.

Destructuring the Response

listPrincipalPoliciesResponse Source #

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

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

data ListPrincipalPoliciesResponse Source #

The output from the ListPrincipalPolicies operation.

See: listPrincipalPoliciesResponse smart constructor.

Instances

Eq ListPrincipalPoliciesResponse Source # 
Data ListPrincipalPoliciesResponse Source # 

Methods

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

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

toConstr :: ListPrincipalPoliciesResponse -> Constr #

dataTypeOf :: ListPrincipalPoliciesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

lpprsNextMarker :: Lens' ListPrincipalPoliciesResponse (Maybe Text) Source #

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