1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeBotVersion`](crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeBotVersionOutput`](crate::operation::describe_bot_version::DescribeBotVersionOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_id): <p>The identifier of the bot that contains the version.</p>
    ///   - [`bot_name(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_name): <p>The name of the bot that contains the version.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::bot_version): <p>The version of the bot that was described.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::description): <p>The description specified for the bot.</p>
    ///   - [`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>
    ///   - [`data_privacy(Option<DataPrivacy>)`](crate::operation::describe_bot_version::DescribeBotVersionOutput::data_privacy): <p>Data privacy settings for the bot version.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DescribeBotVersionError>`](crate::operation::describe_bot_version::DescribeBotVersionError)
    pub fn describe_bot_version(&self) -> crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder {
        crate::operation::describe_bot_version::builders::DescribeBotVersionFluentBuilder::new(self.handle.clone())
    }
}