Struct rusoto_iot::DeleteJobExecutionRequest
source · [−]pub struct DeleteJobExecutionRequest {
pub execution_number: i64,
pub force: Option<bool>,
pub job_id: String,
pub namespace_id: Option<String>,
pub thing_name: String,
}
Fields
execution_number: i64
The 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: String
The ID of the job whose execution on a particular device will be deleted.
namespace_id: Option<String>
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THINGNAME/jobs/JOBID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is in public preview.
thing_name: String
The name of the thing whose job execution will be deleted.
Trait Implementations
sourceimpl Clone for DeleteJobExecutionRequest
impl Clone for DeleteJobExecutionRequest
sourcefn clone(&self) -> DeleteJobExecutionRequest
fn clone(&self) -> DeleteJobExecutionRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeleteJobExecutionRequest
impl Debug for DeleteJobExecutionRequest
sourceimpl Default for DeleteJobExecutionRequest
impl Default for DeleteJobExecutionRequest
sourcefn default() -> DeleteJobExecutionRequest
fn default() -> DeleteJobExecutionRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DeleteJobExecutionRequest> for DeleteJobExecutionRequest
impl PartialEq<DeleteJobExecutionRequest> for DeleteJobExecutionRequest
sourcefn eq(&self, other: &DeleteJobExecutionRequest) -> bool
fn eq(&self, other: &DeleteJobExecutionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteJobExecutionRequest) -> bool
fn ne(&self, other: &DeleteJobExecutionRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for DeleteJobExecutionRequest
impl Serialize for DeleteJobExecutionRequest
impl StructuralPartialEq for DeleteJobExecutionRequest
Auto Trait Implementations
impl RefUnwindSafe for DeleteJobExecutionRequest
impl Send for DeleteJobExecutionRequest
impl Sync for DeleteJobExecutionRequest
impl Unpin for DeleteJobExecutionRequest
impl UnwindSafe for DeleteJobExecutionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more