aws_sdk_iot/client/delete_custom_metric.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 [`DeleteCustomMetric`](crate::operation::delete_custom_metric::builders::DeleteCustomMetricFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`metric_name(impl Into<String>)`](crate::operation::delete_custom_metric::builders::DeleteCustomMetricFluentBuilder::metric_name) / [`set_metric_name(Option<String>)`](crate::operation::delete_custom_metric::builders::DeleteCustomMetricFluentBuilder::set_metric_name):<br>required: **true**<br><p>The name of the custom metric.</p><br>
7 /// - On success, responds with [`DeleteCustomMetricOutput`](crate::operation::delete_custom_metric::DeleteCustomMetricOutput)
8 /// - On failure, responds with [`SdkError<DeleteCustomMetricError>`](crate::operation::delete_custom_metric::DeleteCustomMetricError)
9 pub fn delete_custom_metric(&self) -> crate::operation::delete_custom_metric::builders::DeleteCustomMetricFluentBuilder {
10 crate::operation::delete_custom_metric::builders::DeleteCustomMetricFluentBuilder::new(self.handle.clone())
11 }
12}