SearchListings
Source:
src/AWS/DataZone/SearchListings.ts
Runtime binding for datazone:SearchListings.
Searches published listings (the catalog of subscribable assets and data products) in the bound domain. The domain id is injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataZone.SearchListingsHttp).
Searching the Catalog
Section titled “Searching the Catalog”// init — bind the operation to the domainconst searchListings = yield* AWS.DataZone.SearchListings(domain);
// runtimeconst result = yield* searchListings({ searchText: "customer" });const listings = result.items?.map((i) => i.assetListing?.name);