Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

1.3 KB
Raw Blame
import type * as neptune from "@distilled.cloud/aws/neptune";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";

/**
 * Runtime binding for the `DescribeDBClusterSnapshots` operation (IAM action
 * `rds:DescribeDBClusterSnapshots`).
 *
 * Lists the account's Neptune cluster snapshots (manual and automated) —
 * for backup verification and restore tooling. Provide the implementation
 * with `Effect.provide(AWS.Neptune.DescribeDBClusterSnapshotsHttp)`.
 * @binding
 * @section Managing Snapshots
 * @example List a Cluster's Snapshots
 * ```typescript
 * const describeDBClusterSnapshots =
 *   yield* AWS.Neptune.DescribeDBClusterSnapshots();
 *
 * const page = yield* describeDBClusterSnapshots({
 *   DBClusterIdentifier: clusterId,
 * });
 * const count = page.DBClusterSnapshots?.length;
 * ```
 */
export interface DescribeDBClusterSnapshots extends Binding.Service<
  DescribeDBClusterSnapshots,
  "AWS.Neptune.DescribeDBClusterSnapshots",
  () => Effect.Effect<
    (
      request?: neptune.DescribeDBClusterSnapshotsMessage,
    ) => Effect.Effect<
      neptune.DBClusterSnapshotMessage,
      neptune.DescribeDBClusterSnapshotsError
    >
  >
> {}
export const DescribeDBClusterSnapshots =
  Binding.Service<DescribeDBClusterSnapshots>(
    "AWS.Neptune.DescribeDBClusterSnapshots",
  );