1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAssessment`](crate::operation::get_assessment::builders::GetAssessmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assessment_id(impl Into<String>)`](crate::operation::get_assessment::builders::GetAssessmentFluentBuilder::assessment_id) / [`set_assessment_id(Option<String>)`](crate::operation::get_assessment::builders::GetAssessmentFluentBuilder::set_assessment_id):<br>required: **true**<br><p>The unique identifier for the assessment.</p><br>
    /// - On success, responds with [`GetAssessmentOutput`](crate::operation::get_assessment::GetAssessmentOutput) with field(s):
    ///   - [`assessment(Option<Assessment>)`](crate::operation::get_assessment::GetAssessmentOutput::assessment): <p>An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an implementation of an Audit Manager framework.</p>
    ///   - [`user_role(Option<Role>)`](crate::operation::get_assessment::GetAssessmentOutput::user_role): <p>The wrapper that contains the Audit Manager role information of the current user. This includes the role type and IAM Amazon Resource Name (ARN).</p>
    /// - On failure, responds with [`SdkError<GetAssessmentError>`](crate::operation::get_assessment::GetAssessmentError)
    pub fn get_assessment(&self) -> crate::operation::get_assessment::builders::GetAssessmentFluentBuilder {
        crate::operation::get_assessment::builders::GetAssessmentFluentBuilder::new(self.handle.clone())
    }
}