aws iot get-cardinality
Returns the approximate count of unique values that match the query. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--aggregation-fieldThe field to aggregate.--index-nameThe name of the index to search.--query-stringThe search query string.--query-versionThe query version.