Skip to content

ListSubscriptionRequests

Source: src/AWS/DataZone/ListSubscriptionRequests.ts

Runtime binding for datazone:ListSubscriptionRequests.

Lists subscription requests in the bound domain, optionally by status — e.g. the PENDING queue an approval bot works through. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.ListSubscriptionRequestsHttp).

// init — bind the operation to the domain
const listSubscriptionRequests = yield* AWS.DataZone.ListSubscriptionRequests(domain);
// runtime
const pending = yield* listSubscriptionRequests({ status: "PENDING" });