code: def change_svc_snapshot_command(self, service, snapshot_command):
          
          service.modified_attributes |= DICT_MODATTR["MODATTR_EVENT_HANDLER_COMMAND"].value
          data = {"commands": self.commands, "call": snapshot_command}
          service.change_snapshot_command(data)
          self.send_an_element(service.get_update_status_brok())
docs: Modify host snapshot command
          Format of the line that triggers function call::
  
          CHANGE_HOST_SNAPSHOT_COMMAND;<host_name>;<event_handler_command>
  
          :param service: service to modify snapshot command
          :type service: alignak.objects.service.Service
          :param snapshot_command: snapshot command command line
          :type snapshot_command:
          :return: None