CreateAssetRevision
Source:
src/AWS/DataZone/CreateAssetRevision.ts
Runtime binding for datazone:CreateAssetRevision.
Creates a new revision of an existing asset in the bound domain, e.g. after a schema change. The domain id is injected from the binding.
Provide the implementation with
Effect.provide(AWS.DataZone.CreateAssetRevisionHttp).
Publishing Assets
Section titled “Publishing Assets”// init — bind the operation to the domainconst createAssetRevision = yield* AWS.DataZone.CreateAssetRevision(domain);
// runtimeyield* createAssetRevision({ identifier: assetId, name: "daily-orders" });