@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 33 lines 1.03 KB
Raw
1 import type * as aa from "@distilled.cloud/aws/accessanalyzer";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `access-analyzer:ListPolicyGenerations`.
7 *
8 * Lists the account's recent policy-generation jobs. Provide the
9 * implementation with
10 * `Effect.provide(AWS.AccessAnalyzer.ListPolicyGenerationsHttp)`.
11 * ### Policy Generation
12 * **Example:** List Policy Generations
13 * ```typescript
14 * const listGenerations =
15 * yield* AWS.AccessAnalyzer.ListPolicyGenerations();
16 * const page = yield* listGenerations();
17 * ```
18 *
19 * @binding
20 */
21 export interface ListPolicyGenerations extends Binding.Service<
22 ListPolicyGenerations,
23 "AWS.AccessAnalyzer.ListPolicyGenerations",
24 () => Effect.Effect<
25 (
26 request?: aa.ListPolicyGenerationsRequest,
27 ) => Effect.Effect<aa.ListPolicyGenerationsResponse, aa.ListPolicyGenerationsError>
28 >
29 > {}
30
31 export const ListPolicyGenerations = Binding.Service<ListPolicyGenerations>(
32 "AWS.AccessAnalyzer.ListPolicyGenerations",
33 );