// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListExecutors`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`session_id(impl Into<String>)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::set_session_id):<br>required: **true**<br><p>The session ID.</p><br>
/// - [`executor_state_filter(ExecutorState)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::executor_state_filter) / [`set_executor_state_filter(Option<ExecutorState>)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::set_executor_state_filter):<br>required: **false**<br><p>A filter for a specific executor state. A description of each state follows.</p> <p><code>CREATING</code> - The executor is being started, including acquiring resources.</p> <p><code>CREATED</code> - The executor has been started.</p> <p><code>REGISTERED</code> - The executor has been registered.</p> <p><code>TERMINATING</code> - The executor is in the process of shutting down.</p> <p><code>TERMINATED</code> - The executor is no longer running.</p> <p><code>FAILED</code> - Due to a failure, the executor is no longer running.</p><br>
/// - [`max_results(i32)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of executors to return.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_executors::builders::ListExecutorsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the <code>NextToken</code> from the response object of the previous page call.</p><br>
/// - On success, responds with [`ListExecutorsOutput`](crate::operation::list_executors::ListExecutorsOutput) with field(s):
/// - [`session_id(String)`](crate::operation::list_executors::ListExecutorsOutput::session_id): <p>The session ID.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_executors::ListExecutorsOutput::next_token): <p>A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the <code>NextToken</code> from the response object of the previous page call.</p>
/// - [`executors_summary(Option<Vec::<ExecutorsSummary>>)`](crate::operation::list_executors::ListExecutorsOutput::executors_summary): <p>Contains summary information about the executor.</p>
/// - On failure, responds with [`SdkError<ListExecutorsError>`](crate::operation::list_executors::ListExecutorsError)
pub fn list_executors(&self) -> crate::operation::list_executors::builders::ListExecutorsFluentBuilder {
crate::operation::list_executors::builders::ListExecutorsFluentBuilder::new(self.handle.clone())
}
}