Copyright | (c) 2013-2015 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 thing.
See: AWS API Reference for ListThingPrincipals.
- listThingPrincipals :: Text -> ListThingPrincipals
- data ListThingPrincipals
- ltpThingName :: Lens' ListThingPrincipals Text
- listThingPrincipalsResponse :: Int -> ListThingPrincipalsResponse
- data ListThingPrincipalsResponse
- ltprsPrincipals :: Lens' ListThingPrincipalsResponse [Text]
- ltprsResponseStatus :: Lens' ListThingPrincipalsResponse Int
Creating a Request
Creates a value of ListThingPrincipals
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListThingPrincipals Source
The input for the ListThingPrincipal operation.
See: listThingPrincipals
smart constructor.
Request Lenses
ltpThingName :: Lens' ListThingPrincipals Text Source
The name of the thing.
Destructuring the Response
listThingPrincipalsResponse Source
Creates a value of ListThingPrincipalsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListThingPrincipalsResponse Source
The output from the ListThingPrincipals operation.
See: listThingPrincipalsResponse
smart constructor.
Response Lenses
ltprsPrincipals :: Lens' ListThingPrincipalsResponse [Text] Source
The principals.
ltprsResponseStatus :: Lens' ListThingPrincipalsResponse Int Source
The response status code.