SearchSchemas
Source:
src/AWS/Schemas/SearchSchemas.ts
Runtime binding for schemas:SearchSchemas.
Searches the bound Registry’s schemas by keyword — matching both
schema names and content — so a function can discover event contracts at
runtime. The registry name is injected from the binding. Provide the
implementation with Effect.provide(AWS.Schemas.SearchSchemasHttp).
Searching a Registry
Section titled “Searching a Registry”// init — bind the operation to the registryconst searchSchemas = yield* AWS.Schemas.SearchSchemas(registry);
// runtimeconst { Schemas } = yield* searchSchemas({ Keywords: "order" });const names = (Schemas ?? []).map((s) => s.SchemaName);