GetAnomalies
Source:
src/AWS/CostExplorer/GetAnomalies.ts
Runtime binding for ce:GetAnomalies.
Retrieve the cost anomalies a monitor detected during a date
interval (available for up to 90 days). Provide the implementation with
Effect.provide(AWS.CostExplorer.GetAnomaliesHttp).
Anomaly Detection at Runtime
Section titled “Anomaly Detection at Runtime”// init — bind the operation to the monitorconst getAnomalies = yield* AWS.CostExplorer.GetAnomalies(monitor);
// runtimeconst result = yield* getAnomalies({ DateInterval: { StartDate: "2026-06-01" },});const anomalies = result.Anomalies;