| 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 |
Network.AWS.IoT.ListThingPrincipals
Description
Lists the principals associated with the specified thing.
Synopsis
- 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
Arguments
| :: Text | |
| -> ListThingPrincipals |
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:
ltpThingName- The name of the thing.
data ListThingPrincipals Source #
The input for the ListThingPrincipal operation.
See: listThingPrincipals smart constructor.
Instances
Request Lenses
ltpThingName :: Lens' ListThingPrincipals Text Source #
The name of the thing.
Destructuring the Response
listThingPrincipalsResponse Source #
Arguments
| :: Int | |
| -> ListThingPrincipalsResponse |
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:
ltprsPrincipals- The principals associated with the thing.ltprsResponseStatus- -- | The response status code.
data ListThingPrincipalsResponse Source #
The output from the ListThingPrincipals operation.
See: listThingPrincipalsResponse smart constructor.
Instances
Response Lenses
ltprsPrincipals :: Lens' ListThingPrincipalsResponse [Text] Source #
The principals associated with the thing.
ltprsResponseStatus :: Lens' ListThingPrincipalsResponse Int Source #
- - | The response status code.