Skip to content

Opensearch dashboards.ilegacycustomclusterclient

Home > opensearch-dashboards > ILegacyCustomClusterClient

ILegacyCustomClusterClient type

Warning: This API is now obsolete.

Use ICustomClusterClient.

Represents an OpenSearch cluster API client created by a plugin. It allows to call API on behalf of the internal OpenSearch Dashboards user and the actual user that is derived from the request headers (via asScoped(...)).

See LegacyClusterClient.

Signature:

export declare type ILegacyCustomClusterClient = Pick<LegacyClusterClient, 'callAsInternalUser' | 'close' | 'asScoped'>;

References: LegacyClusterClient