Skip to content

SearchTypes

Source: src/AWS/DataZone/SearchTypes.ts

Runtime binding for datazone:SearchTypes.

Searches asset types and form types registered in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.SearchTypesHttp).

// init — bind the operation to the domain
const searchTypes = yield* AWS.DataZone.SearchTypes(domain);
// runtime
const result = yield* searchTypes({ searchScope: "ASSET_TYPE", managed: true });