GrantFlowEntitlements
Source:
src/AWS/MediaConnect/GrantFlowEntitlements.ts
Runtime binding for mediaconnect:GrantFlowEntitlements.
Grants entitlements on the bound Flow so other AWS accounts can
subscribe to its content — e.g. a self-service affiliate portal that
provisions access for a new subscriber account on demand. Granting more
entitlements than the flow allows fails with the typed
GrantFlowEntitlements420Exception tag. The flow ARN is injected from
the binding. Provide the implementation with
Effect.provide(AWS.MediaConnect.GrantFlowEntitlementsHttp).
Managing Entitlements
Section titled “Managing Entitlements”// init — bind the operation to the flowconst grantEntitlements = yield* AWS.MediaConnect.GrantFlowEntitlements(flow);
// runtimeconst { Entitlements } = yield* grantEntitlements({ Entitlements: [ { Name: "affiliate-west", Subscribers: ["111122223333"] }, ],});