CloudWatchLogs.Client.
delete_data_protection_policy
(**kwargs)¶Deletes the data protection policy from the specified log group.
For more information about data protection policies, see PutDataProtectionPolicy.
See also: AWS API Documentation
Request Syntax
response = client.delete_data_protection_policy(
logGroupIdentifier='string'
)
[REQUIRED]
The name or ARN of the log group that you want to delete the data protection policy for.
Exceptions
CloudWatchLogs.Client.exceptions.InvalidParameterException
CloudWatchLogs.Client.exceptions.OperationAbortedException
CloudWatchLogs.Client.exceptions.ResourceNotFoundException
CloudWatchLogs.Client.exceptions.ServiceUnavailableException