Skip to content

GetReservationPurchaseRecommendation

Source: src/AWS/CostExplorer/GetReservationPurchaseRecommendation.ts

Runtime binding for ce:GetReservationPurchaseRecommendation.

Get reserved-instance purchase recommendations for a service based on your historical usage. Provide the implementation with Effect.provide(AWS.CostExplorer.GetReservationPurchaseRecommendationHttp).

// init — account-level binding takes no resource
const getReservationPurchaseRecommendation = yield* AWS.CostExplorer.GetReservationPurchaseRecommendation();
// runtime
const result = yield* getReservationPurchaseRecommendation({
Service: "Amazon Elastic Compute Cloud - Compute",
});
const recommendations = result.Recommendations;