CloudWatchLogs / Client / delete_retention_policy

delete_retention_policy#

CloudWatchLogs.Client.delete_retention_policy(**kwargs)#

Deletes the specified retention policy.

Log events do not expire if they belong to log groups without a retention policy.

See also: AWS API Documentation

Request Syntax

response = client.delete_retention_policy(
    logGroupName='string'
)
Parameters:

logGroupName (string) –

[REQUIRED]

The name of the log group.

Returns:

None

Exceptions