Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the principals associated with the specified policy.
- listPolicyPrincipals :: Text -> ListPolicyPrincipals
- data ListPolicyPrincipals
- lMarker :: Lens' ListPolicyPrincipals (Maybe Text)
- lAscendingOrder :: Lens' ListPolicyPrincipals (Maybe Bool)
- lPageSize :: Lens' ListPolicyPrincipals (Maybe Natural)
- lPolicyName :: Lens' ListPolicyPrincipals Text
- listPolicyPrincipalsResponse :: Int -> ListPolicyPrincipalsResponse
- data ListPolicyPrincipalsResponse
- lrsPrincipals :: Lens' ListPolicyPrincipalsResponse [Text]
- lrsNextMarker :: Lens' ListPolicyPrincipalsResponse (Maybe Text)
- lrsResponseStatus :: Lens' ListPolicyPrincipalsResponse Int
Creating a Request
Creates a value of ListPolicyPrincipals
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPolicyPrincipals Source #
The input for the ListPolicyPrincipals operation.
See: listPolicyPrincipals
smart constructor.
Request Lenses
lAscendingOrder :: Lens' ListPolicyPrincipals (Maybe Bool) Source #
Specifies the order for results. If true, the results are returned in ascending creation order.
lPolicyName :: Lens' ListPolicyPrincipals Text Source #
The policy name.
Destructuring the Response
listPolicyPrincipalsResponse Source #
Creates a value of ListPolicyPrincipalsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPolicyPrincipalsResponse Source #
The output from the ListPolicyPrincipals operation.
See: listPolicyPrincipalsResponse
smart constructor.
Response Lenses
lrsPrincipals :: Lens' ListPolicyPrincipalsResponse [Text] Source #
The descriptions of the principals.
lrsNextMarker :: Lens' ListPolicyPrincipalsResponse (Maybe Text) Source #
The marker for the next set of results, or null if there are no additional results.
lrsResponseStatus :: Lens' ListPolicyPrincipalsResponse Int Source #
The response status code.