@Override
    public UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateEnvironment(request);
    }
<p>
Updates an environment.
</p>

@param updateEnvironmentRequest
@return Result of the UpdateEnvironment operation returned by the service.
@throws ValidationException
        The input fails to satisfy the specified constraints.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws ResourceNotFoundException
        The resource specified in the request was not found.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws InternalServerException
        The server encountered an internal error and is unable to complete the request.
@sample AmazonWorkSpacesThinClient.UpdateEnvironment
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/workspaces-thin-client-2023-08-22/UpdateEnvironment"
     target="_top">AWS API Documentation</a>
aws-java-sdk-workspacesthinclient/src/main/java/com/amazonaws/services/workspacesthinclient/AmazonWorkSpacesThinClientClient.java