IoT.Client.
list_things_in_thing_group
(**kwargs)¶Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
See also: AWS API Documentation
Request Syntax
response = client.list_things_in_thing_group(
thingGroupName='string',
recursive=True|False,
nextToken='string',
maxResults=123
)
[REQUIRED]
The thing group name.
nextToken
value from a previous response; otherwise null to receive the first set of results.dict
Response Syntax
{
'things': [
'string',
],
'nextToken': 'string'
}
Response Structure
(dict) --
things (list) --
The things in the specified thing group.
nextToken (string) --
The token to use to get the next set of results, or null if there are no additional results.
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.InternalFailureException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.ThrottlingException