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

main
ts 34 lines 1.13 KB
Raw
1 import type * as serverless from "@distilled.cloud/aws/redshift-serverless";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `DeleteSnapshot` operation (IAM actions
7 * `redshift-serverless:DeleteSnapshot`).
8 *
9 * Deletes a manual snapshot — the cleanup half of a snapshot-rotation
10 * job. Provide the implementation with
11 * `Effect.provide(AWS.RedshiftServerless.DeleteSnapshotHttp)`.
12 * ### Managing Snapshots
13 * **Example:** Delete an Expired Snapshot
14 * ```typescript
15 * // init — resolve the runtime client
16 * const deleteSnapshot = yield* AWS.RedshiftServerless.DeleteSnapshot();
17 *
18 * yield* deleteSnapshot({ snapshotName: "pre-migration-1" });
19 * ```
20 *
21 * @binding
22 */
23 export interface DeleteSnapshot extends Binding.Service<
24 DeleteSnapshot,
25 "AWS.RedshiftServerless.DeleteSnapshot",
26 () => Effect.Effect<
27 (
28 request: serverless.DeleteSnapshotRequest,
29 ) => Effect.Effect<serverless.DeleteSnapshotResponse, serverless.DeleteSnapshotError>
30 >
31 > {}
32 export const DeleteSnapshot = Binding.Service<DeleteSnapshot>(
33 "AWS.RedshiftServerless.DeleteSnapshot",
34 );