aws_sdk_wafv2/client/
delete_logging_configuration.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 [`DeleteLoggingConfiguration`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_arn(impl Into<String>)`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the web ACL from which you want to delete the <code>LoggingConfiguration</code>.</p><br>
    ///   - [`log_type(LogType)`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::log_type) / [`set_log_type(Option<LogType>)`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::set_log_type):<br>required: **false**<br><p>Used to distinguish between various logging options. Currently, there is one option.</p> <p>Default: <code>WAF_LOGS</code></p><br>
    ///   - [`log_scope(LogScope)`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::log_scope) / [`set_log_scope(Option<LogScope>)`](crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::set_log_scope):<br>required: **false**<br><p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage.</p> <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Collecting data from Amazon Web Services services</a> in the <i>Amazon Security Lake user guide</i>.</p> <p>Default: <code>CUSTOMER</code></p><br>
    /// - On success, responds with [`DeleteLoggingConfigurationOutput`](crate::operation::delete_logging_configuration::DeleteLoggingConfigurationOutput)
    /// - On failure, responds with [`SdkError<DeleteLoggingConfigurationError>`](crate::operation::delete_logging_configuration::DeleteLoggingConfigurationError)
    pub fn delete_logging_configuration(&self) -> crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder {
        crate::operation::delete_logging_configuration::builders::DeleteLoggingConfigurationFluentBuilder::new(self.handle.clone())
    }
}