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

main
ts 33 lines 1.08 KB
Raw
1 import type * as securityhub from "@distilled.cloud/aws/securityhub";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `securityhub:GetMembers`.
7 *
8 * Returns the member details for the specified accounts.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.GetMembersHttp)`.
12 * ### Members & Organization
13 * **Example:** Get Member Details
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const getMembers = yield* AWS.SecurityHub.GetMembers();
17 *
18 * // runtime
19 * const { Members } = yield* getMembers({ AccountIds: ["111122223333"] });
20 * ```
21 *
22 * @binding
23 */
24 export interface GetMembers extends Binding.Service<
25 GetMembers,
26 "AWS.SecurityHub.GetMembers",
27 () => Effect.Effect<
28 (
29 request?: securityhub.GetMembersRequest,
30 ) => Effect.Effect<securityhub.GetMembersResponse, securityhub.GetMembersError>
31 >
32 > {}
33 export const GetMembers = Binding.Service<GetMembers>("AWS.SecurityHub.GetMembers");