aws_sdk_networkmonitor/client/delete_monitor.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteMonitor`](crate::operation::delete_monitor::builders::DeleteMonitorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`monitor_name(impl Into<String>)`](crate::operation::delete_monitor::builders::DeleteMonitorFluentBuilder::monitor_name) / [`set_monitor_name(Option<String>)`](crate::operation::delete_monitor::builders::DeleteMonitorFluentBuilder::set_monitor_name):<br>required: **true**<br><p>The name of the monitor to delete.</p><br>
7 /// - On success, responds with [`DeleteMonitorOutput`](crate::operation::delete_monitor::DeleteMonitorOutput)
8 /// - On failure, responds with [`SdkError<DeleteMonitorError>`](crate::operation::delete_monitor::DeleteMonitorError)
9 pub fn delete_monitor(&self) -> crate::operation::delete_monitor::builders::DeleteMonitorFluentBuilder {
10 crate::operation::delete_monitor::builders::DeleteMonitorFluentBuilder::new(self.handle.clone())
11 }
12}