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.

Retrieve a list of application versions.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeApplicationVersionsAsync.

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

Syntax

C#
public abstract DescribeApplicationVersionsResponse DescribeApplicationVersions(
         DescribeApplicationVersionsRequest request
)

Parameters

request
Type: Amazon.ElasticBeanstalk.Model.DescribeApplicationVersionsRequest

Container for the necessary parameters to execute the DescribeApplicationVersions service method.

Return Value


The response from the DescribeApplicationVersions service method, as returned by ElasticBeanstalk.

Examples

The following operation retrieves information about an application version labeled v2:

To view information about an application version


var client = new AmazonElasticBeanstalkClient();
var response = client.DescribeApplicationVersions(new DescribeApplicationVersionsRequest 
{
    ApplicationName = "my-app",
    VersionLabels = new List<string> {
        "v2"
    }
});

List<ApplicationVersionDescription> applicationVersions = response.ApplicationVersions;

            

Version Information

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

See Also