aws_sdk_networkmonitor/client/
delete_probe.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 [`DeleteProbe`](crate::operation::delete_probe::builders::DeleteProbeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`monitor_name(impl Into<String>)`](crate::operation::delete_probe::builders::DeleteProbeFluentBuilder::monitor_name) / [`set_monitor_name(Option<String>)`](crate::operation::delete_probe::builders::DeleteProbeFluentBuilder::set_monitor_name):<br>required: **true**<br><p>The name of the monitor to delete.</p><br>
7    ///   - [`probe_id(impl Into<String>)`](crate::operation::delete_probe::builders::DeleteProbeFluentBuilder::probe_id) / [`set_probe_id(Option<String>)`](crate::operation::delete_probe::builders::DeleteProbeFluentBuilder::set_probe_id):<br>required: **true**<br><p>The ID of the probe to delete.</p><br>
8    /// - On success, responds with [`DeleteProbeOutput`](crate::operation::delete_probe::DeleteProbeOutput)
9    /// - On failure, responds with [`SdkError<DeleteProbeError>`](crate::operation::delete_probe::DeleteProbeError)
10    pub fn delete_probe(&self) -> crate::operation::delete_probe::builders::DeleteProbeFluentBuilder {
11        crate::operation::delete_probe::builders::DeleteProbeFluentBuilder::new(self.handle.clone())
12    }
13}