aws_sdk_lexmodelbuilding/client/
delete_bot_alias.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteBotAlias`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::set_name):<br>required: **true**<br><p>The name of the alias to delete. The name is case sensitive.</p><br>
7    ///   - [`bot_name(impl Into<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::bot_name) / [`set_bot_name(Option<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::set_bot_name):<br>required: **true**<br><p>The name of the bot that the alias points to.</p><br>
8    /// - On success, responds with [`DeleteBotAliasOutput`](crate::operation::delete_bot_alias::DeleteBotAliasOutput)
9    /// - On failure, responds with [`SdkError<DeleteBotAliasError>`](crate::operation::delete_bot_alias::DeleteBotAliasError)
10    pub fn delete_bot_alias(&self) -> crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder {
11        crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::new(self.handle.clone())
12    }
13}