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