// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListPromptRouters`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of prompt routers to return in one page of results.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::set_next_token):<br>required: **false**<br><p>Specify the pagination token from a previous request to retrieve the next page of results.</p><br>
/// - [`r#type(PromptRouterType)`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::type) / [`set_type(Option<PromptRouterType>)`](crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::set_type):<br>required: **false**<br><p>The type of the prompt routers, such as whether it's default or custom.</p><br>
/// - On success, responds with [`ListPromptRoutersOutput`](crate::operation::list_prompt_routers::ListPromptRoutersOutput) with field(s):
/// - [`prompt_router_summaries(Option<Vec::<PromptRouterSummary>>)`](crate::operation::list_prompt_routers::ListPromptRoutersOutput::prompt_router_summaries): <p>A list of prompt router summaries.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_prompt_routers::ListPromptRoutersOutput::next_token): <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
/// - On failure, responds with [`SdkError<ListPromptRoutersError>`](crate::operation::list_prompt_routers::ListPromptRoutersError)
pub fn list_prompt_routers(&self) -> crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder {
crate::operation::list_prompt_routers::builders::ListPromptRoutersFluentBuilder::new(self.handle.clone())
}
}