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 things associated with the specified principal.
- listPrincipalThings :: Text -> ListPrincipalThings
- data ListPrincipalThings
- lptNextToken :: Lens' ListPrincipalThings (Maybe Text)
- lptMaxResults :: Lens' ListPrincipalThings (Maybe Natural)
- lptPrincipal :: Lens' ListPrincipalThings Text
- listPrincipalThingsResponse :: Int -> ListPrincipalThingsResponse
- data ListPrincipalThingsResponse
- lptrsNextToken :: Lens' ListPrincipalThingsResponse (Maybe Text)
- lptrsThings :: Lens' ListPrincipalThingsResponse [Text]
- lptrsResponseStatus :: Lens' ListPrincipalThingsResponse Int
Creating a Request
Creates a value of ListPrincipalThings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPrincipalThings Source #
The input for the ListPrincipalThings operation.
See: listPrincipalThings
smart constructor.
Request Lenses
lptNextToken :: Lens' ListPrincipalThings (Maybe Text) Source #
A token used to retrieve the next value.
lptMaxResults :: Lens' ListPrincipalThings (Maybe Natural) Source #
The maximum number of principals to return.
lptPrincipal :: Lens' ListPrincipalThings Text Source #
The principal.
Destructuring the Response
listPrincipalThingsResponse Source #
Creates a value of ListPrincipalThingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListPrincipalThingsResponse Source #
The output from the ListPrincipalThings operation.
See: listPrincipalThingsResponse
smart constructor.
Response Lenses
lptrsNextToken :: Lens' ListPrincipalThingsResponse (Maybe Text) Source #
A token used to retrieve the next value.
lptrsThings :: Lens' ListPrincipalThingsResponse [Text] Source #
The things.
lptrsResponseStatus :: Lens' ListPrincipalThingsResponse Int Source #
The response status code.