'Syncs local targets with AWS'

def _sync_targets(self):

    target_ids_to_remove = self._remote_target_ids_to_remove()
    if target_ids_to_remove:
        self.rule.remove_targets(target_ids_to_remove)
    targets_to_put = self._targets_to_put()
    if targets_to_put:
        self.rule.put_targets(targets_to_put)
