def METHOD_NAME(self, table_name, last_evaluated_key):
    '''
    Scan records in one table.
    '''
    scan_params = {
        'TableName': table_name,
        'Limit': 100
    }
    client = self.build_client()
    has_more = True
    if last_evaluated_key is not None and last_evaluated_key:
        scan_params[EXCLUSIVE_START_KEY] = last_evaluated_key
    while has_more:
        result = client.scan(**scan_params)
        yield result
        if result.get(LAST_EVALUATED_KEY):
            scan_params[EXCLUSIVE_START_KEY] = result[LAST_EVALUATED_KEY]
        has_more = result.get(LAST_EVALUATED_KEY, False)