AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteApplicationVersion operation. Deletes the specified version from the specified application.

You cannot delete an application version that is associated with a running environment.

Inheritance Hierarchy


Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z


public class DeleteApplicationVersionRequest : AmazonElasticBeanstalkRequest

The DeleteApplicationVersionRequest type exposes the following members


Public Method DeleteApplicationVersionRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method DeleteApplicationVersionRequest(string, string)

Instantiates DeleteApplicationVersionRequest with the parameterized properties


Public Property ApplicationName System.String

Gets and sets the property ApplicationName.

The name of the application to which the version belongs.

Public Property DeleteSourceBundle System.Boolean

Gets and sets the property DeleteSourceBundle.

Set to true to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.

Public Property VersionLabel System.String

Gets and sets the property VersionLabel.

The label of the version to delete.


The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:

To delete an application version

var response = client.DeleteApplicationVersion(new DeleteApplicationVersionRequest 
    ApplicationName = "my-app",
    DeleteSourceBundle = true,
    VersionLabel = "22a0-stage-150819_182129"


Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms