@Override
    public UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) {
        HttpResponseHandler<UpdateEnvironmentResult> responseHandler = protocolFactory.createResponseHandler(new JsonOperationMetadata().withPayloadJson(true)
                .withHasStreamingSuccessResponse(false), new UpdateEnvironmentResultJsonUnmarshaller());

        HttpResponseHandler<SdkBaseException> errorResponseHandler = createErrorResponseHandler();

        return clientHandler.execute(new ClientExecutionParams<UpdateEnvironmentRequest, UpdateEnvironmentResult>()
                .withMarshaller(new UpdateEnvironmentRequestProtocolMarshaller(protocolFactory)).withResponseHandler(responseHandler)
                .withErrorResponseHandler(errorResponseHandler).withInput(updateEnvironmentRequest));
    }
@param updateEnvironmentRequest
@return Result of the updateEnvironment operation returned by the service.
@sample Blox.updateEnvironment
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ecs-blox-v2017-07-11/updateEnvironment" target="_top">AWS
     API Documentation</a>
frontend-service-client/src/main/java/com/amazonaws/blox/BloxClient.java