code: @Override
      public DeleteApplicationVersionResult deleteApplicationVersion(DeleteApplicationVersionRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteApplicationVersion(request);
      }
docs: <p>
  Deletes the specified version from the specified application.
  </p>
  <note>
  <p>
  You cannot delete an application version that is associated with a running environment.
  </p>
  </note>
  
  @param deleteApplicationVersionRequest
  Request to delete an application version.
  @return Result of the DeleteApplicationVersion operation returned by the service.
  @throws SourceBundleDeletionException
  Unable to delete the Amazon S3 source bundle associated with the application version. The application
  version was deleted successfully.
  @throws InsufficientPrivilegesException
  The specified account does not have sufficient privileges for one or more AWS services.
  @throws OperationInProgressException
  Unable to perform the specified operation because another operation that effects an element in this
  activity is already in progress.
  @throws S3LocationNotInServiceRegionException
  The specified S3 bucket does not belong to the S3 region in which the service is running. The following
  regions are supported:</p>
  <ul>
  <li>
  <p>
  IAD/us-east-1
  </p>
  </li>
  <li>
  <p>
  PDX/us-west-2
  </p>
  </li>
  <li>
  <p>
  DUB/eu-west-1
  </p>
  </li>
  @sample AWSElasticBeanstalk.DeleteApplicationVersion
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion"
  target="_top">AWS API Documentation</a>