1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAnalyses`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the analyses.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token that can be used in a subsequent request.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return.</p><br>
    /// - On success, responds with [`ListAnalysesOutput`](crate::operation::list_analyses::ListAnalysesOutput) with field(s):
    ///   - [`analysis_summary_list(Option<Vec::<AnalysisSummary>>)`](crate::operation::list_analyses::ListAnalysesOutput::analysis_summary_list): <p>Metadata describing each of the analyses that are listed.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_analyses::ListAnalysesOutput::next_token): <p>A pagination token that can be used in a subsequent request.</p>
    ///   - [`status(i32)`](crate::operation::list_analyses::ListAnalysesOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::list_analyses::ListAnalysesOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<ListAnalysesError>`](crate::operation::list_analyses::ListAnalysesError)
    pub fn list_analyses(&self) -> crate::operation::list_analyses::builders::ListAnalysesFluentBuilder {
        crate::operation::list_analyses::builders::ListAnalysesFluentBuilder::new(self.handle.clone())
    }
}