Skip to content

ListSubscriptions

Source: src/AWS/DataZone/ListSubscriptions.ts

Runtime binding for datazone:ListSubscriptions.

Lists subscriptions in the bound domain, optionally by status. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.ListSubscriptionsHttp).

// init — bind the operation to the domain
const listSubscriptions = yield* AWS.DataZone.ListSubscriptions(domain);
// runtime
const subs = yield* listSubscriptions({ status: "APPROVED" });