configservice_put_retention_configuration: Creates and updates the retention configuration with details...

Description Usage Arguments Value Request syntax

View source: R/configservice_operations.R

Description

Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the RetentionConfiguration object and names the object as default. When you have a RetentionConfiguration object named default, calling the API modifies the default object.

Currently, AWS Config supports only one retention configuration per region in your account.

Usage

1

Arguments

RetentionPeriodInDays

[required] Number of days AWS Config stores your historical information.

Currently, only applicable to the configuration item history.

Value

A list with the following syntax:

1
2
3
4
5
6
list(
  RetentionConfiguration = list(
    Name = "string",
    RetentionPeriodInDays = 123
  )
)

Request syntax

1
2
3
svc$put_retention_configuration(
  RetentionPeriodInDays = 123
)

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