Skip to content

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).

// init — bind the operation to the domain
const createAssetRevision = yield* AWS.DataZone.CreateAssetRevision(domain);
// runtime
yield* createAssetRevision({ identifier: assetId, name: "daily-orders" });