amazonka-iot-1.3.3: 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.ListPolicies

Contents

Description

Lists your policies.

See: AWS API Reference for ListPolicies.

Synopsis

Creating a Request

listPolicies :: ListPolicies Source

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

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

Request Lenses

lpMarker :: Lens' ListPolicies (Maybe Text) Source

The marker for the next set of results.

lpAscendingOrder :: Lens' ListPolicies (Maybe Bool) Source

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

lpPageSize :: Lens' ListPolicies (Maybe Natural) Source

The result page size.

Destructuring the Response

listPoliciesResponse Source

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

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

Response Lenses

lprsNextMarker :: Lens' ListPoliciesResponse (Maybe Text) Source

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

lprsPolicies :: Lens' ListPoliciesResponse [Policy] Source

The descriptions of the policies.