aws_sdk_iot/client/delete_fleet_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 [`DeleteFleetMetric`](crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`metric_name(impl Into<String>)`](crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder::metric_name) / [`set_metric_name(Option<String>)`](crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder::set_metric_name):<br>required: **true**<br><p>The name of the fleet metric to delete.</p><br>
7 /// - [`expected_version(i64)`](crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder::expected_version) / [`set_expected_version(Option<i64>)`](crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder::set_expected_version):<br>required: **false**<br><p>The expected version of the fleet metric to delete.</p><br>
8 /// - On success, responds with [`DeleteFleetMetricOutput`](crate::operation::delete_fleet_metric::DeleteFleetMetricOutput)
9 /// - On failure, responds with [`SdkError<DeleteFleetMetricError>`](crate::operation::delete_fleet_metric::DeleteFleetMetricError)
10 pub fn delete_fleet_metric(&self) -> crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder {
11 crate::operation::delete_fleet_metric::builders::DeleteFleetMetricFluentBuilder::new(self.handle.clone())
12 }
13}