| 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.ListThingGroupsForThing
Description
List the thing groups to which the specified thing belongs.
Synopsis
- listThingGroupsForThing :: Text -> ListThingGroupsForThing
- data ListThingGroupsForThing
- ltgftNextToken :: Lens' ListThingGroupsForThing (Maybe Text)
- ltgftMaxResults :: Lens' ListThingGroupsForThing (Maybe Natural)
- ltgftThingName :: Lens' ListThingGroupsForThing Text
- listThingGroupsForThingResponse :: Int -> ListThingGroupsForThingResponse
- data ListThingGroupsForThingResponse
- ltgftrsThingGroups :: Lens' ListThingGroupsForThingResponse [GroupNameAndARN]
- ltgftrsNextToken :: Lens' ListThingGroupsForThingResponse (Maybe Text)
- ltgftrsResponseStatus :: Lens' ListThingGroupsForThingResponse Int
Creating a Request
listThingGroupsForThing Source #
Arguments
| :: Text | |
| -> ListThingGroupsForThing |
Creates a value of ListThingGroupsForThing with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltgftNextToken- The token used to get the next set of results, or null if there are no additional results.ltgftMaxResults- The maximum number of results to return at one time.ltgftThingName- The thing name.
data ListThingGroupsForThing Source #
See: listThingGroupsForThing smart constructor.
Instances
Request Lenses
ltgftNextToken :: Lens' ListThingGroupsForThing (Maybe Text) Source #
The token used to get the next set of results, or null if there are no additional results.
ltgftMaxResults :: Lens' ListThingGroupsForThing (Maybe Natural) Source #
The maximum number of results to return at one time.
ltgftThingName :: Lens' ListThingGroupsForThing Text Source #
The thing name.
Destructuring the Response
listThingGroupsForThingResponse Source #
Arguments
| :: Int | |
| -> ListThingGroupsForThingResponse |
Creates a value of ListThingGroupsForThingResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltgftrsThingGroups- The thing groups.ltgftrsNextToken- The token used to get the next set of results, or null if there are no additional results.ltgftrsResponseStatus- -- | The response status code.
data ListThingGroupsForThingResponse Source #
See: listThingGroupsForThingResponse smart constructor.
Instances
Response Lenses
ltgftrsThingGroups :: Lens' ListThingGroupsForThingResponse [GroupNameAndARN] Source #
The thing groups.
ltgftrsNextToken :: Lens' ListThingGroupsForThingResponse (Maybe Text) Source #
The token used to get the next set of results, or null if there are no additional results.
ltgftrsResponseStatus :: Lens' ListThingGroupsForThingResponse Int Source #
- - | The response status code.