code: @Override
      public ListAgentsResult listAgents(ListAgentsRequest request) {
          request = beforeClientExecution(request);
          return executeListAgents(request);
      }
docs: <p>
  Returns a list of agents owned by an AWS account in the AWS Region specified in the request. The returned list is
  ordered by agent Amazon Resource Name (ARN).
  </p>
  <p>
  By default, this operation returns a maximum of 100 agents. This operation supports pagination that enables you
  to optionally reduce the number of agents returned in a response.
  </p>
  <p>
  If you have more agents than are returned in a response (that is, the response returns only a truncated list of
  your agents), the response contains a marker that you can specify in your next request to fetch the next page of
  agents.
  </p>
  
  @param listAgentsRequest
  ListAgentsRequest
  @return Result of the ListAgents operation returned by the service.
  @throws InvalidRequestException
  This exception is thrown when the client submits a malformed request.
  @sample AWSDataSync.ListAgents
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListAgents" target="_top">AWS API
  Documentation</a>