aws_sdk_xray/client/get_insight.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetInsight`](crate::operation::get_insight::builders::GetInsightFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`insight_id(impl Into<String>)`](crate::operation::get_insight::builders::GetInsightFluentBuilder::insight_id) / [`set_insight_id(Option<String>)`](crate::operation::get_insight::builders::GetInsightFluentBuilder::set_insight_id):<br>required: **true**<br><p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p><br>
/// - On success, responds with [`GetInsightOutput`](crate::operation::get_insight::GetInsightOutput) with field(s):
/// - [`insight(Option<Insight>)`](crate::operation::get_insight::GetInsightOutput::insight): <p>The summary information of an insight.</p>
/// - On failure, responds with [`SdkError<GetInsightError>`](crate::operation::get_insight::GetInsightError)
pub fn get_insight(&self) -> crate::operation::get_insight::builders::GetInsightFluentBuilder {
crate::operation::get_insight::builders::GetInsightFluentBuilder::new(self.handle.clone())
}
}