in static/code/trash-sorter/deeplens-trash-lambda/greengrasssdk/client.py [0:0]
def client(client_type, *args):
if client_type == 'lambda':
from .Lambda import Client
elif client_type == 'iot-data':
from .IoTDataPlane import Client
else:
raise Exception('Client type {} is not recognized.'.format(repr(client_type)))
return Client(*args)