Skip to content

GetPipelineChangeProgress

Source: src/AWS/OSIS/GetPipelineChangeProgress.ts

Runtime binding for osis:GetPipelineChangeProgress.

Reads progress information for the current change happening on the bound Pipeline (stage-by-stage status while the pipeline is being created) — useful for surfacing provisioning progress in an operational dashboard. The pipeline name is injected from the binding. Provide the implementation with Effect.provide(AWS.OSIS.GetPipelineChangeProgressHttp).

// init — bind the operation to the pipeline
const getChangeProgress = yield* AWS.OSIS.GetPipelineChangeProgress(pipeline);
// runtime
const { ChangeProgressStatuses } = yield* getChangeProgress();
for (const status of ChangeProgressStatuses ?? []) {
yield* Effect.log(`${status.Status}: ${status.ChangeProgressStages?.length} stages`);
}