@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 32 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:CancelPolicyGeneration`.
7 *
8 * Cancels an in-progress policy-generation job. Provide the implementation
9 * with `Effect.provide(AWS.AccessAnalyzer.CancelPolicyGenerationHttp)`.
10 * ### Policy Generation
11 * **Example:** Cancel a Generation Job
12 * ```typescript
13 * const cancelGeneration =
14 * yield* AWS.AccessAnalyzer.CancelPolicyGeneration();
15 * yield* cancelGeneration({ jobId });
16 * ```
17 *
18 * @binding
19 */
20 export interface CancelPolicyGeneration extends Binding.Service<
21 CancelPolicyGeneration,
22 "AWS.AccessAnalyzer.CancelPolicyGeneration",
23 () => Effect.Effect<
24 (
25 request: aa.CancelPolicyGenerationRequest,
26 ) => Effect.Effect<aa.CancelPolicyGenerationResponse, aa.CancelPolicyGenerationError>
27 >
28 > {}
29
30 export const CancelPolicyGeneration = Binding.Service<CancelPolicyGeneration>(
31 "AWS.AccessAnalyzer.CancelPolicyGeneration",
32 );