Skip to content

CancelSubscription

Source: src/AWS/DataZone/CancelSubscription.ts

Runtime binding for datazone:CancelSubscription.

Cancels a subscription in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.CancelSubscriptionHttp).

// init — bind the operation to the domain
const cancelSubscription = yield* AWS.DataZone.CancelSubscription(domain);
// runtime
yield* cancelSubscription({ identifier: subscriptionId });