// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListClusters`](crate::operation::list_clusters::builders::ListClustersFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_clusters::builders::ListClustersFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_clusters::builders::ListClustersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_clusters::builders::ListClustersFluentBuilder::set_next_token): <p>The nextToken which is used the get the next page of data.</p>
/// - [`max_results(i32)`](crate::operation::list_clusters::builders::ListClustersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_clusters::builders::ListClustersFluentBuilder::set_max_results): <p>The maximum number of entries to recieve in the response.</p>
/// - On success, responds with [`ListClustersOutput`](crate::operation::list_clusters::ListClustersOutput) with field(s):
/// - [`clusters(Option<Vec<ClusterInList>>)`](crate::operation::list_clusters::ListClustersOutput::clusters): <p>A list of Elastic DocumentDB cluster.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_clusters::ListClustersOutput::next_token): <p>The response will provide a nextToken if there is more data beyond the maxResults.</p> <p>If there is no more data in the responce, the nextToken will not be returned.</p>
/// - On failure, responds with [`SdkError<ListClustersError>`](crate::operation::list_clusters::ListClustersError)
pub fn list_clusters(&self) -> crate::operation::list_clusters::builders::ListClustersFluentBuilder {
crate::operation::list_clusters::builders::ListClustersFluentBuilder::new(self.handle.clone())
}
}