1import type * as inspector2 from "@distilled.cloud/aws/inspector2";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `inspector2:ListCisScanResultsAggregatedByChecks`.
7 *
8 * Lists scan results aggregated by checks.
9 *
10 * Provide the implementation with
11 * `Effect.provide(AWS.Inspector2.ListCisScanResultsAggregatedByChecksHttp)`.
12 * ### CIS Scan Results
13 * **Example:** CIS Results by Check
14 * ```typescript
15 * // init
16 * const listCisScanResultsAggregatedByChecks = yield* AWS.Inspector2.ListCisScanResultsAggregatedByChecks();
17 *
18 * // runtime
19 * const { checkAggregations } = yield* listCisScanResultsAggregatedByChecks({ scanArn });
20 * ```
21 *
22 * @binding
23 */
24export interface ListCisScanResultsAggregatedByChecks extends Binding.Service<
25 ListCisScanResultsAggregatedByChecks,
26 "AWS.Inspector2.ListCisScanResultsAggregatedByChecks",
27 () => Effect.Effect<
28 (
29 request: inspector2.ListCisScanResultsAggregatedByChecksRequest,
30 ) => Effect.Effect<
31 inspector2.ListCisScanResultsAggregatedByChecksResponse,
32 inspector2.ListCisScanResultsAggregatedByChecksError
33 >
34 >
35> {}
36export const ListCisScanResultsAggregatedByChecks =
37 Binding.Service<ListCisScanResultsAggregatedByChecks>(
38 "AWS.Inspector2.ListCisScanResultsAggregatedByChecks",
39 );