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

main
ts 33 lines 1.14 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 `GetRecoveryPoint` operation (IAM actions
7 * `redshift-serverless:GetRecoveryPoint`).
8 *
9 * Reads one automatic recovery point by id. Provide the implementation with
10 * `Effect.provide(AWS.RedshiftServerless.GetRecoveryPointHttp)`.
11 * ### Working with Recovery Points
12 * **Example:** Inspect a Recovery Point
13 * ```typescript
14 * // init — resolve the runtime client
15 * const getRecoveryPoint = yield* AWS.RedshiftServerless.GetRecoveryPoint();
16 *
17 * const { recoveryPoint } = yield* getRecoveryPoint({ recoveryPointId });
18 * ```
19 *
20 * @binding
21 */
22 export interface GetRecoveryPoint extends Binding.Service<
23 GetRecoveryPoint,
24 "AWS.RedshiftServerless.GetRecoveryPoint",
25 () => Effect.Effect<
26 (
27 request: serverless.GetRecoveryPointRequest,
28 ) => Effect.Effect<serverless.GetRecoveryPointResponse, serverless.GetRecoveryPointError>
29 >
30 > {}
31 export const GetRecoveryPoint = Binding.Service<GetRecoveryPoint>(
32 "AWS.RedshiftServerless.GetRecoveryPoint",
33 );