Skip to content

Delete Retention Policy

cloudwatchlogs_delete_retention_policy R Documentation

Deletes the specified retention policy

Description

Deletes the specified retention policy.

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

Usage

cloudwatchlogs_delete_retention_policy(logGroupName)

Arguments

logGroupName

[required] The name of the log group.

Value

An empty list.

Request syntax

svc$delete_retention_policy(
  logGroupName = "string"
)