aws_sdk_lexmodelbuilding/client/get_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 [`GetBotAlias`](crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder::set_name):<br>required: **true**<br><p>The name of the bot alias. The name is case sensitive.</p><br>
7    ///   - [`bot_name(impl Into<String>)`](crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder::bot_name) / [`set_bot_name(Option<String>)`](crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder::set_bot_name):<br>required: **true**<br><p>The name of the bot.</p><br>
8    /// - On success, responds with [`GetBotAliasOutput`](crate::operation::get_bot_alias::GetBotAliasOutput) with field(s):
9    ///   - [`name(Option<String>)`](crate::operation::get_bot_alias::GetBotAliasOutput::name): <p>The name of the bot alias.</p>
10    ///   - [`description(Option<String>)`](crate::operation::get_bot_alias::GetBotAliasOutput::description): <p>A description of the bot alias.</p>
11    ///   - [`bot_version(Option<String>)`](crate::operation::get_bot_alias::GetBotAliasOutput::bot_version): <p>The version of the bot that the alias points to.</p>
12    ///   - [`bot_name(Option<String>)`](crate::operation::get_bot_alias::GetBotAliasOutput::bot_name): <p>The name of the bot that the alias points to.</p>
13    ///   - [`last_updated_date(Option<DateTime>)`](crate::operation::get_bot_alias::GetBotAliasOutput::last_updated_date): <p>The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.</p>
14    ///   - [`created_date(Option<DateTime>)`](crate::operation::get_bot_alias::GetBotAliasOutput::created_date): <p>The date that the bot alias was created.</p>
15    ///   - [`checksum(Option<String>)`](crate::operation::get_bot_alias::GetBotAliasOutput::checksum): <p>Checksum of the bot alias.</p>
16    ///   - [`conversation_logs(Option<ConversationLogsResponse>)`](crate::operation::get_bot_alias::GetBotAliasOutput::conversation_logs): <p>The settings that determine how Amazon Lex uses conversation logs for the alias.</p>
17    /// - On failure, responds with [`SdkError<GetBotAliasError>`](crate::operation::get_bot_alias::GetBotAliasError)
18    pub fn get_bot_alias(&self) -> crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder {
19        crate::operation::get_bot_alias::builders::GetBotAliasFluentBuilder::new(self.handle.clone())
20    }
21}