Skip to content

StartPipeline

Source: src/AWS/OSIS/StartPipeline.ts

Runtime binding for osis:StartPipeline.

Starts the bound Pipeline after it was stopped — e.g. resuming ingestion on a schedule or in response to an operational signal. Starting takes several minutes; the response reports the transitional STARTING status. The pipeline name is injected from the binding. Provide the implementation with Effect.provide(AWS.OSIS.StartPipelineHttp).

// init — bind the operation to the pipeline
const startPipeline = yield* AWS.OSIS.StartPipeline(pipeline);
// runtime
const { Pipeline } = yield* startPipeline();
// Pipeline?.Status === "STARTING"