pub struct DeleteJobExecutionRequest {
pub execution_number: i64,
pub force: Option<bool>,
pub job_id: String,
pub thing_name: String,
}Fields§
§execution_number: i64The ID of the job execution to be deleted. The executionNumber refers to the execution of a particular job on a particular device.
Note that once a job execution is deleted, the executionNumber may be reused by IoT, so be sure you get and use the correct value here.
force: Option<bool>(Optional) When true, you can delete a job execution which is "INPROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "INPROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
job_id: StringThe ID of the job whose execution on a particular device will be deleted.
thing_name: StringThe name of the thing whose job execution will be deleted.
Trait Implementations§
Source§impl Clone for DeleteJobExecutionRequest
impl Clone for DeleteJobExecutionRequest
Source§fn clone(&self) -> DeleteJobExecutionRequest
fn clone(&self) -> DeleteJobExecutionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more