@devries-cameron20 / t3code Mirror · read-only
Fork 0

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, 06:00 UTC

main
ts 42 lines 1.19 KB
Raw
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: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 );