GetAsset
Source:
src/AWS/DataExchange/GetAsset.ts
Runtime binding for dataexchange:GetAsset.
Reads one asset of the bound revision — name, type-specific details
(S3 snapshot size, API Gateway endpoint, …), and timestamps. The data
set and revision ids are injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataExchange.GetAssetHttp).
Reading Revisions & Assets
Section titled “Reading Revisions & Assets”const getAsset = yield* AWS.DataExchange.GetAsset(revision);
// runtimeconst asset = yield* getAsset({ AssetId: assetId });yield* Effect.log(`asset ${asset.Name}`);