aws_sdk_waf/client/
get_logging_configuration.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 [`GetLoggingConfiguration`](crate::operation::get_logging_configuration::builders::GetLoggingConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_arn(impl Into<String>)`](crate::operation::get_logging_configuration::builders::GetLoggingConfigurationFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::get_logging_configuration::builders::GetLoggingConfigurationFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the web ACL for which you want to get the <code>LoggingConfiguration</code>.</p><br>
    /// - On success, responds with [`GetLoggingConfigurationOutput`](crate::operation::get_logging_configuration::GetLoggingConfigurationOutput) with field(s):
    ///   - [`logging_configuration(Option<LoggingConfiguration>)`](crate::operation::get_logging_configuration::GetLoggingConfigurationOutput::logging_configuration): <p>The <code>LoggingConfiguration</code> for the specified web ACL.</p>
    /// - On failure, responds with [`SdkError<GetLoggingConfigurationError>`](crate::operation::get_logging_configuration::GetLoggingConfigurationError)
    pub fn get_logging_configuration(&self) -> crate::operation::get_logging_configuration::builders::GetLoggingConfigurationFluentBuilder {
        crate::operation::get_logging_configuration::builders::GetLoggingConfigurationFluentBuilder::new(self.handle.clone())
    }
}