aws_sdk_cloudwatchlogs/client/
get_delivery_destination.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDeliveryDestination`](crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the delivery destination that you want to retrieve.</p><br>
    /// - On success, responds with [`GetDeliveryDestinationOutput`](crate::operation::get_delivery_destination::GetDeliveryDestinationOutput) with field(s):
    ///   - [`delivery_destination(Option<DeliveryDestination>)`](crate::operation::get_delivery_destination::GetDeliveryDestinationOutput::delivery_destination): <p>A structure containing information about the delivery destination.</p>
    /// - On failure, responds with [`SdkError<GetDeliveryDestinationError>`](crate::operation::get_delivery_destination::GetDeliveryDestinationError)
    pub fn get_delivery_destination(&self) -> crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder {
        crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder::new(self.handle.clone())
    }
}