GetRightsizingRecommendation
Source:
src/AWS/CostExplorer/GetRightsizingRecommendation.ts
Runtime binding for ce:GetRightsizingRecommendation.
Get recommendations for idle and underutilized EC2 instances —
terminate or downsize suggestions with estimated savings. Provide the implementation with
Effect.provide(AWS.CostExplorer.GetRightsizingRecommendationHttp).
Rightsizing
Section titled “Rightsizing”// init — account-level binding takes no resourceconst getRightsizingRecommendation = yield* AWS.CostExplorer.GetRightsizingRecommendation();
// runtimeconst result = yield* getRightsizingRecommendation({ Service: "AmazonEC2",});const recommendations = result.RightsizingRecommendations;