code: @Override
      public GetIntentVersionsResult getIntentVersions(GetIntentVersionsRequest request) {
          request = beforeClientExecution(request);
          return executeGetIntentVersions(request);
      }
docs: <p>
  Gets information about all of the versions of an intent.
  </p>
  <p>
  The <code>GetIntentVersions</code> operation returns an <code>IntentMetadata</code> object for each version of an
  intent. For example, if an intent has three numbered versions, the <code>GetIntentVersions</code> operation
  returns four <code>IntentMetadata</code> objects in the response, one for each numbered version and one for the
  <code>$LATEST</code> version.
  </p>
  <p>
  The <code>GetIntentVersions</code> operation always returns at least one version, the <code>$LATEST</code>
  version.
  </p>
  <p>
  This operation requires permissions for the <code>lex:GetIntentVersions</code> action.
  </p>
  
  @param getIntentVersionsRequest
  @return Result of the GetIntentVersions operation returned by the service.
  @throws NotFoundException
  The resource specified in the request was not found. Check the resource and try again.
  @throws LimitExceededException
  The request exceeded a limit. Try your request again.
  @throws InternalFailureException
  An internal Amazon Lex error occurred. Try your request again.
  @throws BadRequestException
  The request is not well formed. For example, a value is invalid or a required field is missing. Check the
  field values, and try again.
  @sample AmazonLexModelBuilding.GetIntentVersions
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions" target="_top">AWS
  API Documentation</a>