import type * as neptune from "@distilled.cloud/aws/neptune";
import * as Binding from "alchemy/Binding";
import type * as Effect from "effect/Effect";
/**
* Runtime binding for the `DescribeDBClusters` operation (IAM action
* `rds:DescribeDBClusters`).
*
* Lists the account's Neptune clusters (or one cluster by identifier) —
* status, endpoints, members, engine versions — for health checks and
* cluster discovery. Provide the implementation with
* `Effect.provide(AWS.Neptune.DescribeDBClustersHttp)`.
* ### Monitoring Clusters
* **Example:** Check a Cluster's Status
* ```typescript
* const describeDBClusters = yield* AWS.Neptune.DescribeDBClusters();
*
* const page = yield* describeDBClusters({
* DBClusterIdentifier: clusterId,
* });
* const status = page.DBClusters?.[0]?.Status;
* ```
*
* @binding
*/
export interface DescribeDBClusters extends Binding.Service<
DescribeDBClusters,
"AWS.Neptune.DescribeDBClusters",
() => Effect.Effect<
(
request?: neptune.DescribeDBClustersMessage,
) => Effect.Effect<neptune.DBClusterMessage, neptune.DescribeDBClustersError>
>
> {}
export const DescribeDBClusters = Binding.Service<DescribeDBClusters>(
"AWS.Neptune.DescribeDBClusters",
);