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

main
ts 29 lines 1005 Bytes
Raw
1 import type * as auditmanager from "@distilled.cloud/aws/auditmanager";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `auditmanager:GetDelegations`.
7 *
8 * Lists the delegations assigned to the calling account. Provide the
9 * implementation with `Effect.provide(AWS.AuditManager.GetDelegationsHttp)`.
10 * ### Delegations
11 * **Example:** List the Account's Delegations
12 * ```typescript
13 * const getDelegations = yield* AWS.AuditManager.GetDelegations();
14 * const result = yield* getDelegations({ maxResults: 20 });
15 * ```
16 *
17 * @binding
18 */
19 export interface GetDelegations extends Binding.Service<
20 GetDelegations,
21 "AWS.AuditManager.GetDelegations",
22 () => Effect.Effect<
23 (
24 request?: auditmanager.GetDelegationsRequest,
25 ) => Effect.Effect<auditmanager.GetDelegationsResponse, auditmanager.GetDelegationsError>
26 >
27 > {}
28
29 export const GetDelegations = Binding.Service<GetDelegations>("AWS.AuditManager.GetDelegations");