Struct aws_sdk_lexmodelsv2::operation::delete_bot::DeleteBotInput
source · #[non_exhaustive]pub struct DeleteBotInput {
pub bot_id: 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 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 bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.
Implementations§
source§impl DeleteBotInput
impl DeleteBotInput
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 bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.
source§impl DeleteBotInput
impl DeleteBotInput
sourcepub fn builder() -> DeleteBotInputBuilder
pub fn builder() -> DeleteBotInputBuilder
Creates a new builder-style object to manufacture DeleteBotInput.
Trait Implementations§
source§impl Clone for DeleteBotInput
impl Clone for DeleteBotInput
source§fn clone(&self) -> DeleteBotInput
fn clone(&self) -> DeleteBotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteBotInput
impl Debug for DeleteBotInput
source§impl PartialEq<DeleteBotInput> for DeleteBotInput
impl PartialEq<DeleteBotInput> for DeleteBotInput
source§fn eq(&self, other: &DeleteBotInput) -> bool
fn eq(&self, other: &DeleteBotInput) -> bool
self and other values to be equal, and is used
by ==.