aws_sdk_lexmodelsv2/client/
describe_bot_version.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 [`DescribeBotVersion`](crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`bot_id(impl Into<String>)`](crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot containing the version to return metadata for.</p><br>
7    ///   - [`bot_version(impl Into<String>)`](crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot to return metadata for.</p><br>
8    /// - On success, responds with [`DescribeBotVersionOutput`](crate::operation::describe_bot_version::DescribeBotVersionOutput) with field(s):
9    ///   - [`bot_id(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_id): <p>The identifier of the bot that contains the version.</p>
10    ///   - [`bot_name(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_name): <p>The name of the bot that contains the version.</p>
11    ///   - [`bot_version(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_version): <p>The version of the bot that was described.</p>
12    ///   - [`description(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::description): <p>The description specified for the bot.</p>
13    ///   - [`role_arn(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::role_arn): <p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.</p>
14    ///   - [`data_privacy(Option<DataPrivacy>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::data_privacy): <p>Data privacy settings for the bot version.</p>
15    ///   - [`idle_session_ttl_in_seconds(Option<i32>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::idle_session_ttl_in_seconds): <p>The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.</p>
16    ///   - [`bot_status(Option<BotStatus>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_status): <p>The current status of the bot. When the status is <code>Available</code>, the bot version is ready for use.</p>
17    ///   - [`failure_reasons(Option<Vec::<String>>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::failure_reasons): <p>If the <code>botStatus</code> is <code>Failed</code>, this contains a list of reasons that the version couldn't be built.</p>
18    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::creation_date_time): <p>A timestamp of the date and time that the bot version was created.</p>
19    ///   - [`parent_bot_networks(Option<Vec::<ParentBotNetwork>>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::parent_bot_networks): <p>A list of the networks to which the bot version you described belongs.</p>
20    ///   - [`bot_type(Option<BotType>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_type): <p>The type of the bot in the version that was described.</p>
21    ///   - [`bot_members(Option<Vec::<BotMember>>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_members): <p>The members of bot network in the version that was described.</p>
22    /// - On failure, responds with [`SdkError<DescribeBotVersionError>`](crate::operation::describe_bot_version::DescribeBotVersionError)
23    pub fn describe_bot_version(&self) -> crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder {
24        crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder::new(self.handle.clone())
25    }
26}