// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDaemons`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`cluster_arn(impl Into<String>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::set_cluster_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the cluster to filter daemons by. If not specified, daemons from all clusters are returned.</p><br>
/// - [`capacity_provider_arns(impl Into<String>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::capacity_provider_arns) / [`set_capacity_provider_arns(Option<Vec::<String>>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::set_capacity_provider_arns):<br>required: **false**<br><p>The Amazon Resource Names (ARNs) of the capacity providers to filter daemons by. Only daemons associated with the specified capacity providers are returned.</p><br>
/// - [`max_results(i32)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of daemon results that <code>ListDaemons</code> returned in paginated output. When this parameter is used, <code>ListDaemons</code> only returns <code>maxResults</code> results in a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>ListDaemons</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter isn't used, then <code>ListDaemons</code> returns up to 100 results and a <code>nextToken</code> value if applicable.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a <code>ListDaemons</code> request indicating that more results are available to fulfill the request and further calls will be needed. If <code>maxResults</code> was provided, it's possible for the number of results to be fewer than <code>maxResults</code>.</p><note> <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note><br>
/// - On success, responds with [`ListDaemonsOutput`](crate::operation::list_daemons::ListDaemonsOutput) with field(s):
/// - [`daemon_summaries_list(Option<Vec::<DaemonSummary>>)`](crate::operation::list_daemons::ListDaemonsOutput::daemon_summaries_list): <p>The list of daemon summaries.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_daemons::ListDaemonsOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>ListDaemons</code> request. When the results of a <code>ListDaemons</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results.</p>
/// - On failure, responds with [`SdkError<ListDaemonsError>`](crate::operation::list_daemons::ListDaemonsError)
pub fn list_daemons(&self) -> crate::operation::list_daemons::builders::ListDaemonsFluentBuilder {
crate::operation::list_daemons::builders::ListDaemonsFluentBuilder::new(self.handle.clone())
}
}