Skip to content

ListEntitlements

Source: src/AWS/MediaConnect/ListEntitlements.ts

Runtime binding for mediaconnect:ListEntitlements.

Enumerates the entitlements that have been granted TO this account (the subscriber side of content sharing) — e.g. to discover new entitlement ARNs a distributor has shared so a flow source can be provisioned from them. One page per call — pass NextToken from the previous response to continue. Account-level: the deploy-time grant is mediaconnect:ListEntitlements on *. Provide the implementation with Effect.provide(AWS.MediaConnect.ListEntitlementsHttp).

// init — bind the account-level operation
const listEntitlements = yield* AWS.MediaConnect.ListEntitlements();
// runtime
const { Entitlements } = yield* listEntitlements();