update_environment(**kwargs)¶Updates the configuration details for a specific runtime environment.
See also: AWS API Documentation
Request Syntax
response = client.update_environment(
applyDuringMaintenanceWindow=True|False,
desiredCapacity=123,
engineVersion='string',
environmentId='string',
instanceType='string',
preferredMaintenanceWindow='string'
)
engineVersion parameter only if applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is provided in UpdateEnvironmentRequest , it will fail if applyDuringMaintenanceWindow is set to true.[REQUIRED]
The unique identifier of the runtime environment that you want to update.
dict
Response Syntax
{
'environmentId': 'string'
}
Response Structure
(dict) --
environmentId (string) --
The unique identifier of the runtime environment that was updated.
Exceptions
MainframeModernization.Client.exceptions.ValidationExceptionMainframeModernization.Client.exceptions.ServiceQuotaExceededExceptionMainframeModernization.Client.exceptions.ConflictExceptionMainframeModernization.Client.exceptions.InternalServerExceptionMainframeModernization.Client.exceptions.AccessDeniedExceptionMainframeModernization.Client.exceptions.ThrottlingExceptionMainframeModernization.Client.exceptions.ResourceNotFoundException