1import type * as macie2 from "@distilled.cloud/aws/macie2";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `macie2:GetFindings`.
7 *
8 * Retrieves the details of one or more findings.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.GetFindingsHttp)`.
12 * ### Working with Findings
13 * **Example:** Hydrate Finding Details
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const getFindings = yield* AWS.Macie2.GetFindings();
17 *
18 * // runtime
19 * const { findings } = yield* getFindings({ findingIds });
20 * ```
21 *
22 * @binding
23 */
24export interface GetFindings extends Binding.Service<
25 GetFindings,
26 "AWS.Macie2.GetFindings",
27 () => Effect.Effect<
28 (
29 request?: macie2.GetFindingsRequest,
30 ) => Effect.Effect<macie2.GetFindingsResponse, macie2.GetFindingsError>
31 >
32> {}
33export const GetFindings = Binding.Service<GetFindings>(
34 "AWS.Macie2.GetFindings",
35);