@Override
    public PutRetentionConfigurationResult putRetentionConfiguration(PutRetentionConfigurationRequest request) {
        request = beforeClientExecution(request);
        return executePutRetentionConfiguration(request);
    }
<p>
Creates and updates the retention configuration with details about retention period (number of days) that Config
stores your historical information. The API creates the <code>RetentionConfiguration</code> object and names the
object as <b>default</b>. When you have a <code>RetentionConfiguration</code> object named <b>default</b>,
calling the API modifies the default object.
</p>
<note>
<p>
Currently, Config supports only one retention configuration per region in your account.
</p>
</note>

@param putRetentionConfigurationRequest
@return Result of the PutRetentionConfiguration operation returned by the service.
@throws InvalidParameterValueException
        One or more of the specified parameters are not valid. Verify that your parameters are valid and try
        again.
@throws MaxNumberOfRetentionConfigurationsExceededException
        Failed to add the retention configuration because a retention configuration with that name already
        exists.
@sample AmazonConfig.PutRetentionConfiguration
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration"
     target="_top">AWS API Documentation</a>
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/AmazonConfigClient.java