#[non_exhaustive]pub struct DeleteBotVersionInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub skip_resource_in_use_check: 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.bot_id: Option<String>The identifier of the bot that contains the version.
bot_version: Option<String>The version of the bot to delete.
skip_resource_in_use_check: Option<bool>By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.
Implementations§
source§impl DeleteBotVersionInput
impl DeleteBotVersionInput
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot to delete.
sourcepub fn skip_resource_in_use_check(&self) -> Option<bool>
pub fn skip_resource_in_use_check(&self) -> Option<bool>
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.
source§impl DeleteBotVersionInput
impl DeleteBotVersionInput
sourcepub fn builder() -> DeleteBotVersionInputBuilder
pub fn builder() -> DeleteBotVersionInputBuilder
Creates a new builder-style object to manufacture DeleteBotVersionInput.
Trait Implementations§
source§impl Clone for DeleteBotVersionInput
impl Clone for DeleteBotVersionInput
source§fn clone(&self) -> DeleteBotVersionInput
fn clone(&self) -> DeleteBotVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteBotVersionInput
impl Debug for DeleteBotVersionInput
source§impl PartialEq for DeleteBotVersionInput
impl PartialEq for DeleteBotVersionInput
impl StructuralPartialEq for DeleteBotVersionInput
Auto Trait Implementations§
impl Freeze for DeleteBotVersionInput
impl RefUnwindSafe for DeleteBotVersionInput
impl Send for DeleteBotVersionInput
impl Sync for DeleteBotVersionInput
impl Unpin for DeleteBotVersionInput
impl UnwindSafe for DeleteBotVersionInput
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