// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListCollectors`](crate::operation::list_collectors::builders::ListCollectorsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_collectors::builders::ListCollectorsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_collectors::builders::ListCollectorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_collectors::builders::ListCollectorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set <code>maxResults</code> to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.</p><br>
/// - [`max_results(i32)`](crate::operation::list_collectors::builders::ListCollectorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_collectors::builders::ListCollectorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to include in the response. The maximum value is 100.</p><br>
/// - On success, responds with [`ListCollectorsOutput`](crate::operation::list_collectors::ListCollectorsOutput) with field(s):
/// - [`collectors(Option<Vec::<Collector>>)`](crate::operation::list_collectors::ListCollectorsOutput::collectors): <p>The list of all the installed collectors.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_collectors::ListCollectorsOutput::next_token): <p>The token you use to retrieve the next set of results, or null if there are no more results.</p>
/// - On failure, responds with [`SdkError<ListCollectorsError>`](crate::operation::list_collectors::ListCollectorsError)
pub fn list_collectors(&self) -> crate::operation::list_collectors::builders::ListCollectorsFluentBuilder {
crate::operation::list_collectors::builders::ListCollectorsFluentBuilder::new(self.handle.clone())
}
}