Copyright | (c) 2013-2021 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 |
Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
This operation returns paginated results.
Synopsis
- data ListThingsInThingGroup = ListThingsInThingGroup' {}
- newListThingsInThingGroup :: Text -> ListThingsInThingGroup
- listThingsInThingGroup_nextToken :: Lens' ListThingsInThingGroup (Maybe Text)
- listThingsInThingGroup_recursive :: Lens' ListThingsInThingGroup (Maybe Bool)
- listThingsInThingGroup_maxResults :: Lens' ListThingsInThingGroup (Maybe Natural)
- listThingsInThingGroup_thingGroupName :: Lens' ListThingsInThingGroup Text
- data ListThingsInThingGroupResponse = ListThingsInThingGroupResponse' {}
- newListThingsInThingGroupResponse :: Int -> ListThingsInThingGroupResponse
- listThingsInThingGroupResponse_nextToken :: Lens' ListThingsInThingGroupResponse (Maybe Text)
- listThingsInThingGroupResponse_things :: Lens' ListThingsInThingGroupResponse (Maybe [Text])
- listThingsInThingGroupResponse_httpStatus :: Lens' ListThingsInThingGroupResponse Int
Creating a Request
data ListThingsInThingGroup Source #
See: newListThingsInThingGroup
smart constructor.
ListThingsInThingGroup' | |
|
Instances
newListThingsInThingGroup Source #
Create a value of ListThingsInThingGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListThingsInThingGroup'
, listThingsInThingGroup_nextToken
- To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
$sel:recursive:ListThingsInThingGroup'
, listThingsInThingGroup_recursive
- When true, list things in this thing group and in all child groups as
well.
$sel:maxResults:ListThingsInThingGroup'
, listThingsInThingGroup_maxResults
- The maximum number of results to return at one time.
$sel:thingGroupName:ListThingsInThingGroup'
, listThingsInThingGroup_thingGroupName
- The thing group name.
Request Lenses
listThingsInThingGroup_nextToken :: Lens' ListThingsInThingGroup (Maybe Text) Source #
To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
listThingsInThingGroup_recursive :: Lens' ListThingsInThingGroup (Maybe Bool) Source #
When true, list things in this thing group and in all child groups as well.
listThingsInThingGroup_maxResults :: Lens' ListThingsInThingGroup (Maybe Natural) Source #
The maximum number of results to return at one time.
listThingsInThingGroup_thingGroupName :: Lens' ListThingsInThingGroup Text Source #
The thing group name.
Destructuring the Response
data ListThingsInThingGroupResponse Source #
See: newListThingsInThingGroupResponse
smart constructor.
Instances
newListThingsInThingGroupResponse Source #
Create a value of ListThingsInThingGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListThingsInThingGroup'
, listThingsInThingGroupResponse_nextToken
- The token to use to get the next set of results, or null if there
are no additional results.
$sel:things:ListThingsInThingGroupResponse'
, listThingsInThingGroupResponse_things
- The things in the specified thing group.
$sel:httpStatus:ListThingsInThingGroupResponse'
, listThingsInThingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
listThingsInThingGroupResponse_nextToken :: Lens' ListThingsInThingGroupResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listThingsInThingGroupResponse_things :: Lens' ListThingsInThingGroupResponse (Maybe [Text]) Source #
The things in the specified thing group.
listThingsInThingGroupResponse_httpStatus :: Lens' ListThingsInThingGroupResponse Int Source #
The response's http status code.