The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import type * as inspector2 from "@distilled.cloud/aws/inspector2"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `inspector2:GetCisScanReport`. |
| 7 | * |
| 8 | * Retrieves a CIS scan report. |
| 9 | * |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.Inspector2.GetCisScanReportHttp)`. |
| 12 | * ### CIS Scan Results |
| 13 | * **Example:** Download a CIS Scan Report |
| 14 | * ```typescript |
| 15 | * // init |
| 16 | * const getCisScanReport = yield* AWS.Inspector2.GetCisScanReport(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const { url, status } = yield* getCisScanReport({ scanArn }); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface GetCisScanReport extends Binding.Service< |
| 25 | GetCisScanReport, |
| 26 | "AWS.Inspector2.GetCisScanReport", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request: inspector2.GetCisScanReportRequest, |
| 30 | ) => Effect.Effect<inspector2.GetCisScanReportResponse, inspector2.GetCisScanReportError> |
| 31 | > |
| 32 | > {} |
| 33 | export const GetCisScanReport = Binding.Service<GetCisScanReport>( |
| 34 | "AWS.Inspector2.GetCisScanReport", |
| 35 | ); |