getRecommendation
inline suspend fun CostOptimizationHubClient.getRecommendation(crossinline block: GetRecommendationRequest.Builder.() -> Unit): GetRecommendationResponse
Returns both the current and recommended resource configuration and the estimated cost impact for a recommendation.
The recommendationId
is only valid for up to a maximum of 24 hours as recommendations are refreshed daily. To retrieve the recommendationId
, use the ListRecommendations
API.