Skip to content

Opensearch dashboards.ilegacyclusterclient

Home > opensearch-dashboards > ILegacyClusterClient

ILegacyClusterClient type

Warning: This API is now obsolete.

Use IClusterClient.

Represents an OpenSearch cluster API client created by the platform. 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 ILegacyClusterClient = Pick<LegacyClusterClient, 'callAsInternalUser' | 'asScoped'>;

References: LegacyClusterClient