WAFV2 / Client / delete_logging_configuration
delete_logging_configuration#
- WAFV2.Client.delete_logging_configuration(**kwargs)#
Deletes the LoggingConfiguration from the specified web ACL.
See also: AWS API Documentation
Request Syntax
response = client.delete_logging_configuration( ResourceArn='string', LogType='WAF_LOGS', LogScope='CUSTOMER'|'SECURITY_LAKE' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the web ACL from which you want to delete the LoggingConfiguration.
LogType (string) –
Used to distinguish between various logging options. Currently, there is one option.
Default:
WAF_LOGSLogScope (string) –
The owner of the logging configuration, which must be set to
CUSTOMERfor the configurations that you manage.The log scope
SECURITY_LAKEindicates 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 in the Amazon Security Lake user guide.Default:
CUSTOMER
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
WAFV2.Client.exceptions.WAFInternalErrorExceptionWAFV2.Client.exceptions.WAFNonexistentItemExceptionWAFV2.Client.exceptions.WAFOptimisticLockExceptionWAFV2.Client.exceptions.WAFInvalidParameterExceptionWAFV2.Client.exceptions.WAFInvalidOperationException