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

main
ts 39 lines 1.16 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 DeleteProtocolsList}.
7 */
8 export interface DeleteProtocolsListRequest extends fms.DeleteProtocolsListRequest {}
9
10 /**
11 * Runtime binding for `fms:DeleteProtocolsList`.
12 *
13 * Permanently deletes the specified Firewall Manager protocols list. Provide the
14 * implementation with `Effect.provide(AWS.FMS.DeleteProtocolsListHttp)`.
15 * ### Protocols Lists
16 * **Example:** Delete a Protocols List
17 * ```typescript
18 * // init — account-level binding takes no resource
19 * const deleteProtocolsList = yield* AWS.FMS.DeleteProtocolsList();
20 *
21 * // runtime
22 * yield* deleteProtocolsList({ ListId: listId });
23 * ```
24 *
25 * @binding
26 */
27 export interface DeleteProtocolsList extends Binding.Service<
28 DeleteProtocolsList,
29 "AWS.FMS.DeleteProtocolsList",
30 () => Effect.Effect<
31 (
32 request: DeleteProtocolsListRequest,
33 ) => Effect.Effect<fms.DeleteProtocolsListResponse, fms.DeleteProtocolsListError>
34 >
35 > {}
36
37 export const DeleteProtocolsList = Binding.Service<DeleteProtocolsList>(
38 "AWS.FMS.DeleteProtocolsList",
39 );