Skip to content

DescribeFlow

Source: src/AWS/MediaConnect/DescribeFlow.ts

Runtime binding for mediaconnect:DescribeFlow.

Reads the bound Flow’s live state — status (STANDBY/ACTIVE), source, outputs, and entitlements — e.g. for an operations dashboard or a scheduler that only starts a flow that is not already running. The flow ARN is injected from the binding. Provide the implementation with Effect.provide(AWS.MediaConnect.DescribeFlowHttp).

// init — bind the operation to the flow
const describeFlow = yield* AWS.MediaConnect.DescribeFlow(flow);
// runtime
const { Flow: current } = yield* describeFlow();
const running = current?.Status === "ACTIVE";