:doc:`WAFV2 <../../wafv2>` / Client / delete_logging_configuration

****************************
delete_logging_configuration
****************************



.. py:method:: WAFV2.Client.delete_logging_configuration(**kwargs)

  

  Deletes the  LoggingConfiguration from the specified web ACL.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteLoggingConfiguration>`_  


  **Request Syntax**
  ::

    response = client.delete_logging_configuration(
        ResourceArn='string',
        LogType='WAF_LOGS',
        LogScope='CUSTOMER'|'SECURITY_LAKE'|'CLOUDWATCH_TELEMETRY_RULE_MANAGED'
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the web ACL from which you want to delete the  LoggingConfiguration.

    

  
  :type LogType: string
  :param LogType: 

    Used to distinguish between various logging options. Currently, there is one option.

     

    Default: ``WAF_LOGS``

    

  
  :type LogScope: string
  :param LogScope: 

    The owner of the logging configuration, which must be set to ``CUSTOMER`` for the configurations that you manage.

     

    The log scope ``SECURITY_LAKE`` 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 `Collecting data from Amazon Web Services services <https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html>`__ in the *Amazon Security Lake user guide*.

     

    The log scope ``CLOUDWATCH_TELEMETRY_RULE_MANAGED`` indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see `What is Amazon CloudWatch Logs ? <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html>`__ in the *Amazon CloudWatch Logs user guide*.

     

    Default: ``CUSTOMER``

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WAFV2.Client.exceptions.WAFInternalErrorException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFNonexistentItemException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFOptimisticLockException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFInvalidParameterException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFInvalidOperationException`

  