Skip to content

ListVersions

Source: src/AWS/Grafana/ListVersions.ts

Runtime binding for the ListVersions operation (IAM action grafana:ListVersions).

Lists the Grafana versions available when creating a workspace, or — with a workspaceId — the versions an existing workspace can be upgraded to. Provide the implementation with Effect.provide(AWS.Grafana.ListVersionsHttp).

const listVersions = yield* Grafana.ListVersions();
const { grafanaVersions } = yield* listVersions();
// grafanaVersions → ["10.4", "9.4", ...]