AWS SDK for .NET Documentation
UpdateEnvironment Method (request)
Amazon ► Amazon.ElasticBeanstalk ► AmazonElasticBeanstalkClient ► UpdateEnvironment(UpdateEnvironmentRequest)
Did this page help you? Yes No Tell us about it...
Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.

Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an

CopyC#

    InvalidParameterCombination

error.

When updating the configuration settings to a new template or individual settings, a draft configuration is created and DescribeConfigurationSettings for this environment returns two setting descriptions with different

CopyC#

    DeploymentStatus

values.
Declaration Syntax

C#

    public UpdateEnvironmentResponse UpdateEnvironment(
    	UpdateEnvironmentRequest request
    )

Parameters

request (UpdateEnvironmentRequest)
  Container for the necessary parameters to execute the UpdateEnvironment service method.

Return Value
The response from the UpdateEnvironment service method, as returned by ElasticBeanstalk.
Exceptions

Exception | Condition
--- | ---
InsufficientPrivilegesException | Unable to perform the specified operation because the user does not have enough privileges for one of more downstream aws services

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)