@Override
    public ConfigureAgentResult configureAgent(ConfigureAgentRequest request) {
        request = beforeClientExecution(request);
        return executeConfigureAgent(request);
    }
<p>
Used by profiler agents to report their current state and to receive remote configuration updates. For example,
<code>ConfigureAgent</code> can be used to tell an agent whether to profile or not and for how long to return
profiling data.
</p>

@param configureAgentRequest
       The structure representing the configureAgentRequest.
@return Result of the ConfigureAgent 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.ConfigureAgent
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgent"
     target="_top">AWS API Documentation</a>
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/AmazonCodeGuruProfilerClient.java