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

main
ts 43 lines 1.38 KB
Raw
1 import type * as oracle from "@distilled.cloud/gcp/oracledatabase_v1";
2 import * as Binding from "alchemy/Binding";
3 import type { RuntimeContext } from "alchemy/RuntimeContext";
4 import type * as Effect from "effect/Effect";
5 import type { CloudExadataInfrastructure } from "./CloudExadataInfrastructure.ts";
6
7 export interface GetCloudExadataInfrastructureRequest extends Omit<
8 oracle.GetProjectsLocationsCloudExadataInfrastructuresRequest,
9 "name"
10 > {}
11
12 /**
13 * Runtime binding for Oracle Database `cloudExadataInfrastructures.get`.
14 *
15 * ### Observing Exadata Infrastructure
16 * **Example:** Read the bound infrastructure
17 * ```typescript
18 * const get = yield* GCP.OracleDatabase.GetCloudExadataInfrastructure(infra);
19 * const live = yield* get();
20 * ```
21 *
22 * @binding
23 * @category OracleDatabase
24 */
25 export interface GetCloudExadataInfrastructure extends Binding.Service<
26 GetCloudExadataInfrastructure,
27 "GCP.OracleDatabase.GetCloudExadataInfrastructure",
28 (
29 infrastructure: CloudExadataInfrastructure,
30 ) => Effect.Effect<
31 (
32 request?: GetCloudExadataInfrastructureRequest,
33 ) => Effect.Effect<
34 oracle.CloudExadataInfrastructure,
35 oracle.GetProjectsLocationsCloudExadataInfrastructuresError,
36 RuntimeContext
37 >
38 >
39 > {}
40
41 export const GetCloudExadataInfrastructure = Binding.Service<GetCloudExadataInfrastructure>(
42 "GCP.OracleDatabase.GetCloudExadataInfrastructure",
43 );