aws_sdk_securityhub/client/list_aggregators_v2.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 [`ListAggregatorsV2`](crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder::set_next_token):<br>required: **false**<br><p>The token required for pagination. On your first call, set the value of this parameter to <code>NULL</code>. For subsequent calls, to continue listing data, set the value of this parameter to the value returned in the previous response.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return.</p><br>
9 /// - On success, responds with [`ListAggregatorsV2Output`](crate::operation::list_aggregators_v2::ListAggregatorsV2Output) with field(s):
10 /// - [`aggregators_v2(Option<Vec::<AggregatorV2>>)`](crate::operation::list_aggregators_v2::ListAggregatorsV2Output::aggregators_v2): <p>An array of aggregators.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_aggregators_v2::ListAggregatorsV2Output::next_token): <p>The pagination token to use to request the next page of results. Otherwise, this parameter is null.</p>
12 /// - On failure, responds with [`SdkError<ListAggregatorsV2Error>`](crate::operation::list_aggregators_v2::ListAggregatorsV2Error)
13 pub fn list_aggregators_v2(&self) -> crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder {
14 crate::operation::list_aggregators_v2::builders::ListAggregatorsV2FluentBuilder::new(self.handle.clone())
15 }
16}