The best way to control Claude Code, Codex and more from any computer or phone

main
ts 37 lines 1.29 KB
Raw
1 import type * as neptune from "@distilled.cloud/aws/neptune";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `DescribeDBClusterSnapshots` operation (IAM action
7 * `rds:DescribeDBClusterSnapshots`).
8 *
9 * Lists the account's Neptune cluster snapshots (manual and automated) —
10 * for backup verification and restore tooling. Provide the implementation
11 * with `Effect.provide(AWS.Neptune.DescribeDBClusterSnapshotsHttp)`.
12 * ### Managing Snapshots
13 * **Example:** List a Cluster's Snapshots
14 * ```typescript
15 * const describeDBClusterSnapshots =
16 * yield* AWS.Neptune.DescribeDBClusterSnapshots();
17 *
18 * const page = yield* describeDBClusterSnapshots({
19 * DBClusterIdentifier: clusterId,
20 * });
21 * const count = page.DBClusterSnapshots?.length;
22 * ```
23 *
24 * @binding
25 */
26 export interface DescribeDBClusterSnapshots extends Binding.Service<
27 DescribeDBClusterSnapshots,
28 "AWS.Neptune.DescribeDBClusterSnapshots",
29 () => Effect.Effect<
30 (
31 request?: neptune.DescribeDBClusterSnapshotsMessage,
32 ) => Effect.Effect<neptune.DBClusterSnapshotMessage, neptune.DescribeDBClusterSnapshotsError>
33 >
34 > {}
35 export const DescribeDBClusterSnapshots = Binding.Service<DescribeDBClusterSnapshots>(
36 "AWS.Neptune.DescribeDBClusterSnapshots",
37 );