aws_sdk_cloudfront/client/
get_realtime_log_config.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 [`GetRealtimeLogConfig`](crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder::set_name):<br>required: **false**<br><p>The name of the real-time log configuration to get.</p><br>
7    ///   - [`arn(impl Into<String>)`](crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder::set_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the real-time log configuration to get.</p><br>
8    /// - On success, responds with [`GetRealtimeLogConfigOutput`](crate::operation::get_realtime_log_config::GetRealtimeLogConfigOutput) with field(s):
9    ///   - [`realtime_log_config(Option<RealtimeLogConfig>)`](crate::operation::get_realtime_log_config::GetRealtimeLogConfigOutput::realtime_log_config): <p>A real-time log configuration.</p>
10    /// - On failure, responds with [`SdkError<GetRealtimeLogConfigError>`](crate::operation::get_realtime_log_config::GetRealtimeLogConfigError)
11    pub fn get_realtime_log_config(&self) -> crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder {
12        crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder::new(self.handle.clone())
13    }
14}