1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetInsightsByAssessment`](crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assessment_id(impl Into<String>)`](crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder::assessment_id) / [`set_assessment_id(Option<String>)`](crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder::set_assessment_id):<br>required: **true**<br><p>The unique identifier for the assessment.</p><br>
    /// - On success, responds with [`GetInsightsByAssessmentOutput`](crate::operation::get_insights_by_assessment::GetInsightsByAssessmentOutput) with field(s):
    ///   - [`insights(Option<InsightsByAssessment>)`](crate::operation::get_insights_by_assessment::GetInsightsByAssessmentOutput::insights): <p>The assessment analytics data that the <code>GetInsightsByAssessment</code> API returned.</p>
    /// - On failure, responds with [`SdkError<GetInsightsByAssessmentError>`](crate::operation::get_insights_by_assessment::GetInsightsByAssessmentError)
    pub fn get_insights_by_assessment(&self) -> crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder {
        crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder::new(self.handle.clone())
    }
}