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.

Updates the specified application version to have the specified properties.

If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

Note:

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

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

Syntax

C#
public abstract UpdateApplicationVersionResponse UpdateApplicationVersion(
         UpdateApplicationVersionRequest request
)

Parameters

request
Type: Amazon.ElasticBeanstalk.Model.UpdateApplicationVersionRequest

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

Return Value


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

Examples

The following operation updates the description of an application version named 22a0-stage-150819_185942:

To change an application version's description


var client = new AmazonElasticBeanstalkClient();
var response = client.UpdateApplicationVersion(new UpdateApplicationVersionRequest 
{
    ApplicationName = "my-app",
    Description = "new description",
    VersionLabel = "22a0-stage-150819_185942"
});

ApplicationVersionDescription applicationVersion = response.ApplicationVersion;

            

Version Information

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

See Also