| 1 | import type * as auditmanager from "@distilled.cloud/aws/auditmanager"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `auditmanager:ListControlDomainInsights`. |
| 7 | * |
| 8 | * Lists the latest analytics data for control domains across all |
| 9 | * active assessments. Provide the |
| 10 | * implementation with `Effect.provide(AWS.AuditManager.ListControlDomainInsightsHttp)`. |
| 11 | * ### Insights |
| 12 | * **Example:** Control-Domain Insights Across Assessments |
| 13 | * ```typescript |
| 14 | * const listControlDomainInsights = yield* AWS.AuditManager.ListControlDomainInsights(); |
| 15 | * const result = yield* listControlDomainInsights({ maxResults: 20 }); |
| 16 | * ``` |
| 17 | * |
| 18 | * @binding |
| 19 | */ |
| 20 | export interface ListControlDomainInsights extends Binding.Service< |
| 21 | ListControlDomainInsights, |
| 22 | "AWS.AuditManager.ListControlDomainInsights", |
| 23 | () => Effect.Effect< |
| 24 | ( |
| 25 | request?: auditmanager.ListControlDomainInsightsRequest, |
| 26 | ) => Effect.Effect< |
| 27 | auditmanager.ListControlDomainInsightsResponse, |
| 28 | auditmanager.ListControlDomainInsightsError |
| 29 | > |
| 30 | > |
| 31 | > {} |
| 32 | |
| 33 | export const ListControlDomainInsights = |
| 34 | Binding.Service<ListControlDomainInsights>( |
| 35 | "AWS.AuditManager.ListControlDomainInsights", |
| 36 | ); |