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 UpdateApplication operation. Updates the specified application to have the specified properties.

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

Inheritance Hierarchy

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

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

Syntax

C#
public class UpdateApplicationRequest : AmazonElasticBeanstalkRequest
         IAmazonWebServiceRequest

The UpdateApplicationRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateApplicationRequest()

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

Public Method UpdateApplicationRequest(string)

Instantiates UpdateApplicationRequest with the parameterized properties

Properties

NameTypeDescription
Public Property ApplicationName System.String

Gets and sets the property ApplicationName.

The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

Public Property Description System.String

Gets and sets the property Description.

A new description for the application.

Default: If not specified, AWS Elastic Beanstalk does not update the description.

Examples

The following operation updates the description of an application named my-app:

To change an application's description


var client = new AmazonElasticBeanstalkClient();
var response = client.UpdateApplication(new UpdateApplicationRequest 
{
    ApplicationName = "my-app",
    Description = "my Elastic Beanstalk application"
});

ApplicationDescription application = response.Application;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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