deleteInput(serviceName, input) {
    return this.InputsApiLexiService.delete({ serviceName, inputId: input.info.inputId })
      .$promise
      .then((operation) => {
        this.resetAllCache();
        return this.LogsHelperService.handleOperation(serviceName, operation.data || operation, 'logs_inputs_delete_success', { inputTitle: input.info.title });
      })
      .catch(err => this.LogsHelperService.handleError('logs_inputs_delete_error', err, { inputTitle: input.info.title }));
  }
/**
   * delete input
   *
   * @param {any} serviceName
   * @param {any} input, input object to be deleted
   * @returns promise which will resolve with the operation object
   * @memberof LogsInputsService
   */
delete input
@param {any} serviceName
@param {any} input, input object to be deleted
@returns promise which will resolve with the operation object
@memberof LogsInputsService
delete input @param { any } serviceName @param { any } input input object to be deleted @returns promise which will resolve with the operation object @memberof LogsInputsService
deleteInput(serviceName, input) {
    return this.InputsApiLexiService.delete({ serviceName, inputId: input.info.inputId })
      .$promise
      .then((operation) => {
        this.resetAllCache();
        return this.LogsHelperService.handleOperation(serviceName, operation.data || operation, 'logs_inputs_delete_success', { inputTitle: input.info.title });
      })
      .catch(err => this.LogsHelperService.handleError('logs_inputs_delete_error', err, { inputTitle: input.info.title }));
  }
deleteInput ( serviceName , input ) { return this . InputsApiLexiService . delete ( { serviceName , inputId : input . info . inputId } ) . $promise . then ( ( operation ) => { this . resetAllCache ( ) ; return this . LogsHelperService . handleOperation ( serviceName , operation . data || operation , 'logs_inputs_delete_success' , { inputTitle : input . info . title } ) ; } ) . catch ( err => this . LogsHelperService . handleError ( 'logs_inputs_delete_error' , err , { inputTitle : input . info . title } ) ) ; }
delete input
 @param {any} serviceName
 @param {any} input, input object to be deleted
 @returns promise which will resolve with the operation object
 @memberof LogsInputsService
delete input @param { any } serviceName @param { any } input input object to be deleted @returns promise which will resolve with the operation object @memberof LogsInputsService