aws_sdk_deadline/client/
delete_monitor.rs

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