// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListEventBuses`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`name_prefix(impl Into<String>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::name_prefix) / [`set_name_prefix(Option<String>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::set_name_prefix):<br>required: **false**<br>Name of an event bus. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn (event-busv2/<name> / <id> ), so every valid name can be represented in the bus's ARN. The same type is used everywhere a bus name appears. </id> </name><br>
/// - [`event_bus_account_id(impl Into<String>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::event_bus_account_id) / [`set_event_bus_account_id(Option<String>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::set_event_bus_account_id):<br>required: **false**<br>AWS Account Id.<br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::set_next_token):<br>required: **false**<br>Opaque pagination token returned by a List operation. Pass it back in the next request to retrieve the next page of results.<br>
/// - [`max_results(i32)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::set_max_results):<br>required: **false**<br>Maximum number of results to return in one page of a List operation.<br>
/// - On success, responds with [`ListEventBusesOutput`](crate::operation::list_event_buses::ListEventBusesOutput) with field(s):
/// - [`event_buses(Option<Vec::<EventBusSummary>>)`](crate::operation::list_event_buses::ListEventBusesOutput::event_buses): List of event bus summaries.
/// - [`next_token(Option<String>)`](crate::operation::list_event_buses::ListEventBusesOutput::next_token): Opaque pagination token returned by a List operation. Pass it back in the next request to retrieve the next page of results.
/// - On failure, responds with [`SdkError<ListEventBusesError>`](crate::operation::list_event_buses::ListEventBusesError)
pub fn list_event_buses(&self) -> crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder {
crate::operation::list_event_buses::builders::ListEventBusesFluentBuilder::new(self.handle.clone())
}
}