code: @Override
      public ListCollectionsResult listCollections(ListCollectionsRequest request) {
          request = beforeClientExecution(request);
          return executeListCollections(request);
      }
docs: <p>
  Returns list of collection IDs in your account. If the result is truncated, the response also provides a
  <code>NextToken</code> that you can use in the subsequent request to fetch the next set of collection IDs.
  </p>
  <p>
  For an example, see Listing Collections in the Amazon Rekognition Developer Guide.
  </p>
  <p>
  This operation requires permissions to perform the <code>rekognition:ListCollections</code> action.
  </p>
  
  @param listCollectionsRequest
  @return Result of the ListCollections operation returned by the service.
  @throws InvalidParameterException
  Input parameter violated a constraint. Validate your parameter before calling the API operation again.
  @throws AccessDeniedException
  You are not authorized to perform the action.
  @throws InternalServerErrorException
  Amazon Rekognition experienced a service issue. Try your call again.
  @throws ThrottlingException
  Amazon Rekognition is temporarily unable to process the request. Try your call again.
  @throws ProvisionedThroughputExceededException
  The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon
  Rekognition.
  @throws InvalidPaginationTokenException
  Pagination token in the request is not valid.
  @throws ResourceNotFoundException
  The collection specified in the request cannot be found.
  @sample AmazonRekognition.ListCollections