Skip to content

RevokeRevision

Source: src/AWS/DataExchange/RevokeRevision.ts

Runtime binding for dataexchange:RevokeRevision.

Revokes the bound revision from subscribers with a required revocation comment — the remediation path when bad or sensitive data was published. The data set and revision ids are injected from the binding. Provide the implementation with Effect.provide(AWS.DataExchange.RevokeRevisionHttp).

const revokeRevision = yield* AWS.DataExchange.RevokeRevision(revision);
// runtime
yield* revokeRevision({
RevocationComment: "Published with corrupted price data",
});