@Override
    public ListProfilingGroupsResult listProfilingGroups(ListProfilingGroupsRequest request) {
        request = beforeClientExecution(request);
        return executeListProfilingGroups(request);
    }
<p>
Returns a list of profiling groups. The profiling groups are returned as <a
href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
<code>ProfilingGroupDescription</code> </a> objects.
</p>

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