@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, 04:45 UTC

main
ts 42 lines 1.44 KB
Raw
1 import type * as detective from "@distilled.cloud/aws/detective";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `detective:BatchGetMembershipDatasources`.
7 *
8 * Reads this account's data source ingest history across the behavior
9 * graphs it is a member of — the member-side view of what each admin's
10 * graph is ingesting from this account.
11 * Provide the implementation with
12 * `Effect.provide(AWS.Detective.BatchGetMembershipDatasourcesHttp)`.
13 * ### Responding to Invitations
14 * **Example:** Inspect Membership Data Sources
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const batchGetMembershipDatasources =
18 * yield* AWS.Detective.BatchGetMembershipDatasources();
19 *
20 * // runtime
21 * const { MembershipDatasources } = yield* batchGetMembershipDatasources({
22 * GraphArns: [adminGraphArn],
23 * });
24 * ```
25 *
26 * @binding
27 */
28 export interface BatchGetMembershipDatasources extends Binding.Service<
29 BatchGetMembershipDatasources,
30 "AWS.Detective.BatchGetMembershipDatasources",
31 () => Effect.Effect<
32 (
33 request: detective.BatchGetMembershipDatasourcesRequest,
34 ) => Effect.Effect<
35 detective.BatchGetMembershipDatasourcesResponse,
36 detective.BatchGetMembershipDatasourcesError
37 >
38 >
39 > {}
40 export const BatchGetMembershipDatasources = Binding.Service<BatchGetMembershipDatasources>(
41 "AWS.Detective.BatchGetMembershipDatasources",
42 );