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.
If an account-level retention policy applies to this log group, the log group uses the retention period from that policy. For more information about account-level retention policies, see PutAccountPolicy.
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