import type * as eks from "@distilled.cloud/aws/eks";
import * as Binding from "alchemy/Binding";
import type * as Effect from "effect/Effect";
/**
* Runtime binding for `eks:ListClusters`.
*
* Enumerates the EKS cluster names in the caller's account and region.
* `eks:ListClusters` is granted on `*` — the operation is account-scoped and takes no resource.
* Provide the implementation with
* `Effect.provide(AWS.EKS.ListClustersHttp)`.
* ### Discovering Clusters
* **Example:** List All Clusters
* ```typescript
* // init
* const listClusters = yield* AWS.EKS.ListClusters();
*
* // runtime
* const { clusters } = yield* listClusters();
* ```
*
* @binding
*/
export interface ListClusters extends Binding.Service<
ListClusters,
"AWS.EKS.ListClusters",
() => Effect.Effect<
(
request?: eks.ListClustersRequest,
) => Effect.Effect<eks.ListClustersResponse, eks.ListClustersError>
>
> {}
export const ListClusters = Binding.Service<ListClusters>("AWS.EKS.ListClusters");