// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteBotVersion`](crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the bot.</p><br>
/// - [`version(impl Into<String>)`](crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder::set_version):<br>required: **true**<br><p>The version of the bot to delete. You cannot delete the <code>$LATEST</code> version of the bot. To delete the <code>$LATEST</code> version, use the <code>DeleteBot</code> operation.</p><br>
/// - On success, responds with [`DeleteBotVersionOutput`](crate::operation::delete_bot_version::DeleteBotVersionOutput)
/// - On failure, responds with [`SdkError<DeleteBotVersionError>`](crate::operation::delete_bot_version::DeleteBotVersionError)
pub fn delete_bot_version(&self) -> crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder {
crate::operation::delete_bot_version::builders::DeleteBotVersionFluentBuilder::new(self.handle.clone())
}
}