aws iot list-thing-groups-for-thing
List the thing groups to which the specified thing belongs. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of results to return at one time.--next-tokenTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.--thing-nameThe thing name.