in lambda-bulk-importer/main.py [0:0]
def process_thing_group(thingGroupName, thingName):
try:
thingGroupArn = get_thing_group(thingGroupName)
thingArn = get_thing(thingName)
iot_client.add_thing_to_thing_group(thingGroupName=thingGroupName,
thingGroupArn=thingGroupArn,
thingName=thingName,
thingArn=thingArn,
overrideDynamicGroups=False)
except Exception as e:
print(e)
return None