cloudwatchlogs_put_retention_policy: Sets the retention of the specified log group

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

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

1
cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)

Arguments

logGroupName

[required] The name of the log group.

retentionInDays

[required]

Value

An empty list.

Request syntax

1
2
3
4
svc$put_retention_policy(
  logGroupName = "string",
  retentionInDays = 123
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.