Skip to content

UpdateAsset

Source: src/AWS/DataExchange/UpdateAsset.ts

Runtime binding for dataexchange:UpdateAsset.

Renames an asset of the bound revision (the asset name is the S3 key used when subscribers export it). The data set and revision ids are injected from the binding. Provide the implementation with Effect.provide(AWS.DataExchange.UpdateAssetHttp).

const updateAsset = yield* AWS.DataExchange.UpdateAsset(revision);
// runtime
yield* updateAsset({ AssetId: assetId, Name: "prices/2026-07-14.csv" });