Skip to content

StartDiscoverer

Source: src/AWS/Schemas/StartDiscoverer.ts

Runtime binding for schemas:StartDiscoverer.

Resumes schema discovery on the bound Discoverer — e.g. an ops function re-enabling discovery after a paused window. The discoverer id is injected from the binding. Provide the implementation with Effect.provide(AWS.Schemas.StartDiscovererHttp).

// init — bind the operation to the discoverer
const startDiscoverer = yield* AWS.Schemas.StartDiscoverer(discoverer);
// runtime
const { State } = yield* startDiscoverer();
// State === "STARTED"