import type * as eks from "@distilled.cloud/aws/eks"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Cluster } from "./Cluster.ts"; /** * Runtime binding for `eks:DescribeInsightsRefresh`. * * Reads the status of the bound cluster's insights refresh — whether an on-demand refresh (kicked off via {@link StartInsightsRefresh}) is in progress, completed, or failed. * The cluster `clusterName` is injected from the bound {@link Cluster} and `eks:DescribeInsightsRefresh` is granted on the cluster's ARN. * Provide the implementation with * `Effect.provide(AWS.EKS.DescribeInsightsRefreshHttp)`. * ### Cluster Insights * **Example:** Check an Insights Refresh's Status * ```typescript * // init * const describeInsightsRefresh = yield* AWS.EKS.DescribeInsightsRefresh(cluster); * * // runtime * const { status } = yield* describeInsightsRefresh(); * ``` * * @binding */ export interface DescribeInsightsRefresh extends Binding.Service Effect.Effect<(request?: Omit) => Effect.Effect>> { } export declare const DescribeInsightsRefresh: DescribeInsightsRefresh; //# sourceMappingURL=DescribeInsightsRefresh.d.ts.map