#[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
source§fn eq(&self, other: &DeleteBotVersionInput) -> bool
fn eq(&self, other: &DeleteBotVersionInput) -> bool
self and other values to be equal, and is used
by ==.