1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteBotAlias`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_alias_id(impl Into<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::bot_alias_id) / [`set_bot_alias_id(Option<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::set_bot_alias_id):<br>required: **true**<br><p>The unique identifier of the bot alias to delete.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot associated with the alias to delete.</p><br>
    ///   - [`skip_resource_in_use_check(bool)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::skip_resource_in_use_check) / [`set_skip_resource_in_use_check(Option<bool>)`](crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::set_skip_resource_in_use_check):<br>required: **false**<br><p>By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a <code>ResourceInUseException</code> exception if the alias is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the alias even if it is being used by another resource.</p><br>
    /// - On success, responds with [`DeleteBotAliasOutput`](crate::operation::delete_bot_alias::DeleteBotAliasOutput) with field(s):
    ///   - [`bot_alias_id(Option<String>)`](crate::operation::delete_bot_alias::DeleteBotAliasOutput::bot_alias_id): <p>The unique identifier of the bot alias to delete.</p>
    ///   - [`bot_id(Option<String>)`](crate::operation::delete_bot_alias::DeleteBotAliasOutput::bot_id): <p>The unique identifier of the bot that contains the alias to delete.</p>
    ///   - [`bot_alias_status(Option<BotAliasStatus>)`](crate::operation::delete_bot_alias::DeleteBotAliasOutput::bot_alias_status): <p>The current status of the alias. The status is <code>Deleting</code> while the alias is in the process of being deleted. Once the alias is deleted, it will no longer appear in the list of aliases returned by the <code>ListBotAliases</code> operation.</p>
    /// - On failure, responds with [`SdkError<DeleteBotAliasError>`](crate::operation::delete_bot_alias::DeleteBotAliasError)
    pub fn delete_bot_alias(&self) -> crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder {
        crate::operation::delete_bot_alias::builders::DeleteBotAliasFluentBuilder::new(self.handle.clone())
    }
}