// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListAssessmentOutcomes`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`environment_arn(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of the environment.</p><br>
/// - [`project(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_project):<br>required: **true**<br><p>The project the request is scoped to.</p><br>
/// - [`framework(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::framework) / [`set_framework(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_framework):<br>required: **true**<br><p>The name of the framework.</p><br>
/// - [`framework_version(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::framework_version) / [`set_framework_version(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_framework_version):<br>required: **true**<br><p>The version of the framework.</p><br>
/// - [`control_id(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::control_id) / [`set_control_id(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_control_id):<br>required: **false**<br><p>Narrows the series to one control's score over time. Omit for the whole framework's score over time.</p><br>
/// - [`resource_identifier(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::resource_identifier) / [`set_resource_identifier(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_resource_identifier):<br>required: **false**<br><p>Use this parameter to narrow the series to one resource. Specify the resource identifier that <code>ListDiscoveredResources</code> returns, which is its ARN if one exists, or its AWS Config resource type and resource ID (separated by a slash) otherwise. If you omit this parameter, the series reports the score for the whole project.</p><br>
/// - [`aggregation_level(AggregationLevel)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::aggregation_level) / [`set_aggregation_level(Option<AggregationLevel>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_aggregation_level):<br>required: **false**<br><p>The level of the scores in each point. Specify one of the following values:</p> <ul> <li> <p><code>FRAMEWORK</code> – One score for the framework. This is the default.</p></li> <li> <p><code>CONTROL</code> – One score for each control that has a score in the bucket. The controls can differ from one point to the next. Specify a window with <code>startTime</code> and <code>endTime</code>, or use the <code>MAX</code>, <code>MIN</code>, or <code>AVG</code> statistic.</p></li> </ul> <p>You can specify this parameter only together with <code>resourceIdentifier</code>, and not together with <code>controlId</code>.</p><br>
/// - [`start_time(DateTime)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_start_time):<br>required: **false**<br><p>The start of the window, inclusive, in UTC. The default is 7 days before <code>endTime</code>. To get the most recent score instead of a series, omit both <code>startTime</code> and <code>endTime</code>.</p><br>
/// - [`end_time(DateTime)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_end_time):<br>required: **false**<br><p>The end of the window, exclusive, in UTC. The default is the time of the request. <code>endTime</code> must be later than <code>startTime</code>. To get the most recent score instead of a series, omit both <code>startTime</code> and <code>endTime</code>.</p><br>
/// - [`period(AssessmentOutcomePeriod)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::period) / [`set_period(Option<AssessmentOutcomePeriod>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_period):<br>required: **false**<br><p>The width of each time bucket. Valid values are <code>ONE_HOUR</code> and <code>ONE_DAY</code>. The default is <code>ONE_DAY</code>. This parameter has no effect when the response is the most recent score.</p><br>
/// - [`statistic(AssessmentOutcomeStat)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::statistic) / [`set_statistic(Option<AssessmentOutcomeStat>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_statistic):<br>required: **false**<br><p>How AWS Assurance combines the scores of the assessments in a bucket. Specify one of the following values:</p> <ul> <li> <p><code>LAST</code> – The score of the most recent assessment in the bucket. If that assessment has no score, the bucket is left out. This is the default.</p></li> <li> <p><code>MAX</code> – The highest score in the bucket.</p></li> <li> <p><code>MIN</code> – The lowest score in the bucket.</p></li> <li> <p><code>AVG</code> – The average score in the bucket. Each assessment counts once, so assessments that run more often carry more weight.</p></li> </ul> <p>At <code>CONTROL</code> aggregation, the statistic is applied to each control separately.</p><br>
/// - [`max_results(i32)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of points to return on one page. If you omit it, the operation uses its default page size.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results, from a previous response.</p><br>
/// - On success, responds with [`ListAssessmentOutcomesOutput`](crate::operation::list_assessment_outcomes::ListAssessmentOutcomesOutput) with field(s):
/// - [`assessment_outcomes(Vec::<AssessmentOutcomeDataPoint>)`](crate::operation::list_assessment_outcomes::ListAssessmentOutcomesOutput::assessment_outcomes): <p>The points in the window, newest first. Buckets that have no score aren't included.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_assessment_outcomes::ListAssessmentOutcomesOutput::next_token): <p>The token to pass to get the next page of results. Absent on the last page.</p>
/// - On failure, responds with [`SdkError<ListAssessmentOutcomesError>`](crate::operation::list_assessment_outcomes::ListAssessmentOutcomesError)
pub fn list_assessment_outcomes(&self) -> crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder {
crate::operation::list_assessment_outcomes::builders::ListAssessmentOutcomesFluentBuilder::new(self.handle.clone())
}
}