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 UpdateApplicationVersion operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticBeanstalk.AmazonElasticBeanstalkRequest
      Amazon.ElasticBeanstalk.Model.UpdateApplicationVersionRequest

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

Syntax

C#
public class UpdateApplicationVersionRequest : AmazonElasticBeanstalkRequest
         IAmazonWebServiceRequest

The UpdateApplicationVersionRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateApplicationVersionRequest()

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

Public Method UpdateApplicationVersionRequest(string, string)

Instantiates UpdateApplicationVersionRequest with the parameterized properties

Properties

NameTypeDescription
Public Property ApplicationName System.String

Gets and sets the property ApplicationName.

The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

Public Property Description System.String

Gets and sets the property Description.

A new description for this version.

Public Property VersionLabel System.String

Gets and sets the property VersionLabel.

The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

Examples

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

To change an application version's description


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

ApplicationVersionDescription applicationVersion = response.ApplicationVersion;

            

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