code: @Override
      public ListEndpointGroupsResult listEndpointGroups(ListEndpointGroupsRequest request) {
          request = beforeClientExecution(request);
          return executeListEndpointGroups(request);
      }
docs: <p>
  List the endpoint groups that are associated with a listener.
  </p>
  
  @param listEndpointGroupsRequest
  @return Result of the ListEndpointGroups operation returned by the service.
  @throws ListenerNotFoundException
  The listener that you specified doesn't exist.
  @throws InvalidNextTokenException
  There isn't another item to return.
  @throws InvalidArgumentException
  An argument that you specified is invalid.
  @throws InternalServiceErrorException
  There was an internal error for AWS Global Accelerator.
  @sample AWSGlobalAccelerator.ListEndpointGroups
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups"
  target="_top">AWS API Documentation</a>