| 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:BatchGetReports` — reads one or more |
| 8 | * reports of the bound report group by report ARN. |
| 9 | * ### Reading Reports |
| 10 | * **Example:** Read Report Summaries |
| 11 | * ```typescript |
| 12 | * const batchGetReports = yield* AWS.CodeBuild.BatchGetReports(reportGroup); |
| 13 | * |
| 14 | * const { reports } = yield* batchGetReports({ reportArns }); |
| 15 | * ``` |
| 16 | * |
| 17 | * @binding |
| 18 | */ |
| 19 | export interface BatchGetReports extends Binding.Service< |
| 20 | BatchGetReports, |
| 21 | "AWS.CodeBuild.BatchGetReports", |
| 22 | <G extends ReportGroup>( |
| 23 | reportGroup: G, |
| 24 | ) => Effect.Effect< |
| 25 | ( |
| 26 | request: SVC.BatchGetReportsInput, |
| 27 | ) => Effect.Effect<SVC.BatchGetReportsOutput, SVC.BatchGetReportsError> |
| 28 | > |
| 29 | > {} |
| 30 | export const BatchGetReports = Binding.Service<BatchGetReports>( |
| 31 | "AWS.CodeBuild.BatchGetReports", |
| 32 | ); |