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 |
Lists the things in the specified group.
Synopsis
- listThingsInThingGroup :: Text -> ListThingsInThingGroup
- data ListThingsInThingGroup
- ltitgNextToken :: Lens' ListThingsInThingGroup (Maybe Text)
- ltitgRecursive :: Lens' ListThingsInThingGroup (Maybe Bool)
- ltitgMaxResults :: Lens' ListThingsInThingGroup (Maybe Natural)
- ltitgThingGroupName :: Lens' ListThingsInThingGroup Text
- listThingsInThingGroupResponse :: Int -> ListThingsInThingGroupResponse
- data ListThingsInThingGroupResponse
- ltitgrsNextToken :: Lens' ListThingsInThingGroupResponse (Maybe Text)
- ltitgrsThings :: Lens' ListThingsInThingGroupResponse [Text]
- ltitgrsResponseStatus :: Lens' ListThingsInThingGroupResponse Int
Creating a Request
listThingsInThingGroup Source #
Creates a value of ListThingsInThingGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltitgNextToken
- The token used to get the next set of results, or null if there are no additional results.ltitgRecursive
- When true, list things in this thing group and in all child groups as well.ltitgMaxResults
- The maximum number of results to return at one time.ltitgThingGroupName
- The thing group name.
data ListThingsInThingGroup Source #
See: listThingsInThingGroup
smart constructor.
Instances
Request Lenses
ltitgNextToken :: Lens' ListThingsInThingGroup (Maybe Text) Source #
The token used to get the next set of results, or null if there are no additional results.
ltitgRecursive :: Lens' ListThingsInThingGroup (Maybe Bool) Source #
When true, list things in this thing group and in all child groups as well.
ltitgMaxResults :: Lens' ListThingsInThingGroup (Maybe Natural) Source #
The maximum number of results to return at one time.
ltitgThingGroupName :: Lens' ListThingsInThingGroup Text Source #
The thing group name.
Destructuring the Response
listThingsInThingGroupResponse Source #
Creates a value of ListThingsInThingGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltitgrsNextToken
- The token used to get the next set of results, or null if there are no additional results.ltitgrsThings
- The things in the specified thing group.ltitgrsResponseStatus
- -- | The response status code.
data ListThingsInThingGroupResponse Source #
See: listThingsInThingGroupResponse
smart constructor.
Instances
Response Lenses
ltitgrsNextToken :: Lens' ListThingsInThingGroupResponse (Maybe Text) Source #
The token used to get the next set of results, or null if there are no additional results.
ltitgrsThings :: Lens' ListThingsInThingGroupResponse [Text] Source #
The things in the specified thing group.
ltitgrsResponseStatus :: Lens' ListThingsInThingGroupResponse Int Source #
- - | The response status code.