| 1 | import type * as SVC from "@distilled.cloud/aws/codebuild"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | import type { ReportGroup } from "./ReportGroup.ts"; |
| 5 | |
| 6 | /** |
| 7 | * Runtime binding for `codebuild:DeleteReport` — deletes a report of the |
| 8 | * bound report group by report ARN. |
| 9 | * ### Reading Reports |
| 10 | * **Example:** Delete an Old Report |
| 11 | * ```typescript |
| 12 | * const deleteReport = yield* AWS.CodeBuild.DeleteReport(reportGroup); |
| 13 | * |
| 14 | * yield* deleteReport({ arn: reportArn }); |
| 15 | * ``` |
| 16 | * |
| 17 | * @binding |
| 18 | */ |
| 19 | export interface DeleteReport extends Binding.Service< |
| 20 | DeleteReport, |
| 21 | "AWS.CodeBuild.DeleteReport", |
| 22 | <G extends ReportGroup>( |
| 23 | reportGroup: G, |
| 24 | ) => Effect.Effect< |
| 25 | ( |
| 26 | request: SVC.DeleteReportInput, |
| 27 | ) => Effect.Effect<SVC.DeleteReportOutput, SVC.DeleteReportError> |
| 28 | > |
| 29 | > {} |
| 30 | export const DeleteReport = Binding.Service<DeleteReport>( |
| 31 | "AWS.CodeBuild.DeleteReport", |
| 32 | ); |