AWS SDK for .NET Documentation
DeleteApplicationVersion Method (request)
AmazonAmazon.ElasticBeanstalkAmazonElasticBeanstalkClientDeleteApplicationVersion(DeleteApplicationVersionRequest) Did this page help you?   Yes   No    Tell us about it...
Deletes the specified version from the specified application.
Note:
You cannot delete an application version that is associated with a running environment.
Declaration Syntax
C#
public DeleteApplicationVersionResponse DeleteApplicationVersion(
	DeleteApplicationVersionRequest request
)
Parameters
request (DeleteApplicationVersionRequest)
Container for the necessary parameters to execute the DeleteApplicationVersion service method.
Return Value
The response from the DeleteApplicationVersion service method, as returned by ElasticBeanstalk.
Exceptions
ExceptionCondition
InsufficientPrivilegesException Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services
OperationInProgressException Unable to perform the specified operation because another operation is already in progress affecting an an element in this activity.
S3LocationNotInServiceRegionException The specified S3 bucket does not belong to the S3 region in which the service is running.
SourceBundleDeletionException Unable to delete the Amazon S3 source bundle associated with the application version, although the application version deleted successfully.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)