GetAsset
Source:
src/AWS/DataZone/GetAsset.ts
Runtime binding for datazone:GetAsset.
Reads an asset in the bound domain — its forms, glossary terms, and latest revision. The domain id is injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataZone.GetAssetHttp).
Searching the Catalog
Section titled “Searching the Catalog”// init — bind the operation to the domainconst getAsset = yield* AWS.DataZone.GetAsset(domain);
// runtimeconst asset = yield* getAsset({ identifier: assetId });