2019/03/21 - AWS IoT - 1 new api methods
Changes Update iot client to latest version
Gets statistics about things that match the specified query.
See also: AWS API Documentation
Request Syntax
client.get_statistics( indexName='string', queryString='string', aggregationField='string', queryVersion='string' )
string
The name of the index to search. The default value is AWS_Things.
string
[REQUIRED]
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your AWS account.
string
The aggregation field name. Currently not supported.
string
The version of the query used to search.
dict
Response Syntax
{ 'statistics': { 'count': 123 } }
Response Structure
(dict) --
statistics (dict) --
The statistics returned by the Fleet Indexing service based on the query and aggregation field.
count (integer) --
The count of things that match the query.