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).
Monitoring a Pipeline
Section titled “Monitoring a Pipeline”// init — bind the operation to the pipelineconst getChangeProgress = yield* AWS.OSIS.GetPipelineChangeProgress(pipeline);
// runtimeconst { ChangeProgressStatuses } = yield* getChangeProgress();for (const status of ChangeProgressStatuses ?? []) { yield* Effect.log(`${status.Status}: ${status.ChangeProgressStages?.length} stages`);}