Skip to content

StartPipe

Source: src/AWS/Pipes/StartPipe.ts

Runtime binding for pipes:StartPipe.

Starts the bound Pipe after it was stopped — e.g. resuming source polling on a schedule or in response to an operational signal. The response reports the transitional STARTING/desired RUNNING states; use DescribePipe to observe when the pipe settles. The pipe name is injected from the binding. Provide the implementation with Effect.provide(AWS.Pipes.StartPipeHttp).

// init — bind the operation to the pipe
const startPipe = yield* AWS.Pipes.StartPipe(pipe);
// runtime
const response = yield* startPipe();
// response.DesiredState === "RUNNING"