code: @Override
      public DetectDominantLanguageResult detectDominantLanguage(DetectDominantLanguageRequest request) {
          request = beforeClientExecution(request);
          return executeDetectDominantLanguage(request);
      }
docs: <p>
  Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect,
  see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/how-languages.html">Amazon Comprehend Supported
  Languages</a>.
  </p>
  
  @param detectDominantLanguageRequest
  @return Result of the DetectDominantLanguage operation returned by the service.
  @throws InvalidRequestException
  The request is invalid.
  @throws TextSizeLimitExceededException
  The size of the input text exceeds the limit. Use a smaller document.
  @throws InternalServerException
  An internal server error occurred. Retry your request.
  @sample AmazonComprehend.DetectDominantLanguage
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectDominantLanguage"
  target="_top">AWS API Documentation</a>