@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 37 lines 1.24 KB
Raw
1 import type * as ssm from "@distilled.cloud/aws/ssm-contacts";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Rotation } from "./Rotation.ts";
5
6 /**
7 * Runtime binding for `ssm-contacts:DeleteRotationOverride`.
8 *
9 * Delete a rotation override of the bound rotation, restoring the
10 * regular schedule. The rotation's ARN is injected as `RotationId`.
11 * Provide the implementation with
12 * `Effect.provide(AWS.SSMContacts.DeleteRotationOverrideHttp)`.
13 * ### Managing On-Call Rotations
14 * **Example:** Remove an Override
15 * ```typescript
16 * const deleteRotationOverride =
17 * yield* AWS.SSMContacts.DeleteRotationOverride(rotation);
18 *
19 * yield* deleteRotationOverride({ RotationOverrideId: overrideId });
20 * ```
21 *
22 * @binding
23 */
24 export interface DeleteRotationOverride extends Binding.Service<
25 DeleteRotationOverride,
26 "AWS.SSMContacts.DeleteRotationOverride",
27 (
28 rotation: Rotation,
29 ) => Effect.Effect<
30 (
31 request: Omit<ssm.DeleteRotationOverrideRequest, "RotationId">,
32 ) => Effect.Effect<ssm.DeleteRotationOverrideResult, ssm.DeleteRotationOverrideError>
33 >
34 > {}
35 export const DeleteRotationOverride = Binding.Service<DeleteRotationOverride>(
36 "AWS.SSMContacts.DeleteRotationOverride",
37 );