Struct rusoto_iot::DeleteJobRequest
source · [−]pub struct DeleteJobRequest {
pub force: Option<bool>,
pub job_id: String,
pub namespace_id: Option<String>,
}
Fields
force: Option<bool>
(Optional) When true, you can delete a job which is "INPROGRESS". Otherwise, you can only delete a job which is in a terminal state ("COMPLETED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job which is "INPROGRESS", will cause a device which is executing the job to be unable to access job information or update the job execution status. Use caution and ensure that each device executing a job which is deleted is able to recover to a valid state.
job_id: String
The ID of the job to be deleted.
After a job deletion is completed, you may reuse this jobId when you create a new job. However, this is not recommended, and you must ensure that your devices are not using the jobId to refer to the deleted job.
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.
Trait Implementations
sourceimpl Clone for DeleteJobRequest
impl Clone for DeleteJobRequest
sourcefn clone(&self) -> DeleteJobRequest
fn clone(&self) -> DeleteJobRequest
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 DeleteJobRequest
impl Debug for DeleteJobRequest
sourceimpl Default for DeleteJobRequest
impl Default for DeleteJobRequest
sourcefn default() -> DeleteJobRequest
fn default() -> DeleteJobRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DeleteJobRequest> for DeleteJobRequest
impl PartialEq<DeleteJobRequest> for DeleteJobRequest
sourcefn eq(&self, other: &DeleteJobRequest) -> bool
fn eq(&self, other: &DeleteJobRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteJobRequest) -> bool
fn ne(&self, other: &DeleteJobRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for DeleteJobRequest
impl Serialize for DeleteJobRequest
impl StructuralPartialEq for DeleteJobRequest
Auto Trait Implementations
impl RefUnwindSafe for DeleteJobRequest
impl Send for DeleteJobRequest
impl Sync for DeleteJobRequest
impl Unpin for DeleteJobRequest
impl UnwindSafe for DeleteJobRequest
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