1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeInsight`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the insight.</p><br>
    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::set_account_id):<br>required: **false**<br><p>The ID of the member account in the organization.</p><br>
    /// - On success, responds with [`DescribeInsightOutput`](crate::operation::describe_insight::DescribeInsightOutput) with field(s):
    ///   - [`proactive_insight(Option<ProactiveInsight>)`](crate::operation::describe_insight::DescribeInsightOutput::proactive_insight): <p>A <code>ProactiveInsight</code> object that represents the requested insight.</p>
    ///   - [`reactive_insight(Option<ReactiveInsight>)`](crate::operation::describe_insight::DescribeInsightOutput::reactive_insight): <p>A <code>ReactiveInsight</code> object that represents the requested insight.</p>
    /// - On failure, responds with [`SdkError<DescribeInsightError>`](crate::operation::describe_insight::DescribeInsightError)
    pub fn describe_insight(&self) -> crate::operation::describe_insight::builders::DescribeInsightFluentBuilder {
        crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::new(self.handle.clone())
    }
}