Skip to content

StartFlow

Source: src/AWS/MediaConnect/StartFlow.ts

Runtime binding for mediaconnect:StartFlow.

Starts the bound Flow, transitioning it from STANDBY through STARTING to ACTIVE. An ACTIVE flow ingests and egresses media and bills hourly — pair with StopFlow to control transport cost (e.g. a scheduler Lambda that runs the flow only during broadcast windows). The flow ARN is injected from the binding. Provide the implementation with Effect.provide(AWS.MediaConnect.StartFlowHttp).

// init — bind the operation to the flow
const startFlow = yield* AWS.MediaConnect.StartFlow(flow);
// runtime
const { Status } = yield* startFlow();