Smaws_Client_ElasticBeanstalk.UpdateEnvironmentUpdates 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 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 DeploymentStatus values.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InsufficientPrivilegesException of Types.insufficient_privileges_exception
| `TooManyBucketsException of Types.too_many_buckets_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_environment_message ->
(Types.environment_description,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InsufficientPrivilegesException of
Types.insufficient_privileges_exception
| `TooManyBucketsException of Types.too_many_buckets_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_environment_message ->
(Types.environment_description Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InsufficientPrivilegesException of
Types.insufficient_privileges_exception
| `TooManyBucketsException of Types.too_many_buckets_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result