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

main
ts 42 lines 1.36 KB
Raw
1 import type * as comprehend from "@distilled.cloud/aws/comprehend";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `comprehend:ListKeyPhrasesDetectionJobs` — list the account's
7 * asynchronous key-phrase detection jobs, with optional status/name/time filters.
8 *
9 * The binding takes no arguments and grants the action on `*` (job APIs
10 * have no resource-level IAM).
11 *
12 * ### Monitoring Analysis Jobs
13 * **Example:** List Recent KeyPhrasesDetection Jobs
14 * ```typescript
15 * // init
16 * const listKeyPhrasesDetectionJobs = yield* AWS.Comprehend.ListKeyPhrasesDetectionJobs();
17 *
18 * // runtime
19 * const page = yield* listKeyPhrasesDetectionJobs({
20 * Filter: { JobStatus: "IN_PROGRESS" },
21 * MaxResults: 25,
22 * });
23 * // page.KeyPhrasesDetectionJobPropertiesList
24 * ```
25 *
26 * @binding
27 */
28 export interface ListKeyPhrasesDetectionJobs extends Binding.Service<
29 ListKeyPhrasesDetectionJobs,
30 "AWS.Comprehend.ListKeyPhrasesDetectionJobs",
31 () => Effect.Effect<
32 (
33 request?: comprehend.ListKeyPhrasesDetectionJobsRequest,
34 ) => Effect.Effect<
35 comprehend.ListKeyPhrasesDetectionJobsResponse,
36 comprehend.ListKeyPhrasesDetectionJobsError
37 >
38 >
39 > {}
40 export const ListKeyPhrasesDetectionJobs = Binding.Service<ListKeyPhrasesDetectionJobs>(
41 "AWS.Comprehend.ListKeyPhrasesDetectionJobs",
42 );