Skip to content

StopPipeline

Source: src/AWS/OSIS/StopPipeline.ts

Runtime binding for osis:StopPipeline.

Stops the bound Pipeline — ingestion halts and OCU billing stops (persistent-buffer storage is retained) — e.g. pausing a non-production pipeline outside working hours. The pipeline name is injected from the binding. Provide the implementation with Effect.provide(AWS.OSIS.StopPipelineHttp).

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