1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetFindings`](crate::operation::get_findings::builders::GetFindingsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(AwsSecurityFindingFilters)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::filters) / [`set_filters(Option<AwsSecurityFindingFilters>)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::set_filters): <p>The finding attributes used to define a condition to filter the returned findings.</p>  <p>You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.</p>  <p>Note that in the available filter fields, <code>WorkflowState</code> is deprecated. To search for a finding based on its workflow status, use <code>WorkflowStatus</code>.</p>
    ///   - [`sort_criteria(SortCriterion)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::sort_criteria) / [`set_sort_criteria(Option<Vec<SortCriterion>>)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::set_sort_criteria): <p>The finding attributes used to sort the list of returned findings.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::set_next_token): <p>The token that is required for pagination. On your first call to the <code>GetFindings</code> operation, set the value of this parameter to <code>NULL</code>.</p>  <p>For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.</p>
    ///   - [`max_results(i32)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_findings::builders::GetFindingsFluentBuilder::set_max_results): <p>The maximum number of findings to return.</p>
    /// - On success, responds with [`GetFindingsOutput`](crate::operation::get_findings::GetFindingsOutput) with field(s):
    ///   - [`findings(Option<Vec<AwsSecurityFinding>>)`](crate::operation::get_findings::GetFindingsOutput::findings): <p>The findings that matched the filters specified in the request.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_findings::GetFindingsOutput::next_token): <p>The pagination token to use to request the next page of results.</p>
    /// - On failure, responds with [`SdkError<GetFindingsError>`](crate::operation::get_findings::GetFindingsError)
    pub fn get_findings(&self) -> crate::operation::get_findings::builders::GetFindingsFluentBuilder {
        crate::operation::get_findings::builders::GetFindingsFluentBuilder::new(self.handle.clone())
    }
}