aws iot update-thing-groups-for-thing
Updates the groups to which the thing belongs. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--override-dynamic-groupsOverride dynamic thing groups with static thing groups when 10-group limit is reached.--thing-groups-to-addThe groups to which the thing will be added.--thing-groups-to-removeThe groups from which the thing will be removed.--thing-nameThe thing whose group memberships will be updated.