Source
pub async fn clear_trigger( &self, trigger_id: String, ) -> Result<ClearTriggerResponse, KineticaError>
Delete a trigger
Clears or cancels the trigger identified by the specified handle. The output returns the handle of the trigger cleared as well as indicating success or failure of the trigger deactivation.
trigger_id- ID for the trigger to be deactivated.
Source
pub async fn clear_trigger_with_opts( &self, trigger_id: String, options: ClearTriggerRequestOptions, ) -> Result<ClearTriggerResponse, KineticaError>
Delete a trigger
Clears or cancels the trigger identified by the specified handle. The output returns the handle of the trigger cleared as well as indicating success or failure of the trigger deactivation.
trigger_id- ID for the trigger to be deactivated.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn clear_trigger_raw( &self, request: &ClearTriggerRequest, ) -> Result<ClearTriggerResponse, KineticaError>
Sends a pre-built ClearTriggerRequest to the /clear/trigger endpoint.
Source
pub async fn clear_trigger_from_url( &self, url: &str, request: &ClearTriggerRequest, ) -> Result<ClearTriggerResponse, KineticaError>
Sends a pre-built ClearTriggerRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.