aws_sdk_iotmanagedintegrations/client/
delete_destination.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 [`DeleteDestination`](crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder::set_name):<br>required: **true**<br><p>The id of the customer-managed destination.</p><br>
7    /// - On success, responds with [`DeleteDestinationOutput`](crate::operation::delete_destination::DeleteDestinationOutput)
8    /// - On failure, responds with [`SdkError<DeleteDestinationError>`](crate::operation::delete_destination::DeleteDestinationError)
9    pub fn delete_destination(&self) -> crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder {
10        crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder::new(self.handle.clone())
11    }
12}