aws_sdk_auditmanager/client/get_insights_by_assessment.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 [`GetInsightsByAssessment`](crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetInsightsByAssessmentOutput`](crate::operation::get_insights_by_assessment::GetInsightsByAssessmentOutput) with field(s):
8 /// - [`insights(Option<InsightsByAssessment>)`](crate::operation::get_insights_by_assessment::GetInsightsByAssessmentOutput::insights): <p>The assessment analytics data that the <code>GetInsightsByAssessment</code> API returned.</p>
9 /// - On failure, responds with [`SdkError<GetInsightsByAssessmentError>`](crate::operation::get_insights_by_assessment::GetInsightsByAssessmentError)
10 pub fn get_insights_by_assessment(&self) -> crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder {
11 crate::operation::get_insights_by_assessment::builders::GetInsightsByAssessmentFluentBuilder::new(self.handle.clone())
12 }
13}