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

main
ts 35 lines 1.17 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 `DeleteDBClusterSnapshot` operation (IAM action
7 * `rds:DeleteDBClusterSnapshot`).
8 *
9 * Deletes a manual Neptune cluster snapshot — the pruning half of a
10 * snapshot-rotation function. Provide the implementation with
11 * `Effect.provide(AWS.Neptune.DeleteDBClusterSnapshotHttp)`.
12 * ### Managing Snapshots
13 * **Example:** Prune an Old Snapshot
14 * ```typescript
15 * const deleteDBClusterSnapshot = yield* AWS.Neptune.DeleteDBClusterSnapshot();
16 *
17 * yield* deleteDBClusterSnapshot({
18 * DBClusterSnapshotIdentifier: oldSnapshotId,
19 * });
20 * ```
21 *
22 * @binding
23 */
24 export interface DeleteDBClusterSnapshot extends Binding.Service<
25 DeleteDBClusterSnapshot,
26 "AWS.Neptune.DeleteDBClusterSnapshot",
27 () => Effect.Effect<
28 (
29 request?: neptune.DeleteDBClusterSnapshotMessage,
30 ) => Effect.Effect<neptune.DeleteDBClusterSnapshotResult, neptune.DeleteDBClusterSnapshotError>
31 >
32 > {}
33 export const DeleteDBClusterSnapshot = Binding.Service<DeleteDBClusterSnapshot>(
34 "AWS.Neptune.DeleteDBClusterSnapshot",
35 );