@Override
    public GetRecommendationsResult getRecommendations(GetRecommendationsRequest request) {
        request = beforeClientExecution(request);
        return executeGetRecommendations(request);
    }
<p>
Returns a list of <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html">
<code>Recommendation</code> </a> objects that contain recommendations for a profiling group for a given time
period. A list of <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html">
<code>Anomaly</code> </a> objects that contains details about anomalies detected in the profiling group for the
same time period is also returned.
</p>

@param getRecommendationsRequest
       The structure representing the GetRecommendationsRequest.
@return Result of the GetRecommendations operation returned by the service.
@throws InternalServerException
        The server encountered an internal error and is unable to complete the request.
@throws ValidationException
        The parameter is not valid.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws ResourceNotFoundException
        The resource specified in the request does not exist.
@sample AmazonCodeGuruProfiler.GetRecommendations
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetRecommendations"
     target="_top">AWS API Documentation</a>
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/AmazonCodeGuruProfilerClient.java