| 1 | import type * as inspector2 from "@distilled.cloud/aws/inspector2"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `inspector2:GetCisScanResultDetails`. |
| 7 | * |
| 8 | * Retrieves CIS scan result details. |
| 9 | * |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.Inspector2.GetCisScanResultDetailsHttp)`. |
| 12 | * ### CIS Scan Results |
| 13 | * **Example:** CIS Result Details for an Instance |
| 14 | * ```typescript |
| 15 | * // init |
| 16 | * const getCisScanResultDetails = yield* AWS.Inspector2.GetCisScanResultDetails(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const { scanResultDetails } = yield* getCisScanResultDetails({ |
| 20 | * scanArn, |
| 21 | * accountId, |
| 22 | * targetResourceId: instanceId, |
| 23 | * }); |
| 24 | * ``` |
| 25 | * |
| 26 | * @binding |
| 27 | */ |
| 28 | export interface GetCisScanResultDetails extends Binding.Service< |
| 29 | GetCisScanResultDetails, |
| 30 | "AWS.Inspector2.GetCisScanResultDetails", |
| 31 | () => Effect.Effect< |
| 32 | ( |
| 33 | request: inspector2.GetCisScanResultDetailsRequest, |
| 34 | ) => Effect.Effect< |
| 35 | inspector2.GetCisScanResultDetailsResponse, |
| 36 | inspector2.GetCisScanResultDetailsError |
| 37 | > |
| 38 | > |
| 39 | > {} |
| 40 | export const GetCisScanResultDetails = Binding.Service<GetCisScanResultDetails>( |
| 41 | "AWS.Inspector2.GetCisScanResultDetails", |
| 42 | ); |