amazonka-iot-1.3.3.1: Amazon IoT SDK.

Copyright(c) 2013-2015 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 Amazon Cognito identity, the ID needs to be in Amazon Cognito Identity format.

See: AWS API Reference for ListPrincipalPolicies.

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:

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:

Response Lenses

lpprsNextMarker :: Lens' ListPrincipalPoliciesResponse (Maybe Text) Source

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