Struct rusoto_iot::CancelJobRequest [−][src]
pub struct CancelJobRequest { pub comment: Option<String>, pub force: Option<bool>, pub job_id: String, pub reason_code: Option<String>, }
Fields
comment: Option<String>
An optional comment string describing why the job was canceled.
force: Option<bool>
(Optional) If true
job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise only job executions with status "QUEUED" are canceled. The default is false
.
Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.
job_id: String
The unique identifier you assigned to this job when it was created.
reason_code: Option<String>
(Optional)A reason code string that explains why the job was canceled.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CancelJobRequest
impl Send for CancelJobRequest
impl Sync for CancelJobRequest
impl Unpin for CancelJobRequest
impl UnwindSafe for CancelJobRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self