1import type * as auditmanager from "@distilled.cloud/aws/auditmanager";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `auditmanager:ValidateAssessmentReportIntegrity`.
7 *
8 * Validates the integrity (checksums) of a generated assessment
9 * report in Amazon S3. Provide the
10 * implementation with `Effect.provide(AWS.AuditManager.ValidateAssessmentReportIntegrityHttp)`.
11 * ### Assessment Reports
12 * **Example:** Validate a Generated Report
13 * ```typescript
14 * const validateAssessmentReportIntegrity = yield* AWS.AuditManager.ValidateAssessmentReportIntegrity();
15 * const result = yield* validateAssessmentReportIntegrity({ s3RelativePath: "s3://audit-reports/report.zip" });
16 * ```
17 *
18 * @binding
19 */
20export interface ValidateAssessmentReportIntegrity extends Binding.Service<
21 ValidateAssessmentReportIntegrity,
22 "AWS.AuditManager.ValidateAssessmentReportIntegrity",
23 () => Effect.Effect<
24 (
25 request: auditmanager.ValidateAssessmentReportIntegrityRequest,
26 ) => Effect.Effect<
27 auditmanager.ValidateAssessmentReportIntegrityResponse,
28 auditmanager.ValidateAssessmentReportIntegrityError
29 >
30 >
31> {}
32
33export const ValidateAssessmentReportIntegrity =
34 Binding.Service<ValidateAssessmentReportIntegrity>(
35 "AWS.AuditManager.ValidateAssessmentReportIntegrity",
36 );