1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListControlDomainInsightsByAssessment`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`assessment_id(impl Into<String>)`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::assessment_id) / [`set_assessment_id(Option<String>)`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::set_assessment_id):<br>required: **true**<br><p>The unique identifier for the active assessment.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token that's used to fetch the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::set_max_results):<br>required: **false**<br><p>Represents the maximum number of results on a page or for an API request call.</p><br>
    /// - On success, responds with [`ListControlDomainInsightsByAssessmentOutput`](crate::operation::list_control_domain_insights_by_assessment::ListControlDomainInsightsByAssessmentOutput) with field(s):
    ///   - [`control_domain_insights(Option<Vec::<ControlDomainInsights>>)`](crate::operation::list_control_domain_insights_by_assessment::ListControlDomainInsightsByAssessmentOutput::control_domain_insights): <p>The control domain analytics data that the <code>ListControlDomainInsightsByAssessment</code> API returned.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_control_domain_insights_by_assessment::ListControlDomainInsightsByAssessmentOutput::next_token): <p>The pagination token that's used to fetch the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListControlDomainInsightsByAssessmentError>`](crate::operation::list_control_domain_insights_by_assessment::ListControlDomainInsightsByAssessmentError)
    pub fn list_control_domain_insights_by_assessment(
        &self,
    ) -> crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder {
        crate::operation::list_control_domain_insights_by_assessment::builders::ListControlDomainInsightsByAssessmentFluentBuilder::new(
            self.handle.clone(),
        )
    }
}