Search
Source:
src/AWS/DataZone/Search.ts
Runtime binding for datazone:Search.
Searches the bound domain’s inventory — assets, glossaries, and data products visible to the calling project. The domain id is injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataZone.SearchHttp).
Searching the Catalog
Section titled “Searching the Catalog”// init — bind the operation to the domainconst search = yield* AWS.DataZone.Search(domain);
// runtimeconst result = yield* search({ searchScope: "ASSET", searchText: "orders" });const names = result.items?.map((i) => i.assetItem?.name);