Skip to content

ProvideAnomalyFeedback

Source: src/AWS/CostExplorer/ProvideAnomalyFeedback.ts

Runtime binding for ce:ProvideAnomalyFeedback.

Record feedback on a detected anomaly (YES / NO / PLANNED_ACTIVITY), improving future detection. Anomalies are addressed by id; per the ce service authorization reference the action supports no resource types, so this is an account-level binding. Provide the implementation with Effect.provide(AWS.CostExplorer.ProvideAnomalyFeedbackHttp).

// init — account-level binding takes no resource
const provideAnomalyFeedback = yield* AWS.CostExplorer.ProvideAnomalyFeedback();
// runtime
yield* provideAnomalyFeedback({
AnomalyId: anomalyId,
Feedback: "PLANNED_ACTIVITY",
});