aws_sdk_costexplorer/client/get_anomaly_monitors.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAnomalyMonitors`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`monitor_arn_list(impl Into<String>)`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::monitor_arn_list) / [`set_monitor_arn_list(Option<Vec::<String>>)`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::set_monitor_arn_list):<br>required: **false**<br><p>A list of cost anomaly monitor ARNs.</p><br>
/// - [`next_page_token(impl Into<String>)`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::next_page_token) / [`set_next_page_token(Option<String>)`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::set_next_page_token):<br>required: **false**<br><p>The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.</p><br>
/// - [`max_results(i32)`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of entries that a paginated response contains.</p><br>
/// - On success, responds with [`GetAnomalyMonitorsOutput`](crate::operation::get_anomaly_monitors::GetAnomalyMonitorsOutput) with field(s):
/// - [`anomaly_monitors(Vec::<AnomalyMonitor>)`](crate::operation::get_anomaly_monitors::GetAnomalyMonitorsOutput::anomaly_monitors): <p>A list of cost anomaly monitors that includes the detailed metadata for each monitor.</p>
/// - [`next_page_token(Option<String>)`](crate::operation::get_anomaly_monitors::GetAnomalyMonitorsOutput::next_page_token): <p>The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.</p>
/// - On failure, responds with [`SdkError<GetAnomalyMonitorsError>`](crate::operation::get_anomaly_monitors::GetAnomalyMonitorsError)
pub fn get_anomaly_monitors(&self) -> crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder {
crate::operation::get_anomaly_monitors::builders::GetAnomalyMonitorsFluentBuilder::new(self.handle.clone())
}
}