aws_sdk_eks/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    ///   - [`cluster_name(impl Into<String>)`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of the cluster to describe the insight for.</p><br>
7    ///   - [`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 identity of the insight to describe.</p><br>
8    /// - On success, responds with [`DescribeInsightOutput`](crate::operation::describe_insight::DescribeInsightOutput) with field(s):
9    ///   - [`insight(Option<Insight>)`](crate::operation::describe_insight::DescribeInsightOutput::insight): <p>The full description of the insight.</p>
10    /// - On failure, responds with [`SdkError<DescribeInsightError>`](crate::operation::describe_insight::DescribeInsightError)
11    pub fn describe_insight(&self) -> crate::operation::describe_insight::builders::DescribeInsightFluentBuilder {
12        crate::operation::describe_insight::builders::DescribeInsightFluentBuilder::new(self.handle.clone())
13    }
14}