@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 39 lines 1.26 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:DisassociateMembership`.
7 *
8 * Removes *this* account from a behavior graph it previously accepted an
9 * invitation to — the member-side exit, mirroring the admin's
10 * `DeleteMembers`.
11 * Provide the implementation with
12 * `Effect.provide(AWS.Detective.DisassociateMembershipHttp)`.
13 * ### Responding to Invitations
14 * **Example:** Leave A Behavior Graph
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const disassociateMembership = yield* AWS.Detective.DisassociateMembership();
18 *
19 * // runtime
20 * yield* disassociateMembership({ GraphArn: adminGraphArn });
21 * ```
22 *
23 * @binding
24 */
25 export interface DisassociateMembership extends Binding.Service<
26 DisassociateMembership,
27 "AWS.Detective.DisassociateMembership",
28 () => Effect.Effect<
29 (
30 request: detective.DisassociateMembershipRequest,
31 ) => Effect.Effect<
32 detective.DisassociateMembershipResponse,
33 detective.DisassociateMembershipError
34 >
35 >
36 > {}
37 export const DisassociateMembership = Binding.Service<DisassociateMembership>(
38 "AWS.Detective.DisassociateMembership",
39 );