// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListStateMachines`](crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p> <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder::set_next_token):<br>required: **false**<br><p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p><br>
/// - On success, responds with [`ListStateMachinesOutput`](crate::operation::list_state_machines::ListStateMachinesOutput) with field(s):
/// - [`state_machines(Vec::<StateMachineListItem>)`](crate::operation::list_state_machines::ListStateMachinesOutput::state_machines): (undocumented)
/// - [`next_token(Option<String>)`](crate::operation::list_state_machines::ListStateMachinesOutput::next_token): <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
/// - On failure, responds with [`SdkError<ListStateMachinesError>`](crate::operation::list_state_machines::ListStateMachinesError)
pub fn list_state_machines(&self) -> crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder {
crate::operation::list_state_machines::builders::ListStateMachinesFluentBuilder::new(self.handle.clone())
}
}