aws_sdk_securityhub/client/
list_finding_aggregators.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListFindingAggregators`](crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned with the previous set of results. Identifies the next set of results to return.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return. This operation currently only returns a single result.</p><br>
9    /// - On success, responds with [`ListFindingAggregatorsOutput`](crate::operation::list_finding_aggregators::ListFindingAggregatorsOutput) with field(s):
10    ///   - [`finding_aggregators(Option<Vec::<FindingAggregator>>)`](crate::operation::list_finding_aggregators::ListFindingAggregatorsOutput::finding_aggregators): <p>The list of finding aggregators. This operation currently only returns a single result.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_finding_aggregators::ListFindingAggregatorsOutput::next_token): <p>If there are more results, this is the token to provide in the next call to <code>ListFindingAggregators</code>.</p> <p>This operation currently only returns a single result.</p>
12    /// - On failure, responds with [`SdkError<ListFindingAggregatorsError>`](crate::operation::list_finding_aggregators::ListFindingAggregatorsError)
13    pub fn list_finding_aggregators(&self) -> crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder {
14        crate::operation::list_finding_aggregators::builders::ListFindingAggregatorsFluentBuilder::new(self.handle.clone())
15    }
16}