aws_sdk_costexplorer/client/update_anomaly_monitor.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateAnomalyMonitor`](crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`monitor_arn(impl Into<String>)`](crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder::monitor_arn) / [`set_monitor_arn(Option<String>)`](crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder::set_monitor_arn):<br>required: **true**<br><p>Cost anomaly monitor Amazon Resource Names (ARNs).</p><br>
/// - [`monitor_name(impl Into<String>)`](crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder::monitor_name) / [`set_monitor_name(Option<String>)`](crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder::set_monitor_name):<br>required: **false**<br><p>The new name for the cost anomaly monitor.</p><br>
/// - On success, responds with [`UpdateAnomalyMonitorOutput`](crate::operation::update_anomaly_monitor::UpdateAnomalyMonitorOutput) with field(s):
/// - [`monitor_arn(String)`](crate::operation::update_anomaly_monitor::UpdateAnomalyMonitorOutput::monitor_arn): <p>A cost anomaly monitor ARN.</p>
/// - On failure, responds with [`SdkError<UpdateAnomalyMonitorError>`](crate::operation::update_anomaly_monitor::UpdateAnomalyMonitorError)
pub fn update_anomaly_monitor(&self) -> crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder {
crate::operation::update_anomaly_monitor::builders::UpdateAnomalyMonitorFluentBuilder::new(self.handle.clone())
}
}