@terascope/opensearch-client / client/method-helpers/helper-utils
client/method-helpers/helper-utils
Functions
ensureNoTypeInMapping()
ensureNoTypeInMapping(
mappings):Record<string,any>
Defined in: opensearch-client/src/client/method-helpers/helper-utils.ts:30
Parameters
| Parameter | Type |
|---|---|
mappings | undefined | Record<string, any> |
Returns
Record<string, any>
ensureTypeInMapping()
ensureTypeInMapping(
body):undefined|IndexTemplateProperties
Defined in: opensearch-client/src/client/method-helpers/helper-utils.ts:46
Parameters
| Parameter | Type |
|---|---|
body | undefined | IndexTemplateProperties |
Returns
undefined | IndexTemplateProperties
validateDistribution()
validateDistribution(
distributionMeta):void
Defined in: opensearch-client/src/client/method-helpers/helper-utils.ts:3
Parameters
| Parameter | Type |
|---|---|
distributionMeta | ClientMetadata |
Returns
void