@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 39 lines 1.29 KB
Raw
1 import type * as fms from "@distilled.cloud/aws/fms";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link DeleteNotificationChannel}.
7 */
8 export interface DeleteNotificationChannelRequest extends fms.DeleteNotificationChannelRequest {}
9
10 /**
11 * Runtime binding for `fms:DeleteNotificationChannel`.
12 *
13 * Deletes the Firewall Manager association with the IAM role and SNS topic used to record SNS logs. Provide the
14 * implementation with `Effect.provide(AWS.FMS.DeleteNotificationChannelHttp)`.
15 * ### Notification Channel
16 * **Example:** Delete the Notification Channel
17 * ```typescript
18 * // init — account-level binding takes no resource
19 * const deleteNotificationChannel = yield* AWS.FMS.DeleteNotificationChannel();
20 *
21 * // runtime
22 * yield* deleteNotificationChannel();
23 * ```
24 *
25 * @binding
26 */
27 export interface DeleteNotificationChannel extends Binding.Service<
28 DeleteNotificationChannel,
29 "AWS.FMS.DeleteNotificationChannel",
30 () => Effect.Effect<
31 (
32 request?: DeleteNotificationChannelRequest,
33 ) => Effect.Effect<fms.DeleteNotificationChannelResponse, fms.DeleteNotificationChannelError>
34 >
35 > {}
36
37 export const DeleteNotificationChannel = Binding.Service<DeleteNotificationChannel>(
38 "AWS.FMS.DeleteNotificationChannel",
39 );