1import type * as securityhub from "@distilled.cloud/aws/securityhub";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `securityhub:ListFindingAggregators`.
7 *
8 * Lists the cross-Region finding aggregators configured in the account.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.ListFindingAggregatorsHttp)`.
12 * ### Custom Actions, Automation Rules & Aggregation
13 * **Example:** List Finding Aggregators
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listFindingAggregators = yield* AWS.SecurityHub.ListFindingAggregators();
17 *
18 * // runtime
19 * const { FindingAggregators } = yield* listFindingAggregators();
20 * ```
21 *
22 * @binding
23 */
24export interface ListFindingAggregators extends Binding.Service<
25 ListFindingAggregators,
26 "AWS.SecurityHub.ListFindingAggregators",
27 () => Effect.Effect<
28 (
29 request?: securityhub.ListFindingAggregatorsRequest,
30 ) => Effect.Effect<
31 securityhub.ListFindingAggregatorsResponse,
32 securityhub.ListFindingAggregatorsError
33 >
34 >
35> {}
36export const ListFindingAggregators = Binding.Service<ListFindingAggregators>(
37 "AWS.SecurityHub.ListFindingAggregators",
38);