Struct aws_sdk_lexmodelsv2::input::DeleteBotVersionInput
source · [−]#[non_exhaustive]pub struct DeleteBotVersionInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub skip_resource_in_use_check: 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: boolBy default, the DeleteBotVersion operations throws a ResourceInUseException exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck parameter to true to skip this check and remove the version even if an alias points to it.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteBotVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteBotVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteBotVersion>
Creates a new builder-style object to manufacture DeleteBotVersionInput
The version of the bot to delete.
By default, the DeleteBotVersion operations throws a ResourceInUseException exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck parameter to true to skip this check and remove the version even if an alias points to it.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DeleteBotVersionInput
impl Send for DeleteBotVersionInput
impl Sync for DeleteBotVersionInput
impl Unpin for DeleteBotVersionInput
impl UnwindSafe for DeleteBotVersionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more