code: func (c *ConfigService) DeleteDeliveryChannel(input *DeleteDeliveryChannelInput) (*DeleteDeliveryChannelOutput, error) {
  	req, out := c.DeleteDeliveryChannelRequest(input)
  	return out, req.Send()
  }
docs: // DeleteDeliveryChannel API operation for AWS Config.
  //
  // Deletes the delivery channel.
  //
  // Before you can delete the delivery channel, you must stop the configuration
  // recorder by using the StopConfigurationRecorder action.
  //
  // 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 DeleteDeliveryChannel for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException"
  //   You have specified a delivery channel that does not exist.
  //
  //   * ErrCodeLastDeliveryChannelDeleteFailedException "LastDeliveryChannelDeleteFailedException"
  //   You cannot delete the delivery channel you specified because the configuration
  //   recorder is running.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel