Skip to content

Opensearch dashboards.opensearchclient

Home > opensearch-dashboards > OpenSearchClient

OpenSearchClient type

Client used to query the opensearch cluster.

Signature:

export declare type OpenSearchClient = Omit<OpenSearchDashboardsClient, 'connectionPool' | 'transport' | 'serializer' | 'extend' | 'child' | 'close'> & {
    transport: {
        request(params: TransportRequestParams, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse>;
    };
};