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).
Observing Flows
Section titled “Observing Flows”// init — bind the operation to the flowconst describeFlow = yield* AWS.MediaConnect.DescribeFlow(flow);
// runtimeconst { Flow: current } = yield* describeFlow();const running = current?.Status === "ACTIVE";