Skip to content

ListInstalledComponents

Source: src/AWS/GreengrassV2/ListInstalledComponents.ts

Runtime binding for greengrass:ListInstalledComponents.

Enumerates the components actually installed on a core device (name, version, lifecycle state such as RUNNING or BROKEN, and last status report) — the ground truth for “what is this device really running”. The caller supplies the core device thing name at runtime. Provide the implementation with Effect.provide(AWS.GreengrassV2.ListInstalledComponentsHttp).

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