source/lambda/iot-dr-region-syncer/iot-region-to-region-syncer.py [81:93]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    except Exception as e:
        logger.error('{}'.format(e))
        NUM_ERRORS += 1
        traceback.print_stack()


def get_next_token(response):
    next_token = None
    if 'nextToken' in response:
        next_token = response['nextToken']

    #logger.info('next_token: {}'.format(next_token))
    return next_token
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/tools/iot-devices-cmp.py [117:128]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    except Exception as e:
        logger.error('{}'.format(e))
        NUM_ERRORS += 1
        traceback.print_stack()


def get_next_token(response):
    next_token = None
    if 'nextToken' in response:
        next_token = response['nextToken']

    return next_token
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



