Skip to content

ListEffectiveDeployments

Source: src/AWS/GreengrassV2/ListEffectiveDeployments.ts

Runtime binding for greengrass:ListEffectiveDeployments.

Enumerates the deployments that apply to a core device, with each one’s per-device execution status (SUCCEEDED, FAILED, IN_PROGRESS, …) — how a rollout monitor tracks a deployment landing on real hardware. The caller supplies the core device thing name at runtime. Provide the implementation with Effect.provide(AWS.GreengrassV2.ListEffectiveDeploymentsHttp).

// init — account-level binding, no resource argument
const listEffectiveDeployments = yield* AWS.GreengrassV2.ListEffectiveDeployments();
// runtime
const { effectiveDeployments } = yield* listEffectiveDeployments({
coreDeviceThingName: "MyCore",
});