#[non_exhaustive]pub struct DeleteOtaUpdateInput {
pub ota_update_id: Option<String>,
pub delete_stream: Option<bool>,
pub force_delete_aws_job: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ota_update_id: Option<String>
The ID of the OTA update to delete.
delete_stream: Option<bool>
When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted. Ignored if the stream specified in the OTAUpdate is supplied by the user.
force_delete_aws_job: Option<bool>
When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS". Otherwise, if the job is not in a terminal state ("COMPLETED" or "CANCELED") an exception will occur. The default is false.
Implementations§
source§impl DeleteOtaUpdateInput
impl DeleteOtaUpdateInput
sourcepub fn ota_update_id(&self) -> Option<&str>
pub fn ota_update_id(&self) -> Option<&str>
The ID of the OTA update to delete.
sourcepub fn delete_stream(&self) -> Option<bool>
pub fn delete_stream(&self) -> Option<bool>
When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted. Ignored if the stream specified in the OTAUpdate is supplied by the user.
sourcepub fn force_delete_aws_job(&self) -> Option<bool>
pub fn force_delete_aws_job(&self) -> Option<bool>
When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS". Otherwise, if the job is not in a terminal state ("COMPLETED" or "CANCELED") an exception will occur. The default is false.
source§impl DeleteOtaUpdateInput
impl DeleteOtaUpdateInput
sourcepub fn builder() -> DeleteOtaUpdateInputBuilder
pub fn builder() -> DeleteOtaUpdateInputBuilder
Creates a new builder-style object to manufacture DeleteOtaUpdateInput
.
Trait Implementations§
source§impl Clone for DeleteOtaUpdateInput
impl Clone for DeleteOtaUpdateInput
source§fn clone(&self) -> DeleteOtaUpdateInput
fn clone(&self) -> DeleteOtaUpdateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteOtaUpdateInput
impl Debug for DeleteOtaUpdateInput
source§impl PartialEq for DeleteOtaUpdateInput
impl PartialEq for DeleteOtaUpdateInput
impl StructuralPartialEq for DeleteOtaUpdateInput
Auto Trait Implementations§
impl Freeze for DeleteOtaUpdateInput
impl RefUnwindSafe for DeleteOtaUpdateInput
impl Send for DeleteOtaUpdateInput
impl Sync for DeleteOtaUpdateInput
impl Unpin for DeleteOtaUpdateInput
impl UnwindSafe for DeleteOtaUpdateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more