aws-sdk-assurance 1.0.0

AWS SDK for AWS Assurance
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAssessmentAnnotations`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`project(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_project):<br>required: **true**<br><p>The project the assessment belongs to.</p><br>
    ///   - [`framework(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the compliance framework.</p><br>
    ///   - [`framework_version(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version of the compliance framework.</p><br>
    ///   - [`control_id(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_control_id):<br>required: **true**<br><p>The control identifier. Optional. If omitted, the operation applies to the full framework.</p><br>
    ///   - [`assessment_id(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::assessment_id) / [`set_assessment_id(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_assessment_id):<br>required: **true**<br><p>The assessment whose annotations are listed.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the <code>nextToken</code> value from the response to get the next page.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.</p><br>
    /// - On success, responds with [`ListAssessmentAnnotationsOutput`](crate::operation::list_assessment_annotations::ListAssessmentAnnotationsOutput) with field(s):
    ///   - [`annotations(Vec::<AnnotationSummary>)`](crate::operation::list_assessment_annotations::ListAssessmentAnnotationsOutput::annotations): <p>The list of annotation summaries returned by the request.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_assessment_annotations::ListAssessmentAnnotationsOutput::next_token): <p>The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<ListAssessmentAnnotationsError>`](crate::operation::list_assessment_annotations::ListAssessmentAnnotationsError)
    pub fn list_assessment_annotations(&self) -> crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder {
        crate::operation::list_assessment_annotations::builders::ListAssessmentAnnotationsFluentBuilder::new(self.handle.clone())
    }
}