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

main
ts 34 lines 1.13 KB
Raw
1 import type * as dataexchange from "@distilled.cloud/aws/dataexchange";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `dataexchange:ListDataSets`.
7 *
8 * Enumerates the account's data sets — `Origin: "OWNED"` for data sets
9 * this account publishes, `Origin: "ENTITLED"` for active
10 * subscriptions.
11 * Provide the implementation with
12 * `Effect.provide(AWS.DataExchange.ListDataSetsHttp)`.
13 * ### Reading Data Sets
14 * **Example:** List Entitled Data Sets
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const listDataSets = yield* AWS.DataExchange.ListDataSets();
18 *
19 * // runtime
20 * const { DataSets } = yield* listDataSets({ Origin: "ENTITLED" });
21 * ```
22 *
23 * @binding
24 */
25 export interface ListDataSets extends Binding.Service<
26 ListDataSets,
27 "AWS.DataExchange.ListDataSets",
28 () => Effect.Effect<
29 (
30 request?: dataexchange.ListDataSetsRequest,
31 ) => Effect.Effect<dataexchange.ListDataSetsResponse, dataexchange.ListDataSetsError>
32 >
33 > {}
34 export const ListDataSets = Binding.Service<ListDataSets>("AWS.DataExchange.ListDataSets");