aws_sdk_cloudfront/client/
get_realtime_log_config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRealtimeLogConfig`](crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetRealtimeLogConfigOutput`](crate::operation::get_realtime_log_config::GetRealtimeLogConfigOutput) with field(s):
    ///   - [`realtime_log_config(Option<RealtimeLogConfig>)`](crate::operation::get_realtime_log_config::GetRealtimeLogConfigOutput::realtime_log_config): <p>A real-time log configuration.</p>
    /// - On failure, responds with [`SdkError<GetRealtimeLogConfigError>`](crate::operation::get_realtime_log_config::GetRealtimeLogConfigError)
    pub fn get_realtime_log_config(&self) -> crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder {
        crate::operation::get_realtime_log_config::builders::GetRealtimeLogConfigFluentBuilder::new(self.handle.clone())
    }
}