@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 40 lines 1.31 KB
Raw
1 import type * as backup from "@distilled.cloud/aws/backup";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `ListRecoveryPointsByResource` operation (IAM
7 * action `backup:ListRecoveryPointsByResource`).
8 *
9 * Lists the recovery points for a specific protected resource by its ARN —
10 * find the newest recovery point to restore from. Provide the implementation
11 * with `Effect.provide(AWS.Backup.ListRecoveryPointsByResourceHttp)`.
12 * ### Recovery Points
13 * **Example:** Find A Resource's Recovery Points
14 * ```typescript
15 * const listRecoveryPointsByResource =
16 * yield* AWS.Backup.ListRecoveryPointsByResource();
17 *
18 * const page = yield* listRecoveryPointsByResource({
19 * ResourceArn: tableArn,
20 * MaxResults: 10,
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface ListRecoveryPointsByResource extends Binding.Service<
27 ListRecoveryPointsByResource,
28 "AWS.Backup.ListRecoveryPointsByResource",
29 () => Effect.Effect<
30 (
31 request: backup.ListRecoveryPointsByResourceInput,
32 ) => Effect.Effect<
33 backup.ListRecoveryPointsByResourceOutput,
34 backup.ListRecoveryPointsByResourceError
35 >
36 >
37 > {}
38 export const ListRecoveryPointsByResource = Binding.Service<ListRecoveryPointsByResource>(
39 "AWS.Backup.ListRecoveryPointsByResource",
40 );