@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 35 lines 1.32 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 `ListRecoveryPoints` operation (IAM actions
7 * `redshift-serverless:ListRecoveryPoints`).
8 *
9 * Lists the automatic recovery points Redshift Serverless created in the
10 * last 24 hours, optionally filtered by namespace — the discovery half of
11 * point-in-time recovery tooling. Provide the implementation with
12 * `Effect.provide(AWS.RedshiftServerless.ListRecoveryPointsHttp)`.
13 * ### Working with Recovery Points
14 * **Example:** List Recovery Points for a Namespace
15 * ```typescript
16 * // init — resolve the runtime client
17 * const listRecoveryPoints = yield* AWS.RedshiftServerless.ListRecoveryPoints();
18 *
19 * const { recoveryPoints } = yield* listRecoveryPoints({ namespaceName });
20 * ```
21 *
22 * @binding
23 */
24 export interface ListRecoveryPoints extends Binding.Service<
25 ListRecoveryPoints,
26 "AWS.RedshiftServerless.ListRecoveryPoints",
27 () => Effect.Effect<
28 (
29 request?: serverless.ListRecoveryPointsRequest,
30 ) => Effect.Effect<serverless.ListRecoveryPointsResponse, serverless.ListRecoveryPointsError>
31 >
32 > {}
33 export const ListRecoveryPoints = Binding.Service<ListRecoveryPoints>(
34 "AWS.RedshiftServerless.ListRecoveryPoints",
35 );