code: func (p *AuroraAdminClient) PruneTasks(ctx context.Context, query *TaskQuery) (r *Response, err error) {
    var _args350 AuroraAdminPruneTasksArgs
    _args350.Query = query
    var _result351 AuroraAdminPruneTasksResult
    if err = p.Client_().Call(ctx, "pruneTasks", &_args350, &_result351); err != nil {
      return
    }
    return _result351.GetSuccess(), nil
  }
docs: // Force prune any (terminal) tasks that match the query. If no statuses are supplied with the
  // query, it will default to all terminal task states. If statuses are supplied, they must be
  // terminal states.
  // 
  // Parameters:
  //  - Query