code: @Override
      public GetBotVersionsResult getBotVersions(GetBotVersionsRequest request) {
          request = beforeClientExecution(request);
          return executeGetBotVersions(request);
      }
docs: <p>
  Gets information about all of the versions of a bot.
  </p>
  <p>
  The <code>GetBotVersions</code> operation returns a <code>BotMetadata</code> object for each version of a bot.
  For example, if a bot has three numbered versions, the <code>GetBotVersions</code> operation returns four
  <code>BotMetadata</code> objects in the response, one for each numbered version and one for the
  <code>$LATEST</code> version.
  </p>
  <p>
  The <code>GetBotVersions</code> operation always returns at least one version, the <code>$LATEST</code> version.
  </p>
  <p>
  This operation requires permissions for the <code>lex:GetBotVersions</code> action.
  </p>
  
  @param getBotVersionsRequest
  @return Result of the GetBotVersions 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.GetBotVersions
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions" target="_top">AWS API
  Documentation</a>