| 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:GetEc2DeepInspectionConfiguration`. |
| 7 | * |
| 8 | * Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated |
| 9 | * with your account. |
| 10 | * |
| 11 | * Provide the implementation with |
| 12 | * `Effect.provide(AWS.Inspector2.GetEc2DeepInspectionConfigurationHttp)`. |
| 13 | * ### Account Settings & Usage |
| 14 | * **Example:** Read Deep Inspection Settings |
| 15 | * ```typescript |
| 16 | * // init |
| 17 | * const getEc2DeepInspectionConfiguration = yield* AWS.Inspector2.GetEc2DeepInspectionConfiguration(); |
| 18 | * |
| 19 | * // runtime |
| 20 | * const { status, packagePaths } = yield* getEc2DeepInspectionConfiguration(); |
| 21 | * ``` |
| 22 | * |
| 23 | * @binding |
| 24 | */ |
| 25 | export interface GetEc2DeepInspectionConfiguration extends Binding.Service< |
| 26 | GetEc2DeepInspectionConfiguration, |
| 27 | "AWS.Inspector2.GetEc2DeepInspectionConfiguration", |
| 28 | () => Effect.Effect< |
| 29 | ( |
| 30 | request: inspector2.GetEc2DeepInspectionConfigurationRequest, |
| 31 | ) => Effect.Effect< |
| 32 | inspector2.GetEc2DeepInspectionConfigurationResponse, |
| 33 | inspector2.GetEc2DeepInspectionConfigurationError |
| 34 | > |
| 35 | > |
| 36 | > {} |
| 37 | export const GetEc2DeepInspectionConfiguration = |
| 38 | Binding.Service<GetEc2DeepInspectionConfiguration>( |
| 39 | "AWS.Inspector2.GetEc2DeepInspectionConfiguration", |
| 40 | ); |