aws_sdk_devopsguru/client/describe_insight.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 [`DescribeInsight`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DescribeInsightOutput`](crate::operation::describe_insight::DescribeInsightOutput) with field(s):
9 /// - [`proactive_insight(Option<ProactiveInsight>)`](crate::operation::describe_insight::DescribeInsightOutput::proactive_insight): <p>A <code>ProactiveInsight</code> object that represents the requested insight.</p>
10 /// - [`reactive_insight(Option<ReactiveInsight>)`](crate::operation::describe_insight::DescribeInsightOutput::reactive_insight): <p>A <code>ReactiveInsight</code> object that represents the requested insight.</p>
11 /// - On failure, responds with [`SdkError<DescribeInsightError>`](crate::operation::describe_insight::DescribeInsightError)
12 pub fn describe_insight(&self) -> crate::operation::describe_insight::builders::DescribeInsightFluentBuilder {
13 crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::new(self.handle.clone())
14 }
15}