// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListMonitors`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. You receive this token from a previous call.</p><br>
/// - [`max_results(i32)`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of monitor objects that you want to return with this call.</p><br>
/// - [`monitor_status(impl Into<String>)`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::monitor_status) / [`set_monitor_status(Option<String>)`](crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::set_monitor_status):<br>required: **false**<br><p>The status of a monitor. This includes the status of the data processing for the monitor and the status of the monitor itself.</p> <p>For information about the statuses for a monitor, see <a href="https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html"> Monitor</a>.</p><br>
/// - On success, responds with [`ListMonitorsOutput`](crate::operation::list_monitors::ListMonitorsOutput) with field(s):
/// - [`monitors(Vec::<Monitor>)`](crate::operation::list_monitors::ListMonitorsOutput::monitors): <p>A list of monitors.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_monitors::ListMonitorsOutput::next_token): <p>The token for the next set of results. You receive this token from a previous call.</p>
/// - On failure, responds with [`SdkError<ListMonitorsError>`](crate::operation::list_monitors::ListMonitorsError)
pub fn list_monitors(&self) -> crate::operation::list_monitors::builders::ListMonitorsFluentBuilder {
crate::operation::list_monitors::builders::ListMonitorsFluentBuilder::new(self.handle.clone())
}
}