pub async fn admin_alter_jobs( &self, job_ids: Vec<i64>, action: String, ) -> Result<AdminAlterJobsResponse, KineticaError>
Alter a job
Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.
job_ids- Jobs to be modified.action- Action to be performed on the jobs specified by job_ids.
pub async fn admin_alter_jobs_with_opts( &self, job_ids: Vec<i64>, action: String, options: AdminAlterJobsRequestOptions, ) -> Result<AdminAlterJobsResponse, KineticaError>
Alter a job
Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.
job_ids- Jobs to be modified.action- Action to be performed on the jobs specified by job_ids.options- The optional parameters; any left unset take the server’s defaults.
pub async fn admin_alter_jobs_raw( &self, request: &AdminAlterJobsRequest, ) -> Result<AdminAlterJobsResponse, KineticaError>
Sends a pre-built AdminAlterJobsRequest to the /admin/alter/jobs endpoint.
pub async fn admin_alter_jobs_from_url( &self, url: &str, request: &AdminAlterJobsRequest, ) -> Result<AdminAlterJobsResponse, KineticaError>
Sends a pre-built AdminAlterJobsRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.