GetDataSet
Source:
src/AWS/DataExchange/GetDataSet.ts
Runtime binding for dataexchange:GetDataSet.
Reads the bound data set’s detail — name, description, asset type,
origin (OWNED or ENTITLED), and origin details. The data set id is
injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataExchange.GetDataSetHttp).
Reading Data Sets
Section titled “Reading Data Sets”// init — bind the operation to the data setconst getDataSet = yield* AWS.DataExchange.GetDataSet(dataSet);
// runtimeconst detail = yield* getDataSet();yield* Effect.log(`data set ${detail.Name} (${detail.AssetType})`);