| 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:UpdateOrgEc2DeepInspectionConfiguration`. |
| 7 | * |
| 8 | * Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an |
| 9 | * Amazon Inspector delegated administrator to use this API. |
| 10 | * |
| 11 | * Provide the implementation with |
| 12 | * `Effect.provide(AWS.Inspector2.UpdateOrgEc2DeepInspectionConfigurationHttp)`. |
| 13 | * ### Organization & Members |
| 14 | * **Example:** Set Org-Wide Deep Inspection Paths |
| 15 | * ```typescript |
| 16 | * // init |
| 17 | * const updateOrgEc2DeepInspectionConfiguration = yield* AWS.Inspector2.UpdateOrgEc2DeepInspectionConfiguration(); |
| 18 | * |
| 19 | * // runtime |
| 20 | * yield* updateOrgEc2DeepInspectionConfiguration({ orgPackagePaths: ["/opt/app"] }); |
| 21 | * ``` |
| 22 | * |
| 23 | * @binding |
| 24 | */ |
| 25 | export interface UpdateOrgEc2DeepInspectionConfiguration extends Binding.Service< |
| 26 | UpdateOrgEc2DeepInspectionConfiguration, |
| 27 | "AWS.Inspector2.UpdateOrgEc2DeepInspectionConfiguration", |
| 28 | () => Effect.Effect< |
| 29 | ( |
| 30 | request: inspector2.UpdateOrgEc2DeepInspectionConfigurationRequest, |
| 31 | ) => Effect.Effect< |
| 32 | inspector2.UpdateOrgEc2DeepInspectionConfigurationResponse, |
| 33 | inspector2.UpdateOrgEc2DeepInspectionConfigurationError |
| 34 | > |
| 35 | > |
| 36 | > {} |
| 37 | export const UpdateOrgEc2DeepInspectionConfiguration = |
| 38 | Binding.Service<UpdateOrgEc2DeepInspectionConfiguration>( |
| 39 | "AWS.Inspector2.UpdateOrgEc2DeepInspectionConfiguration", |
| 40 | ); |