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:CancelFindingsReport`.
7 *
8 * Cancels the given findings report.
9 *
10 * Provide the implementation with
11 * `Effect.provide(AWS.Inspector2.CancelFindingsReportHttp)`.
12 * ### Findings Reports & SBOM Exports
13 * **Example:** Cancel a Findings Report
14 * ```typescript
15 * // init
16 * const cancelFindingsReport = yield* AWS.Inspector2.CancelFindingsReport();
17 *
18 * // runtime
19 * yield* cancelFindingsReport({ reportId });
20 * ```
21 *
22 * @binding
23 */
24export interface CancelFindingsReport extends Binding.Service<
25 CancelFindingsReport,
26 "AWS.Inspector2.CancelFindingsReport",
27 () => Effect.Effect<
28 (
29 request: inspector2.CancelFindingsReportRequest,
30 ) => Effect.Effect<
31 inspector2.CancelFindingsReportResponse,
32 inspector2.CancelFindingsReportError
33 >
34 >
35> {}
36export const CancelFindingsReport = Binding.Service<CancelFindingsReport>(
37 "AWS.Inspector2.CancelFindingsReport",
38);