ListInsights
Source:
src/AWS/EKS/ListInsights.ts
Runtime binding for eks:ListInsights.
Enumerates EKS upgrade/configuration insights for the bound cluster — findings that block or degrade a Kubernetes version upgrade.
The cluster clusterName is injected from the bound Cluster and eks:ListInsights is granted on the cluster’s ARN.
Provide the implementation with
Effect.provide(AWS.EKS.ListInsightsHttp).
Cluster Insights
Section titled “Cluster Insights”// initconst listInsights = yield* AWS.EKS.ListInsights(cluster);
// runtimeconst { insights } = yield* listInsights({ filter: { statuses: ["ERROR", "WARNING"] },});