Skip to content

ListDeployments

Source: src/AWS/GreengrassV2/ListDeployments.ts

Runtime binding for greengrass:ListDeployments.

Enumerates the account’s deployments, optionally filtered to one target thing/thing group or to the latest revision per target — a fleet-wide view of what is rolling out where. Provide the implementation with Effect.provide(AWS.GreengrassV2.ListDeploymentsHttp).

// init — account-level binding, no resource argument
const listDeployments = yield* AWS.GreengrassV2.ListDeployments();
// runtime
const { deployments } = yield* listDeployments({
historyFilter: "LATEST_ONLY",
});