Smaws_Client_ConfigService.PutRetentionConfigurationCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `MaxNumberOfRetentionConfigurationsExceededException of
Types.max_number_of_retention_configurations_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_retention_configuration_request ->
(Types.put_retention_configuration_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `MaxNumberOfRetentionConfigurationsExceededException of
Types.max_number_of_retention_configurations_exceeded_exception ])
Stdlib.result