aws_sdk_cloudwatchlogs/client/get_delivery_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 [`GetDeliveryDestination`](crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetDeliveryDestinationOutput`](crate::operation::get_delivery_destination::GetDeliveryDestinationOutput) with field(s):
8 /// - [`delivery_destination(Option<DeliveryDestination>)`](crate::operation::get_delivery_destination::GetDeliveryDestinationOutput::delivery_destination): <p>A structure containing information about the delivery destination.</p>
9 /// - On failure, responds with [`SdkError<GetDeliveryDestinationError>`](crate::operation::get_delivery_destination::GetDeliveryDestinationError)
10 pub fn get_delivery_destination(&self) -> crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder {
11 crate::operation::get_delivery_destination::builders::GetDeliveryDestinationFluentBuilder::new(self.handle.clone())
12 }
13}