Skip to content

RejectSubscriptionRequest

Source: src/AWS/DataZone/RejectSubscriptionRequest.ts

Runtime binding for datazone:RejectSubscriptionRequest.

Rejects a pending subscription request in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.RejectSubscriptionRequestHttp).

// init — bind the operation to the domain
const rejectSubscriptionRequest = yield* AWS.DataZone.RejectSubscriptionRequest(domain);
// runtime
yield* rejectSubscriptionRequest({ identifier: requestId, decisionComment: "PII policy" });