Skip to content

GetSavingsPlanPurchaseRecommendationDetails

Source: src/AWS/CostExplorer/GetSavingsPlanPurchaseRecommendationDetails.ts

Runtime binding for ce:GetSavingsPlanPurchaseRecommendationDetails.

Retrieve the hourly data points behind one Savings Plans recommendation — the cost, coverage, and utilization charts. Provide the implementation with Effect.provide(AWS.CostExplorer.GetSavingsPlanPurchaseRecommendationDetailsHttp).

// init — account-level binding takes no resource
const getSavingsPlanPurchaseRecommendationDetails = yield* AWS.CostExplorer.GetSavingsPlanPurchaseRecommendationDetails();
// runtime
const result = yield* getSavingsPlanPurchaseRecommendationDetails({
RecommendationDetailId: detailId,
});