Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_data_protection_policy

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'
)
Parameters
logGroupIdentifier (string) --

[REQUIRED]

The name or ARN of the log group that you want to delete the data protection policy for.

Returns
None

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException
  • CloudWatchLogs.Client.exceptions.OperationAbortedException
  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException
  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException