1import type * as dataexchange from "@distilled.cloud/aws/dataexchange";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `dataexchange:ListJobs`.
7 *
8 * Enumerates the account's import/export jobs, optionally filtered to
9 * one data set or revision.
10 * Provide the implementation with
11 * `Effect.provide(AWS.DataExchange.ListJobsHttp)`.
12 * ### Import & Export Jobs
13 * **Example:** List A Data Set's Jobs
14 * ```typescript
15 * const listJobs = yield* AWS.DataExchange.ListJobs();
16 *
17 * // runtime
18 * const { Jobs } = yield* listJobs({ DataSetId: dataSetId });
19 * ```
20 *
21 * @binding
22 */
23export interface ListJobs extends Binding.Service<
24 ListJobs,
25 "AWS.DataExchange.ListJobs",
26 () => Effect.Effect<
27 (
28 request?: dataexchange.ListJobsRequest,
29 ) => Effect.Effect<
30 dataexchange.ListJobsResponse,
31 dataexchange.ListJobsError
32 >
33 >
34> {}
35export const ListJobs = Binding.Service<ListJobs>("AWS.DataExchange.ListJobs");