docs: def update_dampening(self, trigger_id, dampening_id):
          """
          Update an existing dampening definition.
  
          Note that the trigger mode can not be changed using this method.
          :param trigger_id: Trigger definition id targeted for update.
          :param dampening_id: Dampening definition id to be updated.
          :return: Updated Dampening
          """
          data = self._serialize_object(dampening)
          url = self._service_url(['triggers', trigger_id, 'dampenings', dampening_id])
          return Dampening(self._put(url, data))