aws_sdk_eventbridge/client/
delete_api_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 [`DeleteApiDestination`](crate::operation::delete_api_destination::builders::DeleteApiDestinationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_api_destination::builders::DeleteApiDestinationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_api_destination::builders::DeleteApiDestinationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the destination to delete.</p><br>
7    /// - On success, responds with [`DeleteApiDestinationOutput`](crate::operation::delete_api_destination::DeleteApiDestinationOutput)
8    /// - On failure, responds with [`SdkError<DeleteApiDestinationError>`](crate::operation::delete_api_destination::DeleteApiDestinationError)
9    pub fn delete_api_destination(&self) -> crate::operation::delete_api_destination::builders::DeleteApiDestinationFluentBuilder {
10        crate::operation::delete_api_destination::builders::DeleteApiDestinationFluentBuilder::new(self.handle.clone())
11    }
12}