code: @Override
      public UpdateAgentResult updateAgent(UpdateAgentRequest request) {
          request = beforeClientExecution(request);
          return executeUpdateAgent(request);
      }
docs: <p>
  Updates the name of an agent.
  </p>
  
  @param updateAgentRequest
  UpdateAgentRequest
  @return Result of the UpdateAgent operation returned by the service.
  @throws InvalidRequestException
  This exception is thrown when the client submits a malformed request.
  @sample AWSDataSync.UpdateAgent
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateAgent" target="_top">AWS API
  Documentation</a>