import type * as grafana from "@distilled.cloud/aws/grafana"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.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)`. * ### Managing Configuration * **Example:** List the Available Grafana Versions * ```typescript * const listVersions = yield* Grafana.ListVersions(); * * const { grafanaVersions } = yield* listVersions(); * // grafanaVersions → ["10.4", "9.4", ...] * ``` * * @binding */ export interface ListVersions extends Binding.Service< ListVersions, "AWS.Grafana.ListVersions", () => Effect.Effect< ( request?: grafana.ListVersionsRequest, ) => Effect.Effect > > {} export const ListVersions = Binding.Service( "AWS.Grafana.ListVersions", );