Skip to content

ListComponents

Source: src/AWS/GreengrassV2/ListComponents.ts

Runtime binding for greengrass:ListComponents.

Enumerates the account’s component definitions (latest version of each), optionally scoped to PRIVATE or PUBLIC components — the entry point for fleet-software inventory tooling. Provide the implementation with Effect.provide(AWS.GreengrassV2.ListComponentsHttp).

// init — account-level binding, no resource argument
const listComponents = yield* AWS.GreengrassV2.ListComponents();
// runtime
const { components } = yield* listComponents({ scope: "PRIVATE" });