aws_sdk_cloudwatchlogs/client/
get_delivery_source.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 [`GetDeliverySource`](crate::operation::get_delivery_source::builders::GetDeliverySourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_delivery_source::builders::GetDeliverySourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_delivery_source::builders::GetDeliverySourceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the delivery source that you want to retrieve.</p><br>
7    /// - On success, responds with [`GetDeliverySourceOutput`](crate::operation::get_delivery_source::GetDeliverySourceOutput) with field(s):
8    ///   - [`delivery_source(Option<DeliverySource>)`](crate::operation::get_delivery_source::GetDeliverySourceOutput::delivery_source): <p>A structure containing information about the delivery source.</p>
9    /// - On failure, responds with [`SdkError<GetDeliverySourceError>`](crate::operation::get_delivery_source::GetDeliverySourceError)
10    pub fn get_delivery_source(&self) -> crate::operation::get_delivery_source::builders::GetDeliverySourceFluentBuilder {
11        crate::operation::get_delivery_source::builders::GetDeliverySourceFluentBuilder::new(self.handle.clone())
12    }
13}