Skip to main content

@terascope/opensearch-client / client/method-helpers/get

client/method-helpers/get

Functions

convertGetParams()

convertGetParams(params, distributionMeta): { id: string; index: string; preference?: string; realtime?: boolean; refresh?: boolean; routing?: string; } | { id: string; index: string; preference?: string; realtime?: boolean; refresh?: boolean; routing?: string; type: string; }

Defined in: opensearch-client/src/client/method-helpers/get.ts:3

Parameters

ParameterType
paramsExistsParams
distributionMetaClientMetadata

Returns

{ id: string; index: string; preference?: string; realtime?: boolean; refresh?: boolean; routing?: string; } | { id: string; index: string; preference?: string; realtime?: boolean; refresh?: boolean; routing?: string; type: string; }