Smaws_Client_ConfigService.PutRetentionConfiguration
val request :
Smaws_Lib.Context.t ->
put_retention_configuration_request ->
(put_retention_configuration_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterValueException of invalid_parameter_value_exception
| `MaxNumberOfRetentionConfigurationsExceededException of
max_number_of_retention_configurations_exceeded_exception ])
Stdlib.result
Creates and updates the retention configuration with details about retention period (number of days) that 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, Config supports only one retention configuration per region in your account.