aws_sdk_wafregional/client/
put_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 [`PutLoggingConfiguration`](crate::operation::put_logging_configuration::builders::PutLoggingConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`logging_configuration(LoggingConfiguration)`](crate::operation::put_logging_configuration::builders::PutLoggingConfigurationFluentBuilder::logging_configuration) / [`set_logging_configuration(Option<LoggingConfiguration>)`](crate::operation::put_logging_configuration::builders::PutLoggingConfigurationFluentBuilder::set_logging_configuration):<br>required: **true**<br><p>The Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.</p><note>  <p>When specifying <code>Type</code> in <code>RedactedFields</code>, you must use one of the following values: <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>, or <code>METHOD</code>.</p> </note><br>
    /// - On success, responds with [`PutLoggingConfigurationOutput`](crate::operation::put_logging_configuration::PutLoggingConfigurationOutput) with field(s):
    ///   - [`logging_configuration(Option<LoggingConfiguration>)`](crate::operation::put_logging_configuration::PutLoggingConfigurationOutput::logging_configuration): <p>The <code>LoggingConfiguration</code> that you submitted in the request.</p>
    /// - On failure, responds with [`SdkError<PutLoggingConfigurationError>`](crate::operation::put_logging_configuration::PutLoggingConfigurationError)
    pub fn put_logging_configuration(&self) -> crate::operation::put_logging_configuration::builders::PutLoggingConfigurationFluentBuilder {
        crate::operation::put_logging_configuration::builders::PutLoggingConfigurationFluentBuilder::new(self.handle.clone())
    }
}