| 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:BatchGetMemberEc2DeepInspectionStatus`. |
| 7 | * |
| 8 | * Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within |
| 9 | * your organization. You must be the delegated administrator of an organization in Amazon Inspector to |
| 10 | * use this API. |
| 11 | * |
| 12 | * Provide the implementation with |
| 13 | * `Effect.provide(AWS.Inspector2.BatchGetMemberEc2DeepInspectionStatusHttp)`. |
| 14 | * ### Organization & Members |
| 15 | * **Example:** Read Members' Deep Inspection Status |
| 16 | * ```typescript |
| 17 | * // init |
| 18 | * const batchGetMemberEc2DeepInspectionStatus = yield* AWS.Inspector2.BatchGetMemberEc2DeepInspectionStatus(); |
| 19 | * |
| 20 | * // runtime |
| 21 | * const { accountIds } = yield* batchGetMemberEc2DeepInspectionStatus(); |
| 22 | * ``` |
| 23 | * |
| 24 | * @binding |
| 25 | */ |
| 26 | export interface BatchGetMemberEc2DeepInspectionStatus extends Binding.Service< |
| 27 | BatchGetMemberEc2DeepInspectionStatus, |
| 28 | "AWS.Inspector2.BatchGetMemberEc2DeepInspectionStatus", |
| 29 | () => Effect.Effect< |
| 30 | ( |
| 31 | request?: inspector2.BatchGetMemberEc2DeepInspectionStatusRequest, |
| 32 | ) => Effect.Effect< |
| 33 | inspector2.BatchGetMemberEc2DeepInspectionStatusResponse, |
| 34 | inspector2.BatchGetMemberEc2DeepInspectionStatusError |
| 35 | > |
| 36 | > |
| 37 | > {} |
| 38 | export const BatchGetMemberEc2DeepInspectionStatus = |
| 39 | Binding.Service<BatchGetMemberEc2DeepInspectionStatus>( |
| 40 | "AWS.Inspector2.BatchGetMemberEc2DeepInspectionStatus", |
| 41 | ); |