1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeBot`](crate::operation::describe_bot::builders::DescribeBotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::describe_bot::builders::DescribeBotFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_bot::builders::DescribeBotFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot to describe.</p><br>
    /// - On success, responds with [`DescribeBotOutput`](crate::operation::describe_bot::DescribeBotOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::describe_bot::DescribeBotOutput::bot_id): <p>The unique identifier of the bot.</p>
    ///   - [`bot_name(Option<String>)`](crate::operation::describe_bot::DescribeBotOutput::bot_name): <p>The name of the bot.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_bot::DescribeBotOutput::description): <p>The description of the bot.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::describe_bot::DescribeBotOutput::role_arn): <p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.</p>
    ///   - [`data_privacy(Option<DataPrivacy>)`](crate::operation::describe_bot::DescribeBotOutput::data_privacy): <p>Settings for managing data privacy of the bot and its conversations with users.</p>
    ///   - [`idle_session_ttl_in_seconds(Option<i32>)`](crate::operation::describe_bot::DescribeBotOutput::idle_session_ttl_in_seconds): <p>The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.</p>
    ///   - [`bot_status(Option<BotStatus>)`](crate::operation::describe_bot::DescribeBotOutput::bot_status): <p>The current status of the bot. When the status is <code>Available</code> the bot is ready to be used in conversations with users.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_bot::DescribeBotOutput::creation_date_time): <p>A timestamp of the date and time that the bot was created.</p>
    ///   - [`last_updated_date_time(Option<DateTime>)`](crate::operation::describe_bot::DescribeBotOutput::last_updated_date_time): <p>A timestamp of the date and time that the bot was last updated.</p>
    ///   - [`bot_type(Option<BotType>)`](crate::operation::describe_bot::DescribeBotOutput::bot_type): <p>The type of the bot that was described.</p>
    ///   - [`bot_members(Option<Vec::<BotMember>>)`](crate::operation::describe_bot::DescribeBotOutput::bot_members): <p>The list of bots in the network that was described.</p>
    ///   - [`failure_reasons(Option<Vec::<String>>)`](crate::operation::describe_bot::DescribeBotOutput::failure_reasons): <p>If the <code>botStatus</code> is <code>Failed</code>, this contains a list of reasons that the bot couldn't be built.</p>
    /// - On failure, responds with [`SdkError<DescribeBotError>`](crate::operation::describe_bot::DescribeBotError)
    pub fn describe_bot(&self) -> crate::operation::describe_bot::builders::DescribeBotFluentBuilder {
        crate::operation::describe_bot::builders::DescribeBotFluentBuilder::new(self.handle.clone())
    }
}