cloudwatchlogs_put_retention_policy: Sets the retention of the specified log group
Description
Sets the retention of the specified log group. A retention policy allows
you to configure the number of days for which to retain log events in
the specified log group.
Usage
cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)
Arguments
logGroupName
[required] The name of the log group.
Request syntax
svc$put_retention_policy(
logGroupName = "string",
retentionInDays = 123
)