Skip to content

ListSavingsPlansPurchaseRecommendationGeneration

Source: src/AWS/CostExplorer/ListSavingsPlansPurchaseRecommendationGeneration.ts

Runtime binding for ce:ListSavingsPlansPurchaseRecommendationGeneration.

List your Savings Plans recommendation generations from the past 30 days with their status. Provide the implementation with Effect.provide(AWS.CostExplorer.ListSavingsPlansPurchaseRecommendationGenerationHttp).

// init — account-level binding takes no resource
const listSavingsPlansPurchaseRecommendationGeneration = yield* AWS.CostExplorer.ListSavingsPlansPurchaseRecommendationGeneration();
// runtime
const result = yield* listSavingsPlansPurchaseRecommendationGeneration();
const generations = result.GenerationSummaryList;