Skip to content

DeleteAsset

Source: src/AWS/DataExchange/DeleteAsset.ts

Runtime binding for dataexchange:DeleteAsset.

Deletes an asset from the bound (not-yet-finalized) revision. The data set and revision ids are injected from the binding. Provide the implementation with Effect.provide(AWS.DataExchange.DeleteAssetHttp).

const deleteAsset = yield* AWS.DataExchange.DeleteAsset(revision);
// runtime
yield* deleteAsset({ AssetId: assetId });