Skills Development OpenSearch API Client Abstractions

OpenSearch API Client Abstractions

v20260424
webiny-api-opensearch-catalog
This module provides multiple standardized abstractions for interacting with the OpenSearch API. It includes dedicated abstractions for clients, factories, and operational contexts, allowing developers to implement robust, scalable, and type-safe interactions with OpenSearch within the webiny ecosystem. Use these patterns to ensure consistent data access regardless of the specific usage pattern.
Get Skill
345 downloads
Overview

api/opensearch

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: createOpenSearchClient Import: import { createOpenSearchClient } from "webiny/api/opensearch" Source: @webiny/api-opensearch/client.ts


Name: OpenSearchClient Import: import { OpenSearchClient } from "webiny/api/opensearch" Source: @webiny/api-opensearch/features/OpenSearchClient/abstraction.ts


Name: OpenSearchClientFactory Import: import { OpenSearchClientFactory } from "webiny/api/opensearch" Source: @webiny/api-opensearch/features/OpenSearchClientFactory/abstraction.ts


Name: OpenSearchContext Import: import { OpenSearchContext } from "webiny/api/opensearch" Source: @webiny/api-opensearch/features/OpenSearchContext/abstraction.ts


Info
Category Development
Name webiny-api-opensearch-catalog
Version v20260424
Size 1.15KB
Updated At 2026-04-28
Language