code: func (c *ConfigService) PutConfigurationRecorder(input *PutConfigurationRecorderInput) (*PutConfigurationRecorderOutput, error) {
  	req, out := c.PutConfigurationRecorderRequest(input)
  	return out, req.Send()
  }
docs: // PutConfigurationRecorder API operation for AWS Config.
  //
  // Creates a new configuration recorder to record the selected resource configurations.
  //
  // You can use this action to change the role roleARN or the recordingGroup
  // of an existing recorder. To change the role, call the action on the existing
  // configuration recorder and specify a role.
  //
  // Currently, you can specify only one configuration recorder per region in
  // your account.
  //
  // If ConfigurationRecorder does not have the recordingGroup parameter specified,
  // the default is to record all supported resource types.
  //
  // 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 PutConfigurationRecorder for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeMaxNumberOfConfigurationRecordersExceededException "MaxNumberOfConfigurationRecordersExceededException"
  //   You have reached the limit of the number of recorders you can create.
  //
  //   * ErrCodeInvalidConfigurationRecorderNameException "InvalidConfigurationRecorderNameException"
  //   You have provided a configuration recorder name that is not valid.
  //
  //   * ErrCodeInvalidRoleException "InvalidRoleException"
  //   You have provided a null or empty role ARN.
  //
  //   * ErrCodeInvalidRecordingGroupException "InvalidRecordingGroupException"
  //   AWS Config throws an exception if the recording group does not contain a
  //   valid list of resource types. Invalid values might also be incorrectly formatted.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder