'Wait for a change to be propagated to all Route53 DNS servers.
https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html'

def _wait_for_change(self, change_id):

    for unused_n in range(0, 120):
        response = self.r53.get_change(Id=change_id)
        if (response['ChangeInfo']['Status'] == 'INSYNC'):
            return
        time.sleep(5)
    raise errors.PluginError(('Timed    out    waiting    for    Route53    change.    Current    status:    %s' % response['ChangeInfo']['Status']))
