Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists your policies.
This operation returns paginated results.
- listPolicies :: ListPolicies
- data ListPolicies
- lpMarker :: Lens' ListPolicies (Maybe Text)
- lpAscendingOrder :: Lens' ListPolicies (Maybe Bool)
- lpPageSize :: Lens' ListPolicies (Maybe Natural)
- listPoliciesResponse :: Int -> ListPoliciesResponse
- data ListPoliciesResponse
- lprsNextMarker :: Lens' ListPoliciesResponse (Maybe Text)
- lprsPolicies :: Lens' ListPoliciesResponse [Policy]
- lprsResponseStatus :: Lens' ListPoliciesResponse Int
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:
lpMarker
- The marker for the next set of results.lpAscendingOrder
- Specifies the order for results. If true, the results are returned in ascending creation order.lpPageSize
- The result page size.
data ListPolicies Source #
The input for the ListPolicies operation.
See: listPolicies
smart constructor.
Request Lenses
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
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:
lprsNextMarker
- The marker for the next set of results, or null if there are no additional results.lprsPolicies
- The descriptions of the policies.lprsResponseStatus
- -- | The response status code.
data ListPoliciesResponse Source #
The output from the ListPolicies operation.
See: listPoliciesResponse
smart constructor.
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.
lprsResponseStatus :: Lens' ListPoliciesResponse Int Source #
- - | The response status code.