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.
Namespace: Amazon.ElasticBeanstalk.Model
Assembly: AWSSDK.ElasticBeanstalk.dll
Version: 3.x.y.z
public class UpdateApplicationVersionRequest : AmazonElasticBeanstalkRequest IAmazonWebServiceRequest
The UpdateApplicationVersionRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateApplicationVersionRequest() |
Empty constructor used to set properties independently even when a simple constructor is available |
|
UpdateApplicationVersionRequest(string, string) |
Instantiates UpdateApplicationVersionRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
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, |
|
Description | System.String |
Gets and sets the property Description. A new description for this version. |
|
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, |
The following operation updates the description of an application version named 22a0-stage-150819_185942:
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;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5