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

Note:

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

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

Syntax

C#
public abstract UpdateApplicationResponse UpdateApplication(
         UpdateApplicationRequest request
)

Parameters

request
Type: Amazon.ElasticBeanstalk.Model.UpdateApplicationRequest

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

Return Value


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

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 Framework:
Supported in: 4.5, 4.0, 3.5

See Also