@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 53 lines 1.88 KB
Raw
1 import type * as bda from "@distilled.cloud/aws/bedrock-data-automation";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { DataAutomationLibrary } from "./DataAutomationLibrary.ts";
5
6 /**
7 * `ListDataAutomationLibraryIngestionJobs` request with `libraryArn`
8 * injected from the bound {@link DataAutomationLibrary}.
9 */
10 export interface ListDataAutomationLibraryIngestionJobsRequest extends Omit<
11 bda.ListDataAutomationLibraryIngestionJobsRequest,
12 "libraryArn"
13 > {}
14
15 /**
16 * Runtime binding for the `ListDataAutomationLibraryIngestionJobs` operation
17 * (IAM action `bedrock:ListDataAutomationLibraryIngestionJobs` on the
18 * library ARN) — page through the bound library's ingestion jobs from a
19 * deployed Function.
20 *
21 * Provide the implementation with
22 * `Effect.provide(AWS.BedrockDataAutomation.ListDataAutomationLibraryIngestionJobsHttp)`.
23 * ### Library Ingestion
24 * **Example:** List Recent Ingestion Jobs
25 * ```typescript
26 * // deploy time — bind the library
27 * const listJobs =
28 * yield* AWS.BedrockDataAutomation.ListDataAutomationLibraryIngestionJobs(library);
29 *
30 * // runtime — first page of jobs
31 * const { jobs } = yield* listJobs({ maxResults: 25 });
32 * ```
33 *
34 * @binding
35 */
36 export interface ListDataAutomationLibraryIngestionJobs extends Binding.Service<
37 ListDataAutomationLibraryIngestionJobs,
38 "AWS.BedrockDataAutomation.ListDataAutomationLibraryIngestionJobs",
39 (
40 library: DataAutomationLibrary,
41 ) => Effect.Effect<
42 (
43 request: ListDataAutomationLibraryIngestionJobsRequest,
44 ) => Effect.Effect<
45 bda.ListDataAutomationLibraryIngestionJobsResponse,
46 bda.ListDataAutomationLibraryIngestionJobsError
47 >
48 >
49 > {}
50 export const ListDataAutomationLibraryIngestionJobs =
51 Binding.Service<ListDataAutomationLibraryIngestionJobs>(
52 "AWS.BedrockDataAutomation.ListDataAutomationLibraryIngestionJobs",
53 );