1import type * as fms from "@distilled.cloud/aws/fms";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Request for {@link DeleteProtocolsList}.
7 */
8export interface DeleteProtocolsListRequest
9 extends fms.DeleteProtocolsListRequest {}
10
11/**
12 * Runtime binding for `fms:DeleteProtocolsList`.
13 *
14 * Permanently deletes the specified Firewall Manager protocols list. Provide the
15 * implementation with `Effect.provide(AWS.FMS.DeleteProtocolsListHttp)`.
16 * ### Protocols Lists
17 * **Example:** Delete a Protocols List
18 * ```typescript
19 * // init — account-level binding takes no resource
20 * const deleteProtocolsList = yield* AWS.FMS.DeleteProtocolsList();
21 *
22 * // runtime
23 * yield* deleteProtocolsList({ ListId: listId });
24 * ```
25 *
26 * @binding
27 */
28export interface DeleteProtocolsList extends Binding.Service<
29 DeleteProtocolsList,
30 "AWS.FMS.DeleteProtocolsList",
31 () => Effect.Effect<
32 (
33 request: DeleteProtocolsListRequest,
34 ) => Effect.Effect<
35 fms.DeleteProtocolsListResponse,
36 fms.DeleteProtocolsListError
37 >
38 >
39> {}
40
41export const DeleteProtocolsList = Binding.Service<DeleteProtocolsList>(
42 "AWS.FMS.DeleteProtocolsList",
43);