1import type * as securitylake from "@distilled.cloud/aws/securitylake";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4import type { DataLake } from "./DataLake.ts";
5
6/**
7 * Runtime binding for `securitylake:ListDataLakeExceptions`.
8 *
9 * Enumerates the Security Lake exceptions (per-Region failures with
10 * remediation hints) so a monitoring Function can surface or alert on
11 * collection problems. Bind the account's {@link DataLake}.
12 * Provide the implementation with
13 * `Effect.provide(AWS.SecurityLake.ListDataLakeExceptionsHttp)`.
14 * ### Monitoring the data lake
15 * **Example:** List current exceptions
16 * ```typescript
17 * // init
18 * const listExceptions = yield* AWS.SecurityLake.ListDataLakeExceptions(lake);
19 *
20 * // runtime
21 * const { exceptions } = yield* listExceptions();
22 * ```
23 *
24 * @binding
25 */
26export interface ListDataLakeExceptions extends Binding.Service<
27 ListDataLakeExceptions,
28 "AWS.SecurityLake.ListDataLakeExceptions",
29 (
30 lake: DataLake,
31 ) => Effect.Effect<
32 (
33 request?: securitylake.ListDataLakeExceptionsRequest,
34 ) => Effect.Effect<
35 securitylake.ListDataLakeExceptionsResponse,
36 securitylake.ListDataLakeExceptionsError
37 >
38 >
39> {}
40export const ListDataLakeExceptions = Binding.Service<ListDataLakeExceptions>(
41 "AWS.SecurityLake.ListDataLakeExceptions",
42);