@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, 06:00 UTC

main
ts 36 lines 1.2 KB
Raw
1 import type * as rds from "@distilled.cloud/aws/rds";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `DescribeDBClusterEndpoints` operation (IAM action
7 * `rds:DescribeDBClusterEndpoints`).
8 *
9 * Lists an Aurora cluster's endpoints (writer, reader, and custom
10 * endpoints) with their status and member lists. Provide the implementation with
11 * `Effect.provide(AWS.RDS.DescribeDBClusterEndpointsHttp)`.
12 * ### Monitoring Databases
13 * **Example:** List a Cluster's Endpoints
14 * ```typescript
15 * const describeDBClusterEndpoints =
16 * yield* AWS.RDS.DescribeDBClusterEndpoints();
17 *
18 * const page = yield* describeDBClusterEndpoints({
19 * DBClusterIdentifier: clusterId,
20 * });
21 * ```
22 *
23 * @binding
24 */
25 export interface DescribeDBClusterEndpoints extends Binding.Service<
26 DescribeDBClusterEndpoints,
27 "AWS.RDS.DescribeDBClusterEndpoints",
28 () => Effect.Effect<
29 (
30 request?: rds.DescribeDBClusterEndpointsMessage,
31 ) => Effect.Effect<rds.DBClusterEndpointMessage, rds.DescribeDBClusterEndpointsError>
32 >
33 > {}
34 export const DescribeDBClusterEndpoints = Binding.Service<DescribeDBClusterEndpoints>(
35 "AWS.RDS.DescribeDBClusterEndpoints",
36 );