code: func (c *ConfigService) PutRetentionConfiguration(input *PutRetentionConfigurationInput) (*PutRetentionConfigurationOutput, error) {
  	req, out := c.PutRetentionConfigurationRequest(input)
  	return out, req.Send()
  }
docs: // PutRetentionConfiguration API operation for AWS Config.
  //
  // 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.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS Config's
  // API operation PutRetentionConfiguration for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
  //   One or more of the specified parameters are invalid. Verify that your parameters
  //   are valid and try again.
  //
  //   * ErrCodeMaxNumberOfRetentionConfigurationsExceededException "MaxNumberOfRetentionConfigurationsExceededException"
  //   Failed to add the retention configuration because a retention configuration
  //   with that name already exists.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration