aws_sdk_cloudwatchlogs/client/
delete_destination.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDestination`](crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`destination_name(impl Into<String>)`](crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder::destination_name) / [`set_destination_name(Option<String>)`](crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder::set_destination_name):<br>required: **true**<br><p>The name of the destination.</p><br>
    /// - On success, responds with [`DeleteDestinationOutput`](crate::operation::delete_destination::DeleteDestinationOutput)
    /// - On failure, responds with [`SdkError<DeleteDestinationError>`](crate::operation::delete_destination::DeleteDestinationError)
    pub fn delete_destination(&self) -> crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder {
        crate::operation::delete_destination::builders::DeleteDestinationFluentBuilder::new(self.handle.clone())
    }
}