Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_retention_policy/ for full documentation.
cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)
[required] The name of the log group.
[required]