@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 38 lines 1.5 KB
Raw
1 import type * as organizations from "@distilled.cloud/aws/organizations";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `organizations:ListHandshakesForOrganization`.
7 *
8 * Lists the handshakes sent by the organization's management account — outstanding and recently concluded invitations.
9 * Account-level operation — Organizations is a management-account-scoped
10 * global service, so the binding takes no resource argument. Provide the
11 * implementation with `Effect.provide(AWS.Organizations.ListHandshakesForOrganizationHttp)`.
12 * ### Handshakes & Invitations
13 * **Example:** List the Organization's Handshakes
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listHandshakesForOrganization = yield* AWS.Organizations.ListHandshakesForOrganization();
17 *
18 * // runtime
19 * const { Handshakes } = yield* listHandshakesForOrganization();
20 * ```
21 *
22 * @binding
23 */
24 export interface ListHandshakesForOrganization extends Binding.Service<
25 ListHandshakesForOrganization,
26 "AWS.Organizations.ListHandshakesForOrganization",
27 () => Effect.Effect<
28 (
29 request?: organizations.ListHandshakesForOrganizationRequest,
30 ) => Effect.Effect<
31 organizations.ListHandshakesForOrganizationResponse,
32 organizations.ListHandshakesForOrganizationError
33 >
34 >
35 > {}
36 export const ListHandshakesForOrganization = Binding.Service<ListHandshakesForOrganization>(
37 "AWS.Organizations.ListHandshakesForOrganization",
38 );