def get_list()

in codes/lambda/rest-function/src/handler.py [0:0]


def get_list(table):
    try:
        response = table.scan()
        return response['Items']
    except ClientError as e:
        print('Error: ddb scan', e)
        return None